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

Bug 45963

Summary: gimp-2.0.0 ebuild fails, as it doesn't check for/install certain dependencies (gail, libgnomecanvas)
Product: Gentoo Linux Reporter: Mark Florian <markrian>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: graphics+disabled, marko, notellin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Florian 2004-03-28 02:48:08 UTC
When I attempt to emerge gimp-2.0.0 (with the command "emerge /usr/portage/media-gfx/gimp/gimp-2.0.0.ebuild -v"), about 5 minutes into the build process, it fails, with the following errors:
[...]
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgailutil.so.17, needed by /usr/lib/libgtkhtml-2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnomecanvas-2.so.0, needed by /usr/lib/libgtkhtml-2.so, not found (try using -rpath or -rpath-link)
/usr/lib/libgtkhtml-2.so: undefined reference to `gail_text_util_buffer_setup'
/usr/lib/libgtkhtml-2.so: undefined reference to `gail_text_util_new'
/usr/lib/libgtkhtml-2.so: undefined reference to `gail_misc_add_attribute'
/usr/lib/libgtkhtml-2.so: undefined reference to `gail_text_util_get_text'
collect2: ld returned 1 exit status
make[3]: *** [helpbrowser] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/plug-ins/helpbrowser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0.0 failed.
!!! Function src_compile, Line 89, Exitcode 2
!!! (no error message)
------------------

The relevant USE flags in place for this emerge were: "+X +aalib -altivec -debug -doc -gimpprint -gtkhtml +jpeg +mmx +mng +png +python +sse -tiff -wmf".

After manually emerging gail first (which also installed libgnomecanvas), gimp-2.0.0 emerged perfectly.

Reproducible: Always
Steps to Reproduce:
1. Make sure gail/libgnomecanvas is not installed
2. emerge gimp 2.0.0

Actual Results:  
Gimp-2.0.0 emerge failed, complaining that various things to do with gail 
don't exist 

Expected Results:  
Gimp-2.0.0 ebuild should require gail/libgnomecanvas (not sure whether it has 
anything to do with my USE flags, "+X +aalib -altivec -debug -doc -gimpprint 
-gtkhtml +jpeg +mmx +mng +png +python +sse -tiff -wmf"
Comment 1 foser (RETIRED) gentoo-dev 2004-03-28 10:06:11 UTC
you probably cleaned your system not so long ago ( emerge --depclean) ?
Comment 2 Mark Florian 2004-03-28 10:15:09 UTC
I've never cleaned my system, ever, using --depclean. But, now that you mention it, I may have manually removed these packages when I got sick of GNOME... But I can't remember, that would have been a LONG time ago.

Either way, don't these deps still need to be put into the ebuild?
Comment 3 foser (RETIRED) gentoo-dev 2004-08-08 07:31:05 UTC
no, they're deps of deps and not directly used by gimp. You removed the stuff yourself, you get to keep the pieces.

Closing INVALID (= not a bug).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 11:10:06 UTC
*** Bug 152386 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-05 14:37:50 UTC
*** Bug 154188 has been marked as a duplicate of this bug. ***