Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 00:05:08 +0200
From:      Philipp Ost <pj@smo.de>
To:        Scott Bennett <bennett@cs.niu.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: updating to ghostscript8-8.64_2 fails
Message-ID:  <4A6CD314.8070501@smo.de>
In-Reply-To: <200907261936.n6QJabpZ000012@mp.cs.niu.edu>
References:  <200907261936.n6QJabpZ000012@mp.cs.niu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Bennett wrote:
>      I'm running 7-STABLE updated to several hours ago:
> 
> FreeBSD hellas 7.2-STABLE FreeBSD 7.2-STABLE #26: Sun Jul 26 02:48:17 CDT 2009     bennett@hellas:/usr/src/sys/i386/compile/hellas  i386
> 
>      I also ran portsnap again to get the latest updates before attempting to
> rebuild all altered ports and packages among the ones I have installed.  Now,
> using portmaster again, I've run into a problem during the update to
> ghostscript.  It does a lot of compiling, but eventually quits at:
> 
> rm -f ./obj/../soobj/iconfig.c
> cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
> cp ./psi/iconf.c ./obj/../soobj/iconfig.c
> cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe -march=prescott -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/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 -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -fno-strict-aliasing -pipe -march=prescott -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.64\" -I./psi -I./obj/../soobj -I./obj/../soobj -I./base  -o ./obj/../soobj/iconfig.o -c ./obj/../soobj/iconfig.c
> cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe -march=prescott -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/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 -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O2 -fno-strict-aliasing -pipe -march=prescott -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.64\" -I./obj/../soobj -I./base  -o ./obj/../soobj/gsromfs0.o -c ./base/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.64
> ./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 -lpaper -lstdc++  -L/usr/local/lib -lfontconfig   -Wl,-export-dynamic -lpthread -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
> ./obj/../soobj/gdevl256.o(.text+0x73a): In function `gs_shared_init':
> : multiple definition of `gs_shared_init'
> ./obj/../soobj/gdevxalt.o(.text+0x1759): first defined here
> /usr/bin/ld: Warning: size of symbol `gs_shared_init' changed from 150 in ./obj/../soobj/gdevxalt.o to 38 in ./obj/../soobj/gdevl256.o
> ./obj/../soobj/gdevvglb.o(.text+0x995): In function `gs_shared_init':
> : multiple definition of `gs_shared_init'
> ./obj/../soobj/gdevxalt.o(.text+0x1759): first defined here
> gmake[1]: *** [bin/../sobin/libgs.so.8.64] Error 1
> gmake[1]: Leaving directory `/usr/ports/print/ghostscript8/work/ghostscript-8.64'
> gmake: *** [so] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/print/ghostscript8.
> 
> ===>>> make failed for print/ghostscript8
> ===>>> Aborting update
> 
> ===>>> Update for ghostscript8-8.64_2 failed
> ===>>> Aborting update
> 
> ===>>> Update for ImageMagick-6.5.3.10 failed
> ===>>> Aborting update
> 
> 327.866u 117.233s 7:03.32 105.1%	3261+927k 228+1673io 46pf+0w
> hellas# 
> 
>      Is there something I missed doing?  Or does this mean I should submit
> a problem report?
>      Thanks in advance for any clues.

This seems to be the same problem I have when trying to build 
ghostscript8-8.64_6. I sent a message to ports@ several days ago (22.07) 
but got no reply so far.

Regards,
Philipp



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