GNOME Bugzilla – Bug 689301
build fails with cannot find -lQtCore in Gentoo
Last modified: 2012-11-30 08:11:46 UTC
I'm not yet 100% certain it isn't due to distro patches, but I did a cursory review and didn't see any changes that would cause it. Downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=442628 Related bug: https://bugzilla.gnome.org/show_bug.cgi?id=577878 Full build logs can be found on the Gentoo bug report. Essentially, KAB_LIBS is being set to "-lQtCore -lkabc" and we need to add -L<qt library path>, which in my case happens to be "-L/usr/lib64/qt". This is properly sniffed out and added to KDE_LIBS, but not KAB_LIBS. Might I suggest adding an entirely new variable called QT_LIBS (or some such) to encapsulate this functionality of finding the qt lib path and then just expand that into both KAB_LIBS and KDE_LIBS? Perhaps even put the "-lQtCore" in it (not sure on that part). I'm no expert in autotools or I would propose a patch for you.
Well, this piece of code is explicitly marked as experimental, so it's a distribution bug to enable it by default. I'll gladly apply correcting patches if given, but as far as I know no ekiga developer will work on it spontaneously.
Thanks so much for the response! This is enabled when the USE="kde" flag is enabled. This flag has a global description, but also "local" descriptions, specific to certain packages. I'll made sure a local description is added to this package (net-voip/ekiga in Gentoo) describing it as experimental. Somebody said that they will fix it this weekend, so I'll make sure the patch makes its way to you guys (if he forgets to send it upstream) Thanks again!
Yes, it would be good if it were documented as experimental. Notice that this code hasn't been run since long, so fixing the compilation might still give something which doesn't work quite correctly, though I'd gladly be told otherwise.