//I had this lib installed x11-libs/cairo Latest version available: 1.2.4 Latest version installed: 1.2.4 Size of files: 2,815 kB Homepage: http://cairographics.org/ Description: A vector graphics library with cross-device output support //then i wanted to install gimp (~x86) emerge --ask gimp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-gfx/gimp-2.3.12 [2.2.12] USE="alsa%* pdf%* -gnome%" //but i got this... . . i686-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -msse3 -Wall -Wdeclaration-after-statement -o .libs/print print.o print-draw-page.o print-page-layout.o print-settings.o ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimpconfig/.libs/libgimpconfig-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpmath/.libs/libgimpmath-2.0.so ../../libgimpbase/.libs/libgimpbase-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so print.o: In function `print_preview': print.c:(.text+0x519): undefined reference to `cairo_surface_write_to_png' collect2: ld returned 1 exit status make[3]: *** [print] Error 1 make[3]: Leaving directory `/var/tmp/portage/gimp-2.3.12/work/gimp-2.3.12/plug-ins/print' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-2.3.12/work/gimp-2.3.12/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-2.3.12/work/gimp-2.3.12' make: *** [all] Error 2 !!! ERROR: media-gfx/gimp-2.3.12 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile gimp-2.3.12.ebuild, line 90: Called die !!! emake failed // then I recompiled CAIRO libs again after adding the flag PNG to my USE/makefile.conf and then the ebuild worked OK. Check if necessary use flag PNG has been activated in packages that the ebuild depends on?? Thanks.
Sigh... How about just using using common sense when setting up your use flags?
I can't reproduce that (built cairo with -png and afterwards compiled gimp without errors), can you give me full emerge --info output and what you exactly do to generate that failure?
no reply from reporter, closing for now