PyQt-3.10 fails to build with the new qt-3.3 This is a known issue (have looked through the pyqt mailing list), but should be fixed in the next release of pyqt. So I suggest adding a dep to the pyqt ebuild saying it needs <qt-3.3 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2) ================================================================= System uname: 2.6.2 i686 AMD Athlon(TM) XP1900+ Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache notitles sandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa amd apache2 apm avi berkdb cdr crypt cups curl doc emacs emacs-w3 encode faad fam fbcon flac foomaticdb freetype fs gdbm gif gtk gtk2 guile imagemagick imap imlib imlib2 ipv6 jabber java javascript jpeg libg++ libwww mad maildir mbox mikmod mmx motif mozilla mpeg mpeg4 ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype type1 unicode usb x86 xml xml2 xmms xv xvid zlib"
I have just tried the latest snapshot from pyqt, and it seems to work with qt-3.3 so there is hope for this bug to become fixed when the next version of pyqt comes out.
*** Bug 41806 has been marked as a duplicate of this bug. ***
As a workaround for the impatient, just remove the protected: content() method from sip/qtable.sip, then it works. I.e. ebuild ... unpack, cd /var/tmp/portage/PyQt-3.8.1/work, "cat | patch -p0" and paste the following patch, then run ebuild ... package merge clean --- PyQt-x11-gpl-3.8.1/sip/qtable.sip~ 2003-09-06 15:36:52.000000000 +0200 +++ PyQt-x11-gpl-3.8.1/sip/qtable.sip 2004-02-18 19:59:31.000000000 +0100 @@ -151,8 +151,4 @@ %End -protected: -%If (Qt_3_2_0 -) - QString content() const; -%End };
Grrr, I overlooked that the same problem seems to exist as in http://bugs.gentoo.org/show_bug.cgi?id=42047 i.e. I had to put "make || die" as first line into src_install() of /usr/portage/dev-python/PyQt/PyQt-3.8.1.ebuild, otherwise I got no binaries installed. Wonder why (see my above report). (Sorry for spamming this bugreport, but in case someone wants to follow my receipt for a working PyQt, I thought this might be annoying to find out..)
Fixed in cvs, thanks for the patch Hans Meine.
Created attachment 26402 [details] modified 3.8.1 ebuild
the above ebuild should fix the bug for stable users as well
Patch added to 3.8.1 as well.