Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 11:52:48 -0500
From:      Steve Randall <srandall52@sbcglobal.net>
To:        Scott Bennett <bennett@cs.niu.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: updating to ghostscript8-8.64_2 fails
Message-ID:  <20090728115248.101cd094@locust.local>
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
On Sun, 26 Jul 2009 14:36:37 -0500 (CDT)
Scott Bennett <bennett@cs.niu.edu> wrote:

>      I'm running 7-STABLE updated to several hours ago:
>=20
> 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
>=20
>      I also ran portsnap again to get the latest updates before attemptin=
g 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:
>=20
> 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-alias=
ing -pipe -march=3Dprescott -fPIC -DUPD_SIGNAL=3D0 -I. -I/usr/ports/print/g=
hostscript8/work/ghostscript-8.64/jasper/src/libjasper/include -I/usr/local=
/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wm=
issing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasi=
ng -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -=
DGX_COLOR_INDEX_TYPE=3D"unsigned long long" -O2 -fno-strict-aliasing -pipe =
-march=3Dprescott -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_D=
EVS_SHARED_DIR=3D\"/usr/local/lib/ghostscript/8.64\" -I./psi -I./obj/../soo=
bj -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-alias=
ing -pipe -march=3Dprescott -fPIC -DUPD_SIGNAL=3D0 -I. -I/usr/ports/print/g=
hostscript8/work/ghostscript-8.64/jasper/src/libjasper/include -I/usr/local=
/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wm=
issing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasi=
ng -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -=
DGX_COLOR_INDEX_TYPE=3D"unsigned long long" -O2 -fno-strict-aliasing -pipe =
-march=3Dprescott -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_D=
EVS_SHARED_DIR=3D\"/usr/local/lib/ghostscript/8.64\" -I./obj/../soobj -I./b=
ase  -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=3Dlibgs.so.8 -o ./bin/../sobin/libgs.so=
.8.64
> ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsrom=
fs0.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 !=3D x ]; then LD_RUN_PATH=3D; export LD_RUN_PATH; fi; \
> 	XCFLAGS=3D XINCLUDE=3D XLDFLAGS=3D XLIBDIRS=3D XLIBS=3D \
> 	FEATURE_DEVS=3D DEVICE_DEVS=3D DEVICE_DEVS1=3D DEVICE_DEVS2=3D DEVICE_DE=
VS3=3D \
> 	DEVICE_DEVS4=3D DEVICE_DEVS5=3D DEVICE_DEVS6=3D DEVICE_DEVS7=3D DEVICE_D=
EVS8=3D \
> 	DEVICE_DEVS9=3D DEVICE_DEVS10=3D DEVICE_DEVS11=3D DEVICE_DEVS12=3D \
> 	DEVICE_DEVS13=3D DEVICE_DEVS14=3D DEVICE_DEVS15=3D DEVICE_DEVS16=3D \
> 	DEVICE_DEVS17=3D DEVICE_DEVS18=3D DEVICE_DEVS19=3D DEVICE_DEVS20=3D \
> 	DEVICE_DEVS_EXTRA=3D \
> 	/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/ghostscri=
pt-8.64'
> gmake: *** [so] Error 2
> *** Error code 1
>=20
> Stop in /usr/ports/print/ghostscript8.
>=20
> =3D=3D=3D>>> make failed for print/ghostscript8
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for ghostscript8-8.64_2 failed
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for ImageMagick-6.5.3.10 failed
> =3D=3D=3D>>> Aborting update
>=20
> 327.866u 117.233s 7:03.32 105.1%	3261+927k 228+1673io 46pf+0w
> hellas#=20
>=20
>      Is there something I missed doing?  Or does this mean I should submit
> a problem report?

=46rom looking at the source I think you must have enabled both the X
drivers and 256-color SVGALIB. Try running

# make config

and deselect the one you don't want.

HTH



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