Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190582 - dev-python/PyQt-3.17 fails - qwindowsxpstyle.h: No such file or directory
Summary: dev-python/PyQt-3.17 fails - qwindowsxpstyle.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 22:28 UTC by Matthew Weigang
Modified: 2009-03-27 21:40 UTC (History)
4 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 Matthew Weigang 2007-08-28 22:28:45 UTC
In persuit of the latest ebuild of Compiz-Fusion, I found myself emerging =dev-python/PyQt-3.17 (part of the ebuilds merged with a command to the affect of 'emerge compiz-fusion'). This failed crudely, halting my progress towards Compiz-fusion. Folks in #gentoo advised a bug report be filed.

Reproducible: Always

Steps to Reproduce:
1. Execute "emerge =dev-python/PyQt-3.17" in Terminal
2. If this works fine on your machine, by some airplane tickets over to Wocester, MA, and try it on mine. You'll get the aforementioned output.
3.

Actual Results:  
(Terminal output after running "emerge =dev-pytho/PyQt-3.17")

>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-3.17.tar.gz to /var/tmp/portage/dev-python/PyQt-3.17/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17 ...
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
QScintilla 1.5.1 is being used.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the qtext module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
Checking to see if the QWindowsStyle class is built in...
Qt v3.3.8 free edition is being used.
SIP 4.7 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl qtui
qtsql qtext.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in /usr/lib64/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
The Qt header files are in /usr/qt/3/include.
The qt-mt Qt library is in /usr/qt/3/lib64.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...
Creating the Makefile for the qt module...
Generating the C++ source for the qtext module...
Creating the Makefile for the qtext module...
Generating the C++ source for the qtgl module...
Creating the Makefile for the qtgl module...
Generating the C++ source for the qtui module...
Creating the Makefile for the qtui module...
Generating the C++ source for the qtcanvas module...
Creating the Makefile for the qtcanvas module...
Generating the C++ source for the qtnetwork module...
Creating the Makefile for the qtnetwork module...
Generating the C++ source for the qtsql module...
Creating the Makefile for the qtsql module...
Generating the C++ source for the qttable module...
Creating the Makefile for the qttable module...
Generating the C++ source for the qtxml module...
Creating the Makefile for the qtxml module...
Creating top level Makefile...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQPtrList.o sipqtQPtrList.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWorkspace.o sipqtQWorkspace.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWMatrix.o sipqtQWMatrix.cpp
sip/qt/qdir.sip:47:28: error: sipqtQFileInfo.h: No such file or directory
sip/qt/qwidgetlist.sip:38:26: error: sipqtQWidget.h: No such file or directory
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or directory
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWizard.o sipqtQWizard.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=athlon64 -pipe -O2 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWidgetStack.o sipqtQWidgetStack.cpp
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or directory
sipqtcmodule.cpp:13422: error: 'sipQtFindConnection' was not declared in this scope
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or directory
make[1]: *** [sipqtcmodule.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [sipqtQWorkspace.o] Error 1
make[1]: *** [sipqtQWidgetStack.o] Error 1
make[1]: *** [sipqtQWizard.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
make: *** [all] Error 2
 
!!! ERROR: dev-python/PyQt-3.17 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  PyQt-3.17.ebuild, line 45:   Called die
 
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/PyQt-3.17/temp/build.log'.

Expected Results:  
Compile and install PyQt successfully. Also, make me waffles.

If you're experiencing the same problem yourself, I found that the latest version of PyQt ( =dev-python/PyQt-3.17.3 ) installs fine and satisfies Compiz-Fusion's dependancies for the application.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-08-28 22:51:55 UTC
what version of sip and Qt are installed?
Comment 2 Matthew Weigang 2007-08-28 23:52:34 UTC
Presently I have dev-python/sip-4.7 , dev-python/PyQt-3.17.3 , and dev-python/PyQt4-4.3 emerged.
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2007-08-29 11:40:50 UTC
I also ran into this problem on amd64. merging dev-python/PyQt-3.17.3 instead of stable one fixed the problem.
Comment 4 Alex Williams 2007-08-30 16:08:57 UTC
(In reply to comment #3)
> I also ran into this problem on amd64. merging dev-python/PyQt-3.17.3 instead
> of stable one fixed the problem.
> 

This resolved the problem for me as well.  I would guess it's something to do with Compiz's heavy-handed portage overlay?
Comment 5 František Soukup 2007-09-05 15:14:32 UTC
Hi, same problem for me. I emerged PyQt-3.17.3 as well as Markus, and it works.
dev-python/sip-4.7, Qt 3.3.8-r3 and 4.3.0-r2; 
Theese were used:
Qt v3.3.8 free edition is being used.
SIP 4.7 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl qtui
qtsql qtext

emerge --info:
Portage 2.1.2.12 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 02 Sep 2007 01:47:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="cs_CZ"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs en sk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/data/00-portage/portage_compilation"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi aim alsa amd64 bash-completion berkdb bitmap-fonts bluetooth bzip2 cddb cdinstall cdparanoia cdr cli cracklib crypt cups dbus directfb dri dv dvd dvdr eds emboss encode exif fam fbcon ffmpeg firefox foomatic foomaticdb ftp gif gmp gphoto2 gpm gps gstreamer gtk gtk2 hal iconv icq ieee1394 ifp imagemagick imlib ipod ipv6 isdnlog jabber javascript jpeg jpeg2k kde kdeenablefinal libnotify lirc lm_sensors lzo lzw lzw-tiff memlimit midi mikmod mime motif mp3 mpeg mplayer msn mudflap musepack musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pda pdf perl png posix ppds pppd python qt3 qt4 quicktime rdesktop readline reflection scanner sdl session sharedmem slang sockets sox spell spl srt ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wifi x264 xine xinerama xorg xosd xpm xprint xv xvid yahoo" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en sk" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Jacek 2007-09-06 21:56:24 UTC
temporary workaround
try to downgrade sip to stable ver. dev-python/sip-4.5.2-r1
and recompile PyQt. It works for me.
regards
jd
Comment 7 Peter Kunze 2007-09-15 13:41:09 UTC
Hi all,
Had the same problem and downgrading to sip-4.5.2-r1 resolved it immediately!
Comment 8 Jonathan Slark 2007-11-14 06:02:02 UTC
(In reply to comment #7)
> Hi all,
> Had the same problem and downgrading to sip-4.5.2-r1 resolved it immediately!
> 

This solved the problem for me also.
Comment 9 Kenneth Gonsalves 2008-02-26 07:53:26 UTC
 ERROR: dev-python/qscintilla-python-2.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2288:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed"
 *  The die message:
 *   emake install failed
Comment 10 Markus Rothe (RETIRED) gentoo-dev 2008-02-26 09:46:42 UTC
(In reply to comment #9)
>  ERROR: dev-python/qscintilla-python-2.1 failed.

That neither the error message nor the correct way of submitting a bug ;-)

Please open a separate bug for dev-python/qscintilla-python with at least the error message (the lines *above* that message you have posted) and "emerge --info" included.
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2009-03-27 21:40:50 UTC
Problematic version is no longer in portage