I 've had installed DirectFB via global USE-Flag for a long time. Actually I didn't need it, so I removed the USE-Flag and rebuilt the system. Now libgda shows me a missing dependency when executing revdep-rebuild: * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 64% ] * broken /usr/lib64/libgda-4.0/plugins/libgda-ui-plugins.so (requires libdirect-1.4.so.5 libdirectfb-1.4.so.5 libfusion-1.4.so.5) [ 100% ] On the other site emerge -puDN world didn't show me a direct dependency to directfb. If I try to compile libgda without directfb installed, I run into the following error: Found cached translation database Merging translations into gdaui-entry-text-spec.xml. CREATED gdaui-entry-text-spec.xml Found cached translation database Merging translations into gdaui-entry-password.xml. CREATED gdaui-entry-password.xml /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldirectfb collect2: ld returned 1 exit status make[2]: *** [libgda-ui-plugins.la] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/libgda-4.2.0/work/libgda-4.2.0/libgda-ui/data-entries/plugins' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/libgda-4.2.0/work/libgda-4.2.0/libgda-ui' make: *** [all-recursive] Fehler 1 emake failed * ERROR: gnome-extra/libgda-4.2.0 failed: * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5402: Called gnome2_src_compile * environment, line 3147: Called die * The specific snippet of code: * emake || die "compile failure" Reproducible: Always Steps to Reproduce: 1. System with USE-Flag directfb 2. Remove Useflag directfb 3. emerge --depclean (remove DirectFB) 4. revdep-rebuild Actual Results: After removing DirectFB libgda fails to build. Expected Results: libgda should build without directfb too. I remember some time ago, when Anjuta won't compile after removing avahi from the system. I filed a bug too: http://bugs.gentoo.org/show_bug.cgi?id=265427 Could it be something similiar?
did you try running revdep-rebuild to the end ? (using emerge --resume --skipfirst and then re-running until the list is empty).
Yes, I did. libgda is the only package left when calling revdep-rebuild.
then you might want to run lafilefixer --justfixit and try again. Some la file might still have references to the library.
Yes I did run "lafilefixer --justfixit". Error still apears.
could you provide a full build.log (in english)
Created attachment 252391 [details] build.log
Created attachment 252393 [details] emerge --info
could you run make V=1 from the builddir ? It should provide a more details log.
Created attachment 252875 [details] make V=1 cd /var/tmp/portage/gnome-extra/libgda-4.2.0/work/libgda-4.2.0 make V=1
libgda doesn't reference directfb anywhere, so it has to have come from your system somewhere. Could you run this command: find /lib /lib64 -name "*.la" -exec grep -H directfb {} \;
grep -i directfb $(find /usr/lib /usr/lib64/ -name "*.la" ) /usr/lib64/libgda-4.0/plugins/libgda-ui-plugins.la:dependency_libs=' -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/lib -lgda-ui-4.0 -lgda-4.0 -lgcrypt -lgpg-error -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -ldirectfb -lxml2 -lfusion -ldirect -lgio-2.0 -lresolv -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -lpng14 -lxcb-shm -lxcb-render -lXrender -lQtGui -lX11 -lQtCore -lxcb -lXau -lXdmcp -lGL -lEGL -lgobject-2.0 -lgmodule-2.0 -lm -lfreetype -lexpat -lz -lgthread-2.0 -ldl -lglib-2.0 -lpthread -lrt' /usr/lib64/libgdl-1.la:dependency_libs=' -L/usr/lib64 -L/usr/lib64/qt4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lresolv -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -ldirectfb -lpng14 -lxcb-shm -lxcb-render -lXrender -lQtGui -lfusion -lX11 -ldirect -lQtCore -lxcb -lXau -lXdmcp -lGL -lEGL -lgobject-2.0 -lgmodule-2.0 -lfreetype -lexpat -lgthread-2.0 -lglib-2.0 -lpthread -lrt -lxml2 -ldl -lz -lm' /usr/lib64/libgnomecanvas-2.la:dependency_libs=' -L/usr/lib64 -L/usr/lib64/qt4 -lgailutil -lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -lXrandr -lXcursor -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcomposite -lXdamage -latk-1.0 -lXext -lXfixes -lgio-2.0 -lresolv -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -ldirectfb -lpng14 -lxcb-shm -lxcb-render -lXrender -lQtGui -lfusion -lX11 -ldirect -lQtCore -lxcb -lXau -lXdmcp -lGL -lEGL -lart_lgpl_2 -lgobject-2.0 -lgmodule-2.0 -lfreetype -lexpat -lz -lgthread-2.0 -ldl -lglib-2.0 -lpthread -lrt -lm' /usr/lib64/libgtksourceview-2.0.la:dependency_libs=' -L/usr/lib64 -L/usr/lib64/qt4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lresolv -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -ldirectfb -lpng14 -lxcb-shm -lxcb-render -lXrender -lQtGui -lfusion -lX11 -ldirect -lQtCore -lxcb -lXau -lXdmcp -lGL -lEGL -lgobject-2.0 -lgmodule-2.0 -lfreetype -lexpat -lgthread-2.0 -lglib-2.0 -lpthread -lrt -lxml2 -ldl -lz -lm' /usr/lib64/libwnck-1.la:dependency_libs=' -L/usr/lib64 -L/usr/lib64/qt4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lresolv -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lpixman-1 -lfontconfig -ldirectfb -lpng14 -lxcb-shm -lxcb-render -lXrender -lQtGui -lfusion -ldirect -lQtCore -lGL -lEGL -lgobject-2.0 -lgmodule-2.0 -lm -lfreetype -lexpat -lz -lgthread-2.0 -lglib-2.0 -lpthread -lrt -lstartup-notification-1 -lxcb-aux -lxcb-event -lxcb-atom -lSM -lICE -luuid -lXRes -lXext -lX11 -lxcb -lXau -lXdmcp -ldl' Ok, of course it's not a problem of libgda. But obviously the la-files should be corrected when removing a lib from a system. lafilefixer didn't do that job. I'll just remove directfb from the 5 affected files manually. What can we do the solve that problem generally?
That's what lafilefixer is supposed to do. Adding the dev for it, so we can get this worked out.
any progress here ?
At least in my case I removed that dependencies manually. No idea if lafilefixer has been changed. Maybe the bug should be referenced to lafilefixer because basically it's not libgda problem.
(In reply to comment #14) > At least in my case I removed that dependencies manually. No idea if > lafilefixer has been changed. Maybe the bug should be referenced to lafilefixer > because basically it's not libgda problem. > I would reassign this to lafilefixer maintainers (keeping gnome CCed) then
Would actually be a duplicate of bug #284951. Marking as such. *** This bug has been marked as a duplicate of bug 284951 ***