Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19008 - Unable to compile PyQt-3.5-r1
Summary: Unable to compile PyQt-3.5-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 18923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-08 17:57 UTC by Andrea Cerrito
Modified: 2003-04-12 13:37 UTC (History)
2 users (show)

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 Andrea Cerrito 2003-04-08 17:57:37 UTC
I was unable to compile PyQT-3.5-r1 (for reference:
http://forums.gentoo.org/viewtopic.php?p=268956). 

The error was:

cd qt && /usr/bin/make -f Makefile
make[1]: Entering directory `/var/tmp/portage/PyQt-3.5-r1/work/PyQt-x11-gpl-3.5/qt'
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.
-I/usr/include/python2.2 -I/usr/qt/3/include -o qthuge.o qthuge.cpp
sipqtQDesktopWidget.cpp: In member function `void
sipQDateTimeEdit::sipProtect_layoutEditors()':
sipqtQDesktopWidget.cpp:4079: no method `QDateTimeEdit::layoutEditors'
make[1]: *** [qthuge.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/PyQt-3.5-r1/work/PyQt-x11-gpl-3.5/qt'
make: *** [sub-qt] Error 2

!!! ERROR: dev-python/PyQt-3.5-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

This bug is known (http://www.mail-archive.com/pykde@mats.gmd.de/msg04141.html),
but I was unable to compile last development (20030407) version.

******************************************************************************
Generated the features file.
******************************************************************************
******************************************************************************
Generating the C++ source for the qt module.
******************************************************************************
sip: sip/qtmod.sip:23: parse error
******************************************************************************
Error: /usr/bin/sip failed with an exit code of 1.
******************************************************************************
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-python/PyQt-3.5-r2 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

Anyway, I'm not so able to understand very well the problem. Is it possible to
do a patch to PyQT 3.5 to solve the first problem?

Reproducible: Always
Steps to Reproduce:
Comment 1 Niek van der Maas 2003-04-10 03:53:11 UTC
I've the same problem. Seems like we have to update to the CVS version. Perhaps the devvers should include a CVS snapshot in portage?
Comment 2 Andrea Cerrito 2003-04-10 04:04:33 UTC
I've updated to CVS version, the error just change.
Comment 3 Michele Balistreri (RETIRED) gentoo-dev 2003-04-12 10:14:14 UTC
fixed in cvs, thanks for reporting (no need to use CVS snapshots) 
Comment 4 Michele Balistreri (RETIRED) gentoo-dev 2003-04-12 13:37:43 UTC
*** Bug 18923 has been marked as a duplicate of this bug. ***