On trying to reemerge PyQt due to problems with hplip, the emerge failed with: make[1]: Entering directory `/var/tmp/portage/PyQt-3.14.1/work/PyQt-x11-gpl-3.14.1/qt' g++ -c -pipe -O2 -march=athlon-xp -fomit-frame-pointer -fPIC -O2 -march=athlon-xp -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtpart0.o sipqtpart0.cpp sipqtpart0.cpp: In function `void dealloc_QSessionManager(sipWrapper*)': /usr/qt/3/include/qsessionmanager.h:55: error: `virtual QSessionManager::~QSessionManager()' is private sipqtpart0.cpp:136745: error: within this context sipqtpart0.cpp: In function `void dealloc_QInputDialog(sipWrapper*)': /usr/qt/3/include/qinputdialog.h:62: error: `virtual QInputDialog::~QInputDialog()' is private sipqtpart0.cpp:274559: error: within this context sipqtpart0.cpp: In function `void dealloc_QColorDialog(sipWrapper*)': /usr/qt/3/include/qcolordialog.h:64: error: `virtual QColorDialog::~QColorDialog()' is private sipqtpart0.cpp:407754: error: within this context sipqtpart0.cpp: In function `void dealloc_QClipboard(sipWrapper*)': /usr/qt/3/include/qclipboard.h:55: error: `virtual QClipboard::~QClipboard()' is private sipqtpart0.cpp:409265: error: within this context make[1]: *** [sipqtpart0.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/PyQt-3.14.1/work/PyQt-x11-gpl-3.14.1/qt' make: *** [all] Error 2 Checking through the logs, I noticed sip had been upgraded yesterday, so I tried downgrading it. Lo and behold; PyQt emerges fine, and the hplip problems are gone (well, at least that specific hplip-problem is gone :) ) Reproducible: Always Steps to Reproduce: 1.emerge =dev-python/sip-4.3.1 2.emerge =dev-python/PyQt-3.14.1 3.
Exact same issue here on my AMD64... downgrading the sip does indeed allow PyQt to compile and be used emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 x86_64) ================================================================= System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-mirror.internap.com/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/temp/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib adns alsa apache2 arts artswrappersuid atk avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl dvd dvdread eds emboss encode esd ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java jikes jpeg junit kde libwww lzw lzw-tiff mad maildir mbox mikmod mozcalendar mozilla mozsvg mp3 mpeg mysql mythtv nas ncurses nfsv4 nls nptl nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png ppds python qt readline real ruby samba sasl sdl server slang speex spell sqlite ssl subtitles subversion svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml xml2 xmms xpm xprint xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I got same problem After downgrade sip to 4.2.1 and qscintilla-1.5.1 PyQt can be compiled ok. BTW: If just upgrade qscintilla and sip, import qt will make python crash.
I think it's because we need a new PyQt 3.15.1 (http://www.river-bank.demon.co.uk/download/PyQt/PyQt-x11-gpl-3.15.tar.gz)
Bumped pyqt and qscintilla.