Summary: | kde-base/pykde4-4.14.3: multiple build failures due to missing Qt/KDE symbols | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manuel Lauss <manuel.lauss> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, grozin, ibuyandtrade0+bugs.gentoo.org, jlp.bugs, kredba, m.debruijne, mgmadden, toralf, yamadharma, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: | Patch to add needed libraries |
Description
Manuel Lauss
2015-11-28 09:23:38 UTC
Does it work with GCC 4? Yes, it does build with GCC-4. Curious though, I last rebuilt pykde4 on 20th of September with GCC-5.2. It reminds me of ABI breakage, but that would have been solved by those rebuilds. I've just stumbled into this after the upgrade to GCC 5.3.0 CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart3.cpp.o: In function `meth_KFilePlacesModel_deviceForIndex': sipkiopart3.cpp:(.text+0x7077): undefined reference to `Solid::Device::Device(Solid::Device const&)' sipkiopart3.cpp:(.text+0x707f): undefined reference to `Solid::Device::~Device()' CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart4.cpp.o: In function `meth_KDeviceListModel_deviceForIndex': sipkiopart4.cpp:(.text+0x144e7): undefined reference to `Solid::Device::Device(Solid::Device const&)' sipkiopart4.cpp:(.text+0x144ef): undefined reference to `Solid::Device::~Device()' Different missing things, but I suspect the root cause will be the same, maybe in different packages. OK weird... I've just re-re-emerged as follows: [ebuild R ] dev-qt/qtcore-4.8.7-r1 [ebuild R ] dev-qt/qtgui-4.8.7 [ebuild R ] dev-qt/qtdbus-4.8.7 [ebuild R ] dev-qt/qtsvg-4.8.7 [ebuild R ] kde-base/kdelibs-4.14.14 And the problem has "gone away"... can only assume something in the chain impacts things downstream. Same thing might sort the original poster's problem. No it didn't, that was utter nonsense. It fixed a similar problem I was having with PyQt4.... problem with pykde4 remains. In the meantime I've rebuilt every package on my system twice now with gcc-5.3 (only takes 4 hours), but the pykde4 error remains. Just had chance to have a deeper look. On the face of it, I agree with the original post; a link to libQtNetwork.so should fix one and a link to libsolid.so should fix the other. Created attachment 419462 [details, diff]
Patch to add needed libraries
Here's my attempt at a patch.
Damn, you beat to it :-) Patch works a treat for me. Good work, thanks. had same problem while moving to 5.3.0 applied patch now kde-base/pykde4-4.14.3 compile fine thanks ditto here in OZ pykde4 compiled up just fine after the patch applied *** Bug 568646 has been marked as a duplicate of this bug. *** Wonderful patch. First time I had to apply one; using /etc/portage/patches it proved quite simple. Did not want to wait for an updated ebuild any longer. *** Bug 569298 has been marked as a duplicate of this bug. *** Patch fixes the issue here as well (tested with gcc-4.9.3, 5.2 and 5.3) *** Bug 570214 has been marked as a duplicate of this bug. *** I can confirm that pykde4-4.14.3 compiles again, at least with gcc-5.3.0. I can confirm that pykde4-4.14.3 compiles again, at least with gcc-5.3.0. Thanks, fixed in git by Andreas using Erik's patch. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0ed8c85dd15fb18a902b22a7555ba4f7cf01cb |