Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 19:22:08 -0600 (CST)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        trevor@FreeBSD.org
Subject:   ports/75645: Fix errors in emulators/linux_base-8 for amd64
Message-ID:  <200412300122.iBU1M8sF087351@dolphin.local.net>
Resent-Message-ID: <200412300130.iBU1UIpB042462@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75645
>Category:       ports
>Synopsis:       Fix errors in emulators/linux_base-8 for amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 30 01:30:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
N/A
>Environment:
System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Dec 29 07:04:29 CST 2004 conrads@dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64


>Description:
	Build fails due to script-generated errors.  This same problem 
	existed with the earlier linux_base 7 port.
>How-To-Repeat:
	Try to install on amd64 without the following patch.  Scripts 
	included in rpms produce errors, cancelling the install. 
>Fix:
	Apply the following patch.

--- linux_base-8.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/linux_base-8/Makefile,v
retrieving revision 1.93
diff -u -d -H -r1.93 Makefile
--- Makefile	27 Dec 2004 21:47:56 -0000	1.93
+++ Makefile	30 Dec 2004 01:14:36 -0000
@@ -79,6 +79,10 @@
 RPM=			LC_ALL=C rpm
 RPMFLAGS=		--root ${WRKSRC} --dbpath ${DBPATH} --nodeps \
 			--replacepkgs --ignoreos --ignorearch
+.if ${ARCH} == "amd64"
+RPMFLAGS+=--noscripts
+.endif
+
 RPMDIR=			${DISTDIR}/${DIST_SUBDIR}
 
 REMOVE_DIRS=		boot dev home initrd root tmp var/tmp usr/local usr/tmp
--- linux_base-8.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412300122.iBU1M8sF087351>