Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42047 - sip ebuild broken (arguably, sip build system), does not install bin or lib
Summary: sip ebuild broken (arguably, sip build system), does not install bin or lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 10:29 UTC by Hans Meine
Modified: 2004-02-25 15:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Meine 2004-02-18 10:29:58 UTC
emerging sip gave me only two header files and three READMEs lately.
I just tracked that down, it's because the sip Makefiles are b0rked..
- Just invoking "make" creates the targets _in the install directory_, i.e. in /var/tmp/portage/sip-3.8/image/{bin,lib}
- The src_install() function seems to run after the image/ dir has been cleaned, and runs "make install" which installs only the headers+docs (grmbl..)
- I could work around the error by just adding a "make || die" before the make install. This re-links the binary and library *in place*, i.e. by running "g++  -o ../../../image/usr/bin/sip <some .o files>"

Reproducible: Always
Steps to Reproduce:
I got only dev-lang/python-2.3.3 installed (no 2.2 version), and qt-3.3.0-r1. Then I tried installing sip-3.8 (and PyQt, which undestandably complained that sip was not found, see above).
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-18 10:38:00 UTC
You need sip-4.x for Python 2.3.x. PyQt/Qt 3.3 is another problem: Bug 41101
Comment 2 Hans Meine 2004-02-18 11:39:56 UTC
I don't think this is correct. According to the homepage, sip4 needs python2.3, but not the other way round:

SIP v3 supports all versions of Qt since v1.43 and all versions of Python since v1.5. A source package will compile against any supported version of Python and any supported version of Qt. 

SIP v4 supports all versions of Qt since v1.43 and all versions of Python since v2.3. A source package will compile against any supported version of Python and any supported version of Qt.

Anyhow, with the described patch (adding a simple "make" in the src_install() function), I managed to install sip-3.8 correctly and build PyQt with it. (OK, as #41101 describes, this is not without pain, you have to remove the protected: content() method from qtable.sip, but then it works.)
Comment 3 Daniel Seix 2004-02-19 02:14:04 UTC
I came upon the same bug. The "make || die" thingy in "src_install()" worked for me.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-19 02:37:14 UTC
Thanks for correcting me, Hans. As all necessary information is in Bug 41101, this one could be closed, I think.
Comment 5 Bryan Østergaard (RETIRED) gentoo-dev 2004-02-25 15:29:48 UTC
This should be fixed in sip-3.8-r1. Thanks you all for providing the solution.