Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197729

Summary: media-gfx/gimp-2.4.1 fails with USE"-jpeg"
Product: Gentoo Linux Reporter: Jukka Ruohonen <drear>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jukka Ruohonen 2007-11-01 07:47:09 UTC
I have been meaning to post this bug report for some time: recent versions of Gimp (2.4.0 and 2.4.1) fail without the 'jpeg' USE flag; an emerge with

[ebuild   R   ] media-gfx/gimp-2.4.1  USE="mmx mng png smp sse tiff -aalib -alsa (-altivec) -curl -dbus -debug -doc -gnome -gtkhtml -jpeg* -lcms -pdf -python -svg -wmf" 0 k

results

x86_64-pc-linux-gnu-gcc -march=athlon64 -msse3 -O2 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -o jpegqual jpeg-quality.o jpegqual.o -pthread  /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libglib-2.0.so
jpegqual.o: In function `analyze_file':
jpegqual.c:(.text+0x429): undefined reference to `jpeg_std_error'
jpegqual.c:(.text+0x468): undefined reference to `jpeg_CreateDecompress'
jpegqual.c:(.text+0x475): undefined reference to `jpeg_stdio_src'
jpegqual.c:(.text+0x482): undefined reference to `jpeg_read_header'
jpegqual.c:(.text+0x514): undefined reference to `jpeg_destroy_decompress'
jpegqual.c:(.text+0x52f): undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
make[3]: *** [jpegqual] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.1/work/gimp-2.4.1/plug-ins/jpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.1/work/gimp-2.4.1/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.1/work/gimp-2.4.1'
make: *** [all] Error 2
 *
 * ERROR: media-gfx/gimp-2.4.1 failed.
 * Call stack:
 *           ebuild.sh, line 1695:  Called dyn_compile
 *           ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   gimp-2.4.1.ebuild, line  103:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed

on amd64. The same undefined functions appear in 2.4.0.

With 'jpeg' USE flag enabled and media-libs/libexif installed, the mentioned versions of Gimp emerge fine. Version 2.3.19 emerges fine without the flag or libexif.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-01 07:49:15 UTC

*** This bug has been marked as a duplicate of bug 191916 ***