Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485378 - kde-base/pykde4-4.11.1 fails to compile with dev-python/sip-4.15
Summary: kde-base/pykde4-4.11.1 fails to compile with dev-python/sip-4.15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: fixed in 4.11.2
Keywords:
: 485374 (view as bug list)
Depends on:
Blocks: kde-4.11.2-stable
  Show dependency tree
 
Reported: 2013-09-19 08:47 UTC by Sven Müller
Modified: 2013-10-16 19:20 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,267.69 KB, text/plain)
2013-09-19 08:48 UTC, Sven Müller
Details
emerge --info (emerge_info.txt,7.18 KB, text/plain)
2013-09-19 08:48 UTC, Sven Müller
Details
build.log of pykde-4.11.1 with sip-4.14.7 (build.log,43.62 KB, text/x-log)
2013-09-19 10:52 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 2013-09-19 08:47:36 UTC
[ 69%] Built target python_module_PyKDE4_kdecore
make[2]: Leaving directory `/var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.
11.1-python3_2'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-base/pykde4-4.11.1/wo
rk/pykde4-4.11.1-python3_2/CMakeFiles  57 58 59 60 61 62
[ 69%] Built target python_module_PyKDE4_ktexteditor
make[2]: Leaving directory `/var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1-python3_2'
make[1]: *** [CMakeFiles/python_module_PyKDE4_kio.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1-python3_2'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Sven Müller 2013-09-19 08:48:21 UTC
Created attachment 358974 [details]
build.log
Comment 2 Sven Müller 2013-09-19 08:48:46 UTC
Created attachment 358976 [details]
emerge --info
Comment 3 Sven Müller 2013-09-19 08:50:24 UTC
When I try to build pykde4 with Python-3.3 I get a warning, that pykde will built with Python-3.2. Nevertheless it fails to compile in both environments.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-09-19 10:10:59 UTC
This is caused by sip-4.15, which was not supposed to be bumped yet.
Comment 5 Sven Müller 2013-09-19 10:51:18 UTC
Ok, I downgraded sip to 4.14.7. 

Now Pykde4 fails much earlier. 

/usr/bin/sip -t ALL -t WS_X11 -t Qt_4_8_4 -x VendorID -x PyQt_NoPrintRangeBug -g -x PyKDE_QVector -j 8 -c /var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1-python3_2/sip/phonon -I /usr/share/sip -I /var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1/sip /var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1/sip/phonon/phononmod.sip
sip: /usr/share/sip/QtCore/qobject.sip:239: syntax error
sip: /usr/share/sip/QtCore/qobject.sip:239: syntax error
make[2]: *** [sip/dnssd/sipdnssdpart0.cpp] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/pykde4-4.11.1/work/pykde4-4.11.1-python3_2'
Comment 6 Sven Müller 2013-09-19 10:52:04 UTC
Created attachment 358994 [details]
build.log of pykde-4.11.1 with sip-4.14.7
Comment 7 Michael Palimaka (kensington) gentoo-dev 2013-09-19 10:52:16 UTC
Try rebuilding PyQt4
Comment 8 Sven Müller 2013-09-19 10:55:43 UTC
Hmpf, the error seems to be PyQt4 related. Rebuilding PyQt4 gives me:

Error: This version of PyQt requires SIP v4.15.0 or later.
Comment 9 Sven Müller 2013-09-19 11:16:51 UTC
Ok, had to downgrade to: 

- PyQt4-4.10.2
- sip-4.14.7

Then I was able to compile PyKDE4-4.11.1.
Comment 10 Johannes Huber (RETIRED) gentoo-dev 2013-09-19 15:39:28 UTC
*** Bug 485374 has been marked as a duplicate of this bug. ***
Comment 11 Jason Lamb 2013-09-22 01:56:18 UTC
I had some issue that upon kdm login, was causing my KDE plasma session to crash, and present the bug handler dialog. I clicked close, and my KDE session never started. I had mouse movement, but no desktop, no nothing.

Rebuilding everything in the kde/base category showed me a similar error to this bug report, when failing to emerge kde-base/pykde4-4.11.1. Using Sven's comment #9, I downgraded to PyQt4-4.10.2 and sip-4.14.7, re-emerged pykde4-4.11.1, and my desktop and KDE sessions are now working normally again.

(Thanks Sven..)
Comment 12 Rainer 'Siju' Sigl 2013-09-22 13:25:17 UTC
(In reply to Sven Müller from comment #9)
> Ok, had to downgrade to: 
> 
> - PyQt4-4.10.2
> - sip-4.14.7
> 
> Then I was able to compile PyKDE4-4.11.1.

thx Sven emerge =dev-python/PyQt4-4.10.2 =dev-python/sip-4.14.7 =kde-base/pykde4-4.11.1

worked for me
Comment 13 Fabien MAUREL 2013-09-23 05:04:12 UTC
It worked for me too.

Thanks.
Comment 14 Eckhard Jokisch 2013-10-03 09:09:51 UTC
I think this is a workaround but not a fix.
What would need to be done to get a real fix?
Comment 15 Michael Palimaka (kensington) gentoo-dev 2013-10-03 10:56:07 UTC
(In reply to Eckhard Jokisch from comment #14)
> I think this is a workaround but not a fix.
> What would need to be done to get a real fix?

There should be a partial fix in .2, which should be added to the tree shortly.
Comment 16 Jason Lamb 2013-10-05 17:57:39 UTC
I can confirm that on my system;

kde-base/pykde4-4.11.2

now emerges cleanly with

dev-python/sip-4.15.2 and dev-python/PyQt4-4.10.3


Thanks..
Comment 17 Johannes Huber (RETIRED) gentoo-dev 2013-10-16 19:20:49 UTC
kde-base/pykde4-4.11.2-r1 is working.