Ebuild no USE-flag for compil libtiff with Old JPEG Support (--enable-old-jpeg) If add this flag manual, compilation - fail. >>> Compiling source in /tmp/portage/media-libs/tiff-3.8.2-r6/work/tiff-3.8.2 ... * econf: updating tiff-3.8.2/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tiff-3.8.2/config/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/ var/lib --enable-cxx --enable-zlib --enable-jpeg --enable-old-jpeg --disable-jbig --with-pic --without-x --with-docdir=/usr/share/doc/tiff-3.8.2-r6 --build=i 686-pc-linux-gnu ... Libtiff is now configured for i686-pc-linux-gnu Installation directory: /usr Documentation directory: /usr/share/doc/tiff-3.8.2-r6 C compiler: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W C++ compiler: i686-pc-linux-gnu-g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: yes Old JPEG support: yes C++ support: yes OpenGL support: no ... if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -I../libtiff -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -MT tiffsplit.o -MD -MP -MF ".deps/tiffsplit.Tpo" -c -o tiffsplit.o tiffsplit.c; \ then mv -f ".deps/tiffsplit.Tpo" ".deps/tiffsplit.Po"; else rm -f ".deps/tiffsplit.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o bmp2tiff bmp2tiff.o ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o fax2ps fax2ps.o ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o fax2tiff fax2tiff.o ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o gif2tiff gif2tiff.o ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o pal2rgb pal2rgb.o ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc libtool: link: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o .libs/fax2tiff fax2tiff.o ../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc libtool: link: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o .libs/bmp2tiff bmp2tiff.o ../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc ../libtiff/.libs/libtiff.so: undefined reference to `jpeg_reset_huff_decode' collect2: ld returned 1 exit status make[1]: *** [fax2tiff] Error 1 make[1]: *** Waiting for unfinished jobs.... ../libtiff/.libs/libtiff.so: undefined reference to `jpeg_reset_huff_decode' collect2: ld returned 1 exit status make[1]: *** [bmp2tiff] Error 1 libtool: link: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o .libs/fax2ps fax2ps.o ../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc ../libtiff/.libs/libtiff.so: undefined reference to `jpeg_reset_huff_decode' collect2: ld returned 1 exit status make[1]: *** [fax2ps] Error 1 libtool: link: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o .libs/gif2tiff gif2tiff.o ../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc ../libtiff/.libs/libtiff.so: undefined reference to `jpeg_reset_huff_decode' collect2: ld returned 1 exit status make[1]: *** [gif2tiff] Error 1 libtool: link: i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wall -W -Wl,-O1 -o .libs/pal2rgb pal2rgb.o ../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc ../libtiff/.libs/libtiff.so: undefined reference to `jpeg_reset_huff_decode' collect2: ld returned 1 exit status make[1]: *** [pal2rgb] Error 1 make[1]: Leaving directory `/tmp/portage/media-libs/tiff-3.8.2-r6/work/tiff-3.8.2/tools' make: *** [all-recursive] Error 1 * * ERROR: media-libs/tiff-3.8.2-r6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2423: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/media-libs/tiff-3.8.2-r6/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-libs/tiff-3.8.2-r6/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/overlays/' ... HINT: I'm using app-forensics/foremost for unpack Jpeg files from TIFF (TIFF Directory)
Not a userrel bug.
And probably even invalid, as the docs state clearly: Compilation fails with unpatched IJG JPEG library. And I really can't see a reason maintainers should do it. Then again, I'm not one of the maintainers.
(In reply to comment #2) > And I really can't see a reason maintainers should do it. > Then again, I'm not one of the maintainers. Multipaged TIFF-files sometimes include files with old-jpeg compression... And not extract all pages from TIFF-file with app-forensics/foremost
I don't see a reason to enable --old-jpeg in the ebuild. but feel free to attach patches and then I may reconsider.