Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261255 - kdelibs-4.2.1: build failed due building target "kio"
Summary: kdelibs-4.2.1: build failed due building target "kio"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Highest minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 06:38 UTC by different
Modified: 2009-07-05 17:10 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,528.02 KB, text/plain)
2009-03-05 06:39 UTC, different
Details
build log (build.log,591.04 KB, text/plain)
2009-03-07 12:25 UTC, Pavel Klimunda
Details
environment (environment,125.79 KB, text/plain)
2009-03-07 12:26 UTC, Pavel Klimunda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description different 2009-03-05 06:38:40 UTC
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
Comment 1 different 2009-03-05 06:39:49 UTC
Created attachment 183966 [details]
Build log

Build log
Comment 2 different 2009-03-05 09:06:00 UTC
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.
Comment 3 different 2009-03-05 15:39:28 UTC
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.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-05 15:42:09 UTC
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.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-05 15:48:12 UTC
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.
Comment 6 different 2009-03-05 15:51:39 UTC
https://bugs.kde.org/show_bug.cgi?id=186194

Answer off KDE developers. KDE 4.2.1 and QT 4.5 is incompatible.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-05 16:02:27 UTC
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...
Comment 8 different 2009-03-05 16:06:00 UTC
(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?
Comment 9 Jouni Kosonen 2009-03-05 21:08:19 UTC
> 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.

Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-05 21:14:03 UTC
Actualy we clearly state that ALL QT packages should be same version... so this bug is something like "i dont read guides..."
Comment 11 Pavel Klimunda 2009-03-07 12:23:50 UTC
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.

Comment 12 Pavel Klimunda 2009-03-07 12:25:29 UTC
Created attachment 184217 [details]
build log
Comment 13 Pavel Klimunda 2009-03-07 12:26:20 UTC
Created attachment 184218 [details]
environment
Comment 14 Łukasz Sowiński 2009-03-09 06:51:33 UTC
@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.
Comment 15 Philip Webb 2009-04-12 15:01:19 UTC
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.
Comment 16 Philip Webb 2009-04-13 07:00:48 UTC
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.
Comment 17 Maciej Mrozowski gentoo-dev 2009-07-05 17:10:21 UTC
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.