Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301130

Summary: dev-python/qscintilla-python-2.4.1 fails to build
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: howard_b_golden, qt, zeekec
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 301105    
Bug Blocks:    
Attachments: emerge --info
build.log

Description Jouni Rinne 2010-01-15 19:31:11 UTC
Qscintilla-python-2.4.1 fails with the error:

Generating the C++ source for the Qsci module...
sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-m file] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z file] [file]
Error: Unable to create the C++ code.

I have rebuilt sip, PyQt4 and qscintilla, but still no luck.
Comment 1 Jouni Rinne 2010-01-15 19:31:44 UTC
Created attachment 216633 [details]
emerge --info
Comment 2 Jouni Rinne 2010-01-15 19:32:23 UTC
Created attachment 216634 [details]
build.log
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-01-15 19:47:24 UTC
What is your sip version?
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2010-01-15 19:49:43 UTC
It probably requires >=sip-4.10...
Comment 5 Jouni Rinne 2010-01-15 19:51:26 UTC
dev-python/sip-4.9.3-r1 here, 4.10 seems to be hard masked
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2010-01-15 19:58:29 UTC
configure.py checks for >=sip-4.4, but later it invokes sip passing the '-o' command line option, which afaics is only supported since 4.10.
This looks like an upstream bug.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-01-15 20:03:44 UTC
(In reply to comment #6)
> configure.py checks for >=sip-4.4, but later it invokes sip passing the '-o'
> command line option, which afaics is only supported since 4.10.
> This looks like an upstream bug.
> 

Upstream? No. Latest qscintilla requires the latest sip which sounds normal to me. I think the proper fix here is either to unmask sip and PyQt4 or mask the new qscintilla packages. I will go for the second solution

So masking till bug #301105  is fixed ( or consider fixed )
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-01-15 20:11:27 UTC
"upstream bug" in the sense that it should be reported upstream: configure.py should check for >=4.10 if it uses features of 4.10 ;-)
Of course we also have to fix the depend inside the ebuild and mask the package for now.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-01-15 20:17:42 UTC
Ah ok :)

Packages have been masked, dependencies fixed and bug reported to Phil

Thanks :)
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2010-01-15 20:41:52 UTC
I assumed it was backwards compatible, as both sip and PyQt4 had a minor version bump (x.y to x.{y+1}) and qscintilla didn't.