Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169661 - media-gfx/gtkam-0.1.14 fails with --as-needed
Summary: media-gfx/gtkam-0.1.14 fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-03-06 20:05 UTC by Patrizio Bassi
Modified: 2008-05-18 20:57 UTC (History)
3 users (show)

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


Attachments
log (build.log,99.42 KB, text/plain)
2008-05-13 15:04 UTC, Patrizio Bassi
Details
gtkam-0.1.14-as-needed.patch (gtkam-0.1.14-as-needed.patch,734 bytes, patch)
2008-05-16 15:36 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2007-03-06 20:05:33 UTC
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o gtkam-gimp gtkam_gimp-gtkam-gimp.o -pthread -pthread  -L/usr/lib64 /usr/lib64/libgimpui-2.0.so /usr/lib64/libgimpwidgets-2.0.so /usr/lib64/libgimpmodule-2.0.so /usr/lib64/libgimp-2.0.so /usr/lib64/libgimpconfig-2.0.so /usr/lib64/libgimpmath-2.0.so /usr/lib64/libgimpcolor-2.0.so /usr/lib64/libgimpbase-2.0.so /usr/lib64/libexif-gtk.so /usr/lib64/libgphoto2.so /usr/lib64/libexif.so /usr/lib64/libgphoto2_port.so /usr/lib64/libltdl.so /usr/lib64/libgnomeui-2.so /usr/lib64/libjpeg.so /usr/lib64/libbonoboui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libart_lgpl_2.so /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 /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libbonobo-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libxml2.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so /usr/lib64/libgnutls.so -lz /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so -lnsl /usr/lib64/libgpg-error.so -lresolv -lutil /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgobject-2.0.so -lm /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so libgtkam.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexif.so.10, needed by /usr/lib64/libgphoto2.so, not found (try using -rpath or -rpath-link)
libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_view_as_activate':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:496: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:497: undefined reference to `bonobo_get_object'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:504: undefined reference to `bonobo_window_new'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:505: undefined reference to `bonobo_widget_new_control_from_objref'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_get_type'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_set_contents'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:521: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:522: undefined reference to `Bonobo_Unknown_queryInterface'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:534: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:499: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:527: undefined reference to `bonobo_stream_mem_create'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `bonobo_object_corba_objref'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `Bonobo_PersistStream_load'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:532: undefined reference to `bonobo_object_release_unref'
libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_button_press_event':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:606: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:610: undefined reference to `bonobo_activation_query'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:612: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:622: undefined reference to `bonobo_server_info_prop_lookup'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:645: undefined reference to `CORBA_free'
libgtkam.a(libgtkam_a-gtkam-exif.o): In function `gtkam_exif_new':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:163: undefined reference to `exif_data_new_from_data'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:185: undefined reference to `gtk_exif_browser_new'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_get_type'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_set_data'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:187: undefined reference to `exif_data_unref'
/usr/lib64/libgphoto2.so: undefined reference to `exif_content_get_entry'
/usr/lib64/libgphoto2.so: undefined reference to `exif_data_save_data'
collect2: ld returned 1 exit status
make[2]: *** [gtkam-gimp] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14'
make: *** [all] Error 2
Comment 1 Patrizio Bassi 2007-03-18 19:04:34 UTC
i recompiled some stuff but it's still not working...

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o gtkam-gimp gtkam_gimp-gtkam-gimp.o -L/usr/lib64 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lexif -lm -lusb   -L/usr/lib64 -lexif -lm   -L/usr/lib64 -lexif-gtk -lexif -lm   -L/usr/lib64 -lgphoto2 -lgphoto2_port -lexif -lm -lusb   -pthread -L/usr/lib64 -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0   -pthread -L/usr/lib64 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0    libgtkam.a
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o gtkam-gimp gtkam_gimp-gtkam-gimp.o -pthread -pthread  -L/usr/lib64 /usr/lib64/libgimpui-2.0.so /usr/lib64/libgimpwidgets-2.0.so /usr/lib64/libgimpmodule-2.0.so /usr/lib64/libgimp-2.0.so /usr/lib64/libgimpconfig-2.0.so /usr/lib64/libgimpmath-2.0.so /usr/lib64/libgimpcolor-2.0.so /usr/lib64/libgimpbase-2.0.so /usr/lib64/libexif-gtk.so /usr/lib64/libgphoto2.so /usr/lib64/libgphoto2_port.so /usr/lib64/libltdl.so /usr/lib64/libexif.so /usr/lib64/libusb.so /usr/lib64/libgnomeui-2.so /usr/lib64/libjpeg.so /usr/lib64/libbonoboui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libart_lgpl_2.so /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 /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libbonobo-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libxml2.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so /usr/lib64/libgnutls.so -lz /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so -lnsl /usr/lib64/libgpg-error.so -lresolv -lutil /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libgconf-2.so -lm /usr/lib64/libORBit-2.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so libgtkam.a
libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_view_as_activate':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:496: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:497: undefined reference to `bonobo_get_object'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:504: undefined reference to `bonobo_window_new'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:505: undefined reference to `bonobo_widget_new_control_from_objref'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_get_type'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:507: undefined reference to `bonobo_window_set_contents'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:521: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:522: undefined reference to `Bonobo_Unknown_queryInterface'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:534: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:499: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:527: undefined reference to `bonobo_stream_mem_create'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `bonobo_object_corba_objref'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:529: undefined reference to `Bonobo_PersistStream_load'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:532: undefined reference to `bonobo_object_release_unref'
libgtkam.a(libgtkam_a-gtkam-list.o): In function `on_button_press_event':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:606: undefined reference to `CORBA_exception_init'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:610: undefined reference to `bonobo_activation_query'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:612: undefined reference to `CORBA_exception_free'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:622: undefined reference to `bonobo_server_info_prop_lookup'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-list.c:645: undefined reference to `CORBA_free'
libgtkam.a(libgtkam_a-gtkam-exif.o): In function `gtkam_exif_new':
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:185: undefined reference to `gtk_exif_browser_new'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_get_type'
/mnt/Dati/Gentoo/tmp/portage/media-gfx/gtkam-0.1.14/work/gtkam-0.1.14/src/gtkam-exif.c:186: undefined reference to `gtk_exif_browser_set_data'
collect2: ld returned 1 exit status
make[2]: *** [gtkam-gimp] Error 1
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-19 16:13:41 UTC
It builds fine here with --as-needed.  I was using it as a test case for something, so I built it ~40 times one day.

Which versions of libbonobo and libexif-gtk do you have?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-19 16:44:09 UTC
In addition, I just emerged it on an ohterwise stable machine, and it worked fine.  Note, I had to unmask libexif-gtk-0.3.5-r1 because the stable version has an invalid ebuild, and portage was complaining, but the changes appear to only be in the ebuild, and therefore shouldn't affect building with --as-needed.
Comment 4 Patrizio Bassi 2007-03-19 17:39:29 UTC
Calculating dependencies... done!
[ebuild   R   ] gnome-base/libbonobo-2.16.0  USE="-debug -doc" 0 kB
[ebuild   R   ] media-libs/libexif-gtk-0.3.5-r1  USE="nls" 0 kB

and i just rebuilt both
Comment 5 Patrizio Bassi 2007-03-19 18:37:37 UTC
i have no ideas..removing as-needed works (of course) so i have no hints...
Comment 6 Russell Knighton 2007-03-31 19:39:10 UTC
Just thought I'd pipe up and mention I have this issue to. Removing --as-needed allowed me to compile cleanly.

emerge --info output:

Portage 2.1.2.3 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r3 i686)
=================================================================
System uname: 2.6.20-gentoo-r3 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 31 Mar 2007 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo http://gentoo.osuosl.org ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/default"
SYNC="rsync://starbug/gentoo-portage"
USE="/ 3dnow 3dnowext 7zip X a52 aac aalib acpi aiglx aim alsa amarok aoss artworkextra asf audacious audiofile avahi beagle bidi bitmap bitmap-fonts bluetooth bonobo bzip2 cairo caps cdda cddb cdio cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dhcp divx divx4linux dmi dpms dri dv dvb dvd dvdr dvdread eds encode esd evo evolution exif faad fastcgi fbcon ffmpeg fglrx firefox flac flash foomaticdb fortran ftp fuse gb gd gdbm gif gimp glibc-omitfp gmedia gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jikes joystick jpeg jpeg2k kerberos keyring krb4 lcms ldap libg++ libnotify libvisual libwww lirc live lm_sensors mad matroska midi migemo mikmod mime ming mjpeg mmx mmx2 mmxext mng modplug mono mozilla moznocompose moznoirc moznomail mozsvg mp2 mp3 mp4 mpeg mpi mppe-mppc msn musepack nas nautilus ncurses network nforce2 nfs nls nptl nptlonly nsplugin oav odbc offensive ogg oggvorbis on-the-fly-crypt opengl oscar pam pcre pda pdf pdflib perl pic pmu png ppds pppd prelude python qt3 quicktime rar readline real reflection rtc samba sasl scanner sdl session shorten slp sndfile snmp sockets sox speex spell spl srt sse ssl stream sysfs syslog szip tcl tcltk tcpd theora tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos vidix vim vim-syntax visualization vorbis wavpack win32codecs wma wmf wmp x264 x86 xft xinerama xml xorg xosd xpm xprint xv xvid yahoo zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="fglrx ati radeon vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Patrizio Bassi 2007-06-10 16:29:46 UTC
i tried again now, with gnome 2.18 just rebuild....exactly same issue...
Comment 8 Patrizio Bassi 2007-08-25 18:53:59 UTC
tried again...no change :(
Comment 9 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-08-27 16:02:45 UTC
And I just tried again with 2.18.x and had no problems...  I even used FEATURES=test this time.
Comment 10 Patrizio Bassi 2007-08-31 14:50:49 UTC
ok, i tried with binutils 2.18 too and no change.

i don't want to fight with works/doesn't for me, but just fix the issue.
probably we have different environments/setup

what can i provide you to debug this issue?
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-09-19 19:21:30 UTC
Well, you can play around with it and try to fix it.  I'll test the fix to make sure it doesn't break here.  But I can't really fix it without being able to reproduce it.  There's info on fixing this kind of bug here:

http://www.gentoo.org/proj/en/qa/asneeded.xml

I'll try adding as-needed to the one box I have that didn't already have it and see if maybe it's related to some things being built without it...
Comment 12 Patrizio Bassi 2008-01-29 20:01:08 UTC
i rebuild everything, i still have it...
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-13 08:08:28 UTC
Patrizio, please provide updated emerge -pv gtkam and build.log, I tried this morning and I too can't reproduce it seems.
Comment 14 Patrizio Bassi 2008-05-13 15:04:30 UTC
Created attachment 153061 [details]
log
Comment 15 Patrizio Bassi 2008-05-13 15:04:59 UTC
[ebuild   R   ] media-gfx/gtkam-0.1.14  USE="gimp gnome nls -debug (-doc%)" 0 kB


merges fine just removing as-needed ld flag.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-13 17:04:13 UTC
Hum still can't figure this out. emerge --info maybe and I suppose you have libbonobo libbonoboui in 2.20* and rebuilded libexif/libexif-gtk. I wonder what's so special about you're setup.
Comment 17 Patrizio Bassi 2008-05-13 21:39:40 UTC
i just rebuild bonobo and exif again, no way :(((

i have no idea, this is the only package creating me such problems....i'm using those flags since 2 years..
Comment 18 Sandro Bonazzola 2008-05-15 17:51:16 UTC
Same problem here. But different way to get there. I've just updated something that broke gtkam. I had the failure with --as-needed during revdep-rebuild.

[ebuild   R   ] media-gfx/gtkam-0.1.14  USE="gimp gnome nls -debug (-doc%)" 0 kB

Portage 2.1.5 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Thu, 15 May 2008 15:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/home/ftp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign strict stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=800 --progress "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac acl acpi alsa amd64 amr apache2 arts audiofile avahi bash-completion berkdb bl branding bzip2 cairo cal3d caps ccache cdb cddb cdparanoia cdr cg chroot cli cpudetection cracklib crypt css cups curl custom-cflags dbus devhelp dga directfb disk-partition djvu dmi dovecot-sasl dri dts dv dvd dvdr dvdread emboss emerald encode epydoc erandom esd evo exif expat extrafilters fam fame ffmpeg firefox flac fltk foomaticdb fortran gd gdbm ggi gif gimp glib glibc-omitfp glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml guile hal hbci howl-compat iconv idn ieee1394 imagemagick imlib ipv6 isc isdnlog ithreads java javacomm javascript jbig jce jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kqemu lcms ldap libcaca libnotify linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash midi mikmod mjpeg mmap mmx mmxext mng motif mozdevelop mp3 mpeg mppe-mppc msn mudflap multilib musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc ode offensive ofx ogg ogre openexr opengl openmp oss pam parport pch pcre pdf perl php png povray ppds pppd print pulseaudio python qa qt3 qt3support qt4 quicktime quotes rdesktop readline reflection resolvconf restrict-javascript rtc samba scanner sdl session slang slp smime sndfile snmp speex spell spl sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd test tetex tga theora threads tidy tiff timidity tk truetype unicode usb userlocales utempter v4l v4l2 vcd vda vorbis vorbis-psy wma wmf wmp xattr xcomposite xforms xine xinerama xml xorg xpm xprint xscreensaver xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon directory panasonic pccam300 " ELIBC="glibc" FOO2ZJS_DEVICES="hp1005 hpp1005" INPUT_DEVICES="mouse evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, MAKEOPTS
Comment 19 Sandro Bonazzola 2008-05-15 17:54:22 UTC
(In reply to comment #18)
> Same problem here. But different way to get there. I've just updated something
> that broke gtkam. I had the failure with --as-needed during revdep-rebuild.

Just for completness, the revdep-rebuild was required by libltdl.so.3 => not found (updated)
Comment 20 Patrizio Bassi 2008-05-16 15:12:37 UTC
and unfortuatnyl new release has exactly same problem of .14, i just tested it
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-16 15:36:18 UTC
Created attachment 153351 [details, diff]
gtkam-0.1.14-as-needed.patch

this patch should fix it, I didn't notice you had the gimp use flag and I didn't.
Comment 22 Patrizio Bassi 2008-05-16 19:53:31 UTC
how to apply this patch? there is already one in the portage, substitute it?
Comment 23 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-16 23:07:23 UTC
yes, substitue it, redigest the ebuild and go.
Comment 24 Patrizio Bassi 2008-05-17 09:35:39 UTC
works works :)

tested with .14 only

can you bump to 15 and apply to portage?
Comment 25 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-18 20:57:03 UTC
fixed in portage.