From owner-freebsd-ports@FreeBSD.ORG Wed May 7 08:05:21 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A366106567A for ; Wed, 7 May 2008 08:05:21 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id CBB598FC28 for ; Wed, 7 May 2008 08:05:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0H006VUNSVIUE1@mta5.srv.hcvlny.cv.net> for freebsd-ports@freebsd.org; Wed, 07 May 2008 04:05:20 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m4785Jlu075428; Wed, 07 May 2008 04:05:19 -0400 Date: Wed, 07 May 2008 04:05:14 -0400 From: "Aryeh M. Friedman" In-reply-to: To: Garrett Cooper Message-id: <482162BA.30400@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <48215E7E.90505@gmail.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080504) Cc: freebsd-ports@freebsd.org Subject: Re: problems building the latest ghostscript-gpl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 08:05:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garrett Cooper wrote: | On May 7, 2008, at 12:47 AM, Aryeh M. Friedman wrote: | | Using the default options I get the following when attempting to rebuild the latest version of print/ghostscript-gpl on 8-CURRENT (AMD64): | | cc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2 -pipe -march=nocona -fno-strict-aliasing -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe -march=nocona -fno-strict-aliasing -I./obj/../soobj -I./src -o ./obj/../soobj/gsromfs0.o -c ./src/gsromfs0.c | ./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -L/usr/local/lib -L/usr/local/lib -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62 | ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs0.o ./obj/../soobj/gs.o -s | cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr | ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -lm -liconv -lstdc++ -L/usr/local/lib -lfontconfig -Wl,-export-dynamic -lm | if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ | ~ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ | ~ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ | ~ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ | ~ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ | ~ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ | ~ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ | ~ DEVICE_DEVS_EXTRA= \ | ~ /bin/sh <./obj/../soobj/ldt.tr | /usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC | ./obj/../soobj/gs.o: could not read symbols: Bad value | gmake[1]: *** [bin/../sobin/libgs.so.8.62] Error 1 | gmake[1]: Leaving directory `/usr/ports/print/ghostscript-gpl/work/ghostscript-8.62' | gmake: *** [so] Error 2 | *** Error code 2 | | Stop in /usr/ports/print/ghostscript-gpl. | *** Error code 1 | | Stop in /usr/ports/print/ghostscript-gpl. | | Aryeh, | What are your CFLAGS? If you mean the ones from /etc/make.conf: CPUTYPE?=nocona KERNCONF=MONSTER NO_LPR=true NO_PROFILE=true NO_CLEAN=true # added by use.perl 2008-04-25 20:07:30 PERL_VER=5.8.8 PERL_VERSION=5.8.8 | -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkghYroACgkQk8GFzCrQm4A5PgCeKY4fY1wBdq1S2FoZSHO5wF5D GBgAoNbNzADeG5e9QGhw3z6opyUGQYYI =y2HR -----END PGP SIGNATURE-----