Hello! I try to update my KDE from 4.2.61 to 4.2.1. kdelibs-4.2.1: Linking CXX shared library: ../lib/libkio.so [48%] Build target kio make: *** [all] error 2 And building fail. My system: Gentoo Linux 2008.0, QT 4.5, GCC 4.3, KDE 4.2.1. Build log included. Reproducible: Always Steps to Reproduce: 1. Build KDElibs 4.2.1
Created attachment 183966 [details] Build log Build log
CXXFLAGS="-O2 -pipe -march=core2" USE for kdelibs: acl alsa kdeprefix mmx sse sse2 opengl nls semantic-desktop This error appears if I build libs from tree or kdetesting-overlay.
Fixed by rollback QT to 4.4, installing KDE 4.2.1 and updating QT to 4.5. NEED fix in ebuild - buildtime dependency qt < 4.5 for KDE 4.2.1.
This is not the issue, most of kde devs has already qt-4.5. It looks like your compilation of qt-4.5 was borked.
Please don't add arch teams to bugs for random reasons. In this case the kde team will need to fix whatever the issue is, not the amd64 team.
https://bugs.kde.org/show_bug.cgi?id=186194 Answer off KDE developers. KDE 4.2.1 and QT 4.5 is incompatible.
From what he is saying is stated clearly what i said. It is wrongly compiled QT not that qt-4.5 is incompatible with kde-4.2.1...
(In reply to comment #7) > From what he is saying is stated clearly what i said. It is wrongly compiled QT > not that qt-4.5 is incompatible with kde-4.2.1... > QT compiled from portage with default settings. What I need to do for building KDE? =) I think, he said "If QT recently updated, <KDE> did not compile corectly", not?
> I think, he said "If QT recently updated, <KDE> did not compile corectly", not? Actually, he said "if QT recently updated, <QT> not correctly compiled." I had this same problem briefly when trying the 4.5.0_rc1, the problem being that nothing in the QT 4.5 set depends on x11-libs/qt-svg so that was still version 4.4.2. I think the same applies to x11-libs/qt-xmlpatterns. It might be a good idea to check if any installed x11-libs/qt-* packages are still <4.5 versions and update them to match the base.
Actualy we clearly state that ALL QT packages should be same version... so this bug is something like "i dont read guides..."
I have the same error compiling kdelibs-4.2.1 both with qt-4.5 and qt-4.4. I am trying to upgrade from kdelibs-4.2.0.
Created attachment 184217 [details] build log
Created attachment 184218 [details] environment
@Pavel Klimunda Your problem is described in the bug #261535 or so it seems. Try upgrading soprano to version 2.2 or higher. Maybe there should be a dependency in the kdelibs ebuild? @Tomáš Chvátal Please refrain from comments such as #10.
I too ran into this problem, which was solved by recompiling the pieces of Qt which I hadn't updated to 4.5.0 & then recompiling Soprano 2.2.2 . I don't know whether Soprano is needed -- it's not given as a dependency -- , but it does look as if the Kdelibs 4.2.1 ebuild needs a bit of fine-tuning.
After some sleep, I unmerged Soprano (which I don't need otherwise) & remerged Kdelibs 4.2.1 , which compiled successfully. It looks as if the latter's ebuild needs to be updated to require all the pieces of Qt as dependencies, not just the bit 'qt' itself. Presumably, this was an oversight after Qt was split.
There is such code added to qt4-build.eclass, code that tries to prevent mixing qt libraries with different versions. Therefore I'm closing this bug. Besides this qualifies under "always run emerge -vaDu world" a bit. Unfortunately there's no mechanism to force updating all dependencies - forward and reverse.