Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41101 - PyQt fails with qt-3.3
Summary: PyQt fails with qt-3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 41806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-10 05:24 UTC by Martin Ehmsen (RETIRED)
Modified: 2004-03-02 10:11 UTC (History)
4 users (show)

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


Attachments
modified 3.8.1 ebuild (PyQt-3.8.1.ebuild,1.67 KB, text/plain)
2004-02-26 08:36 UTC, Heiko Helmle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ehmsen (RETIRED) gentoo-dev 2004-02-10 05:24:52 UTC
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"
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2004-02-10 07:20:09 UTC
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.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-02-18 03:43:48 UTC
*** Bug 41806 has been marked as a duplicate of this bug. ***
Comment 3 Hans Meine 2004-02-18 11:43:36 UTC
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
 };

Comment 4 Hans Meine 2004-02-18 12:04:55 UTC
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..)
Comment 5 Bryan Østergaard (RETIRED) gentoo-dev 2004-02-25 16:32:32 UTC
Fixed in cvs, thanks for the patch Hans Meine.
Comment 6 Heiko Helmle 2004-02-26 08:36:35 UTC
Created attachment 26402 [details]
modified 3.8.1 ebuild
Comment 7 Heiko Helmle 2004-02-26 08:37:11 UTC
the above ebuild should fix the bug for stable users as well
Comment 8 Bryan Østergaard (RETIRED) gentoo-dev 2004-03-02 10:11:57 UTC
Patch added to 3.8.1 as well.