Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342995 - gnome-extra/libgda-4.2.0 seems to require DirectFB and lafilefixer doesn't fix it
Summary: gnome-extra/libgda-4.2.0 seems to require DirectFB and lafilefixer doesn't fi...
Status: RESOLVED DUPLICATE of bug 284951
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 22:10 UTC by Sven Müller
Modified: 2011-04-19 19:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,61.71 KB, text/plain)
2010-10-28 17:14 UTC, Sven Müller
Details
emerge --info (emerge_info.txt,6.65 KB, text/plain)
2010-10-28 17:16 UTC, Sven Müller
Details
make V=1 (buildv1.log,60.33 KB, text/plain)
2010-11-02 10:42 UTC, Sven Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Müller 2010-10-27 22:10:19 UTC
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?
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-10-27 22:26:17 UTC
did you try running revdep-rebuild to the end ? (using emerge --resume --skipfirst and then re-running until the list is empty).
Comment 2 Sven Müller 2010-10-28 05:55:48 UTC
Yes, I did. libgda is the only package left when calling revdep-rebuild.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-10-28 08:33:09 UTC
then you might want to run lafilefixer --justfixit and try again. Some la file might still have references to the library.
Comment 4 Sven Müller 2010-10-28 14:03:18 UTC
Yes I did run "lafilefixer --justfixit". Error still apears.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-10-28 14:30:55 UTC
could you provide a full build.log (in english)
Comment 6 Sven Müller 2010-10-28 17:14:51 UTC
Created attachment 252391 [details]
build.log
Comment 7 Sven Müller 2010-10-28 17:16:27 UTC
Created attachment 252393 [details]
emerge --info
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-01 12:32:11 UTC
could you run make V=1 from the builddir ? It should provide a more details log.
Comment 9 Sven Müller 2010-11-02 10:42:10 UTC
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
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-11-02 21:48:42 UTC
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 {} \;
Comment 11 Sven Müller 2010-11-03 11:16:23 UTC
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?
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-11-04 13:20:29 UTC
That's what lafilefixer is supposed to do.  Adding the dev for it, so we can get this worked out.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-16 09:58:23 UTC
any progress here ?
Comment 14 Sven Müller 2010-12-16 11:05:27 UTC
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.
Comment 15 Pacho Ramos gentoo-dev 2010-12-16 18:31:25 UTC
(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
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-19 19:30:01 UTC
Would actually be a duplicate of bug #284951. Marking as such.

*** This bug has been marked as a duplicate of bug 284951 ***