ports/123483: Building ghostscript-gpl fails with amd64

Yuan-Chung Hsiao ychsiao at ychsiao.org
Wed May 7 04:50:04 UTC 2008


>Number:         123483
>Category:       ports
>Synopsis:       Building ghostscript-gpl fails with amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 07 04:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Shu-Te University
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Opteron.stu.edu.tw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 29 15:41:15 CST 2008 root at Opteron.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD amd64

>Description:
Building ghostscript-gpl-nox11(8.62) fails with amd64

cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/gs.o -c ./src/gs.c
rm -f ./obj/../soobj/gconfig.c
rm -f ./obj/../soobj/gconfig.h
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./src/gconf.c ./obj/../soobj/gconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -I./obj/../soobj -I./src  -o ./obj/../soobj/gconfig.o -c ./obj/../soobj/gconfig.c
rm -f ./obj/../soobj/gscdefs.c
cp ./src/gscdef.c ./obj/../soobj/gscdefs.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -I./obj/../soobj -I./src  -o ./obj/../soobj/gscdefs.o -c ./obj/../soobj/gscdefs.c
rm -f ./obj/../soobj/iconfig.c
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./src/iconf.c ./obj/../soobj/iconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/iconfig.o -c ./obj/../soobj/iconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/iccinit0.o -c ./src/iccinit0.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/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 -fno-strict-aliasing -pipe   -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  -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-nox11/work/ghostscript-8.62'
gmake: *** [so] Error 2
*** Error code 2

Stop in /usr/ports/print/ghostscript-gpl-nox11.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
>How-To-Repeat:
>Fix:


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



More information about the freebsd-ports-bugs mailing list