Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 14:31:50 GMT
From:      Sangwoo Shim <sangwoos@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/87985: print/acroread7 need to resetting its ARCH to i386 in amd64 environment
Message-ID:  <200510251431.j9PEVoco068170@www.freebsd.org>
Resent-Message-ID: <200510251440.j9PEeFRC002088@freefall.freebsd.org>

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

>Number:         87985
>Category:       ports
>Synopsis:       print/acroread7 need to resetting its ARCH to i386 in amd64 environment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 25 14:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sangwoo Shim
>Release:        FreeBSD/amd64 7-CURRENT
>Organization:
Seoul Nat'l Univ.
>Environment:
FreeBSD ssw.dyndns.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Oct 22 01:06:15 KST 2005     root@ssw.dyndns.org:/usr/obj/usr/src/sys/SSW  amd64

>Description:
If I do 'make install' in ports/print/acroread7, it fails to install its
dependencies. When trying to install dependencies, (namely, linux-gtk) it seems that ARCH isn't resetted to i386. I couldn't figure out the exact origin of the problem. Anyway, following patch (might be not *the* solution) fixed the
problem.

>How-To-Repeat:
              
>Fix:
              
%%%
--- Makefile.orig       Tue Oct 25 23:21:23 2005
+++ Makefile    Tue Oct 25 23:23:11 2005
@@ -32,6 +32,13 @@
 SUB_FILES=     acroread7
 SUB_LIST+=     INSTDIR=${INSTDIR}

+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == "amd64")
+ARCH=          i386
+RPMFLAGS+=     --ignorearch
+.endif
+
 do-build:
        @kldstat -v | ${GREP} -E 'linux(aout|elf)' >/dev/null ||\
                { ${ECHO_MSG} "Linux ABI compatibility must be enabled to install ${PORTNAME}-${PORTVERSION}"; \
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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