I was trying to upgrade ghostscript-gpl-nox11 to the last version (8.60) but the build fails with this error: -------------------------------------------------------------------------------- ./obj/gdevvglb.o(.text+0x9d0): In function `gs_shared_init': : multiple definition of `gs_shared_init' ./obj/gdevl256.o(.text+0x750): first defined here gmake: *** [bin/gs] Error 1 *** Error code 2 Stop in /usr/ports/print/ghostscript-gpl-nox11. -------------------------------------------------------------------------------- So I've tried with ghostscript-gpl, obtaining this error: --------------------------------------------------------------------------------./obj/gdevl256.o(.text+0x750): In function `gs_shared_init': : multiple definition of `gs_shared_init' ./obj/gdevxalt.o(.text+0x17a0): first defined here /usr/bin/ld: Warning: size of symbol `gs_shared_init' changed from 150 in ./obj/gdevxalt.o to 38 in ./obj/gdevl256.o ./obj/gdevvglb.o(.text+0x9d0): In function `gs_shared_init': : multiple definition of `gs_shared_init' ./obj/gdevxalt.o(.text+0x17a0): first defined here gmake: *** [bin/gs] Error 1 *** Error code 2 Stop in /usr/ports/print/ghostscript-gpl. -------------------------------------------------------------------------------- So I figured out that the problem could be the use of WITH_SVGALIB=1 (I have it in pkgtools.conf and it worked for the previous versions). In fact I had it built avoiding the usage of that flag. Finally, looking at files/patch-src__devs.mak, I figured out that the problem could be in the selection of both these drivers from the configuration dialog: - lvga256 SVGAlib, 256-color VGA modes - vgalib SVGAlib, 16-color VGA modes In fact, selecting only the first, ended with a successfully build. Unfortunately they are both selected by default using make configure WITH_SVGALIB=1, anyway it was used to be ok for the previous versions. How-To-Repeat: $ cd /usr/ports/print/ghostscript-gpl $ make WITH_SVGALIB=1 note the both lvga256 and vgalib are selected and proceed with the build
Responsible Changed From-To: freebsd-ports-bugs->rafan I'll take it.
rafan 2007-08-17 16:33:10 UTC FreeBSD ports repository Modified files: print/ghostscript-gpl/files patch-src:unix-gcc.mak Log: - Disable GS_DEVS_SHARED to fix svga drivers build PR: ports/115593 Reported by: Barbara <barbara.xxx1975 at libero.it> Patched by: KATO Tsuguru <tkato432 at yahoo.com> Revision Changes Path 1.13 +1 -1 ports/print/ghostscript-gpl/files/patch-src:unix-gcc.mak _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fix committed. Thanks.