Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155438 - media-gfx/gimp-2.3.12 needs cairo w/ USE=png
Summary: media-gfx/gimp-2.3.12 needs cairo w/ USE=png
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 18:13 UTC by Alberto A.
Modified: 2007-01-24 16:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto A. 2006-11-16 18:13:58 UTC
//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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-16 18:20:38 UTC
Sigh... How about just using using common sense when setting up your use flags?
Comment 2 Hanno Böck gentoo-dev 2006-12-04 03:26:31 UTC
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?
Comment 3 Hanno Böck gentoo-dev 2007-01-24 16:22:24 UTC
no reply from reporter, closing for now