pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42639: jpeg-8 breaks at least graphics/{tiff,gd} on DragonFly



>Number:         42639
>Category:       pkg
>Synopsis:       jpeg-8 breaks at least graphics/{tiff,gd} on DragonFly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 18 20:15:00 +0000 2010
>Originator:     Rumko
>Release:        /
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.5.1-DEVELOPMENT DragonFly 
v2.5.1.612.gdb42c-DEVELOPMENT #68: Mon Jan 18 13:19:58 CET 2010     
root%rumko.rumko.net@localhost:/usr/obj/usr/src/sys/MYPRECIOUS  i386
>Description:
After the update of graphics/jpeg to jpeg-8, at least graphics{gd,tiff} are not 
compilable on DragonFly BSD anymore. They both exhibit the same behaviour 
(error msg at the end).
I was able to find a workaround, by waiting for the build to fail, changing 
"library_names='libtiff.so.3.9.2 libtiff.so.3 libtiff.so'" to 
"library_names='libtiff.so.3.9.2 libtiff.so.3 libtiff.a'" in 
WRKSRC/libtiff/libtiff.la and continuing the build. I believe that something 
must be wrong with the shared libraries created, but I failed in figuring out 
what exactly.

graphics/tiff:
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -I/usr/include 
-I/usr/pkg/include -no-undefined -version-number  3:9:2  -L/usr/lib 
-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libtiffxx.la -rpath 
/usr/pkg/lib tif_stream.lo ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz 
-lm -lc
libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc41/crtbeginS.o 
 .libs/tif_stream.o  -Wl,--whole-archive 
/usr/obj/pkgsrc/graphics/tiff/work/tiff-3.9.2/port/.libs/libport.a 
-Wl,--no-whole-archive  -Wl,-rpath 
-Wl,/usr/obj/pkgsrc/graphics/tiff/work/tiff-3.9.2/libtiff/.libs -Wl,-rpath 
-Wl,/usr/obj/pkgsrc/graphics/tiff/work/.buildlink/lib -Wl,-rpath 
-Wl,/usr/pkg/lib -Wl,-rpath 
-Wl,/usr/obj/pkgsrc/graphics/tiff/work/.buildlink/lib 
-L/usr/obj/pkgsrc/graphics/tiff/work/.buildlink/lib 
/usr/obj/pkgsrc/graphics/tiff/work/tiff-3.9.2/libtiff/.libs/libtiff.so 
/usr/obj/pkgsrc/graphics/tiff/work/.buildlink/lib/libjpeg.so -lz 
-L/usr/lib/gcc41 -lstdc++ -lm -lc -lgcc_pic /usr/lib/gcc41/crtendS.o 
/usr/lib/crtn.o  -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,libtiffxx.so.3 -o 
.libs/libtiffxx.so.3.9.2
/usr/libexec/binutils217/elf/ld: 
/usr/obj/pkgsrc/graphics/tiff/work/tiff-3.9.2/libtiff/.libs/libtiff.so: end: 
invalid version 32225 (max 0)
/usr/obj/pkgsrc/graphics/tiff/work/tiff-3.9.2/libtiff/.libs/libtiff.so: could 
not read symbols: Bad value
*** Error code 1


graphics/gd:
/bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pthread -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/freetype2   -L/usr/pkg/lib -Wl,-rpath 
-Wl,/usr/pkg/lib  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -o annotate  annotate.o ./libgd.la  
-ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lpthread -lrt
libtool: link: cc -O2 -pthread 
-I/usr/obj/pkgsrc/graphics/gd/work/.buildlink/include 
-I/usr/obj/pkgsrc/graphics/gd/work/.buildlink/include/freetype2 -Wl,-rpath 
-Wl,/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -o .libs/annotate annotate.o  
-L/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib 
/usr/obj/pkgsrc/graphics/gd/work/gd-2.0.35/.libs/libgd.so 
/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib/libjpeg.so 
/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib/libfontconfig.so 
/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib/libexpat.so 
/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib/libfreetype.so 
/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib/libpng12.so -lz -lm -lpthread 
-lrt -pthread -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath 
-Wl,/usr/obj/pkgsrc/graphics/gd/work/.buildlink/lib
/usr/libexec/binutils217/elf/ld: 
/usr/obj/pkgsrc/graphics/gd/work/gd-2.0.35/.libs/libgd.so: end: invalid version 
32225 (max 0)
/usr/obj/pkgsrc/graphics/gd/work/gd-2.0.35/.libs/libgd.so: could not read 
symbols: Bad value
*** Error code 1
>How-To-Repeat:
update graphics/jpeg and try to build graphics/{gd,tiff}
>Fix:



Home | Main Index | Thread Index | Old Index