Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506452 - dev-python/PyQt4-4.10.3-r3: ‘pyqt4ClassTypeDef’ has no member named ‘qt4_flags’
Summary: dev-python/PyQt4-4.10.3-r3: ‘pyqt4ClassTypeDef’ has no member named ‘qt4_flags’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 506698 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-01 12:11 UTC by PM
Modified: 2014-07-17 10:59 UTC (History)
19 users (show)

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


Attachments
PyQt4-4.10.3-r4-ebuild.patch (qtcore-4.8.5-r2.ebuild,6.23 KB, patch)
2014-04-25 19:43 UTC, Greg Turner
Details | Diff
PyQt4-4.10.3-sip_4_15_5_compat.patch (PyQt4-4.10.3-sip_4_15_5_compat.patch,4.89 KB, patch)
2014-04-25 19:48 UTC, Greg Turner
Details | Diff
PyQt4-4.10.3-r4-ebuild.patch (PyQt4-4.10.3-r4-ebuild.patch,583 bytes, patch)
2014-04-25 19:51 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2014-04-01 12:11:26 UTC
qpycore_chimera.cpp: In member function ‘void Chimera::set_flag()’:
qpycore_chimera.cpp:557:50: error: ‘pyqt4ClassTypeDef’ has no member named ‘qt4_flags’
         _is_flag = ((pyqt4ClassTypeDef *)_type)->qt4_flags & 0x01;



Reproducible: Always




Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.19, 3.14.0-gentoo x86_64)
=================================================================
System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.2
KiB Mem:     4044008 total,    827792 free
KiB Swap:    4095996 total,   4095996 free
Timestamp of tree: Tue, 01 Apr 2014 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p46
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo multimedia sunrise steam-overlay roslin dupa
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n --autounmask-write"
FCFLAGS="-O2 -march=native -pipe -ggdb"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=native -pipe -ggdb"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/multimedia /usr/local/portage/layman/sunrise /usr/local/portage/layman/steam /usr/local/portage/layman/roslin /usr/local/portage/moje"
USE="X Xaw3d a52 aac aalib acl acpi adobe-cff alsa amd64 amr amrnb amrwb apng async audiofile automount avahi avresample bash-completion berkdb bfq bineditor bluetooth bluray branding bzip2 c++0x cairo cdda cddb cdparanoia cdr chdir clang cli consolekit cracklib crypt css cuda cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr ebook editor emboss emovix enca encode exchange exif faac faad fam fat fdk ffmpeg fftw firefox firefox3 flac fontconfig fortran g3dvl gd gdbm geoip gif glitz gmedia gnuplot gphoto2 gpm gtk hddtemp iconv id3 id3tag imagemagick inotify iostats ipod jpeg kde kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lm_sensors lto lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modules moodbar mp3 mp3tunes mp4 mpeg mplayer mtp multilib musicbrainz ncurses networkmanager nls nptl nsplugin ntfs nvidia ogg okteta openal opencl opencore-amr opengl openmp optimized-qmake opus pam pango pch pcre pdf plasma png policykit portage ppds private-headers pulseaudio qt3 qt3support qt4 qthelp raster readline realmedia roe scanner schroedinger sdl secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse41 sse4_1 sse4a ssl ssse3 startup-notification steamruntime suid svg swat symlink syslog tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vaapi vamp vcd vdpau vorbis wifi wmf wmp wxwidgets wxwindows x264 xcb xcomposite xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 tman 2014-04-01 13:23:29 UTC
 * python3_2: running run_in_build_dir default
make[1]: Entering directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_2/qpy'
make[2]: Entering directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_2/qpy/QtCore'
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_qabstracteventdispatcher.o qpycore_qabstracteventdispatcher.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_chimera.o qpycore_chimera.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_chimera_signature.o qpycore_chimera_signature.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_chimera_storage.o qpycore_chimera_storage.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_classinfo.o qpycore_classinfo.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_init.o qpycore_init.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_misc.o qpycore_misc.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_post_init.o qpycore_post_init.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_pyqtboundsignal.o qpycore_pyqtboundsignal.cpp
qpycore_chimera.cpp: In member function ‘void Chimera::set_flag()’:
qpycore_chimera.cpp:557:50: error: ‘pyqt4ClassTypeDef’ has no member named ‘qt4_flags’
         _is_flag = ((pyqt4ClassTypeDef *)_type)->qt4_flags & 0x01;
                                                  ^
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_pyqtconfigure.o qpycore_pyqtconfigure.cpp
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -fno-strict-aliasing -Wall -W -fPIC -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python3.2 -I../../QtCore -I. -I. -o qpycore_pyqtmethodproxy.o qpycore_pyqtmethodproxy.cpp
Makefile:290: recipe for target 'qpycore_chimera.o' failed
make[2]: *** [qpycore_chimera.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_2/qpy/QtCore'
Makefile:3: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_2/qpy'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-python/PyQt4-4.10.3-r3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/PyQt4-4.10.3-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt4-4.10.3-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_2'
 * S: '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3'
Comment 2 walt 2014-04-01 13:34:42 UTC
Downgrading sip-4.15.5 -> 4.15.4 fixes this on my ~amd64.
Comment 3 Gregg Casillo 2014-04-01 14:25:15 UTC
Same here. Downgrade to sip-4.15.4 fixed the issue with PyQt4.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2014-04-01 15:03:21 UTC
this appears to have been caused by an untested sip bump by python team, and also the prefix patch was dropped for some reason
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2014-04-01 15:53:40 UTC
(In reply to Michael Palimaka (kensington) from comment #4)
> this appears to have been caused by an untested sip bump by python team, and
> also the prefix patch was dropped for some reason

Indeed. And this is so annoying... It isn't the first time PyQt4 is broken because someone randomly bumps sip without bumping PyQt4 at the same time. Come on guys, I though you'd know by now...  sip/PyQt4 *must* be handled together, just like shiboken/pyside, qscintilla/qscintilla-python, ... it's been like this for *ever*.

Or even better, don't touch packages that you know nothing about.

@idella4, can you explain why you dropped the patch?
Comment 6 Michael Palimaka (kensington) gentoo-dev 2014-04-01 15:55:01 UTC
He rebased the patch and fixed that bit now. Arfrever also advised that fixing PyQt4 will also break pykde4.
Comment 7 Juergen Rose 2014-04-02 00:11:22 UTC
This bug brakes 'emerge --update --newuse --deep --with-bdeps=y --keep-going --backtrack=30  @world'. It fails with:

Makefile:293: recipe for target 'qpycore_chimera.o' failed
make[2]: *** [qpycore_chimera.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_3/qpy/QtCore'
Makefile:3: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_3/qpy'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-python/PyQt4-4.10.3-r3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/PyQt4-4.10.3-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt4-4.10.3-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3-python3_3'
 * S: '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/work/PyQt-x11-gpl-4.10.3'

>>> Failed to emerge dev-python/PyQt4-4.10.3-r3, Log file:

>>>  '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/build.log'
*** Resuming merge...
Calculating dependencies... done!
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-python/sip-4.15.0:0/10=[python_targets_python2_7(-),python_targets_python3_3(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] pulled in by:
 *     (dev-python/PyQt4-4.10.3-r3:0/0::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build or install:
 * 
 *  (dev-python/PyQt4-4.10.3-r3:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-python/PyQt4-4.10.3-r3/temp/build.log'
 * 
root@wildcat:/root(7)#  qlist -Iv sip
dev-python/sip-4.15.5
net-libs/sofia-sip-1.12.11
root@wildcat:/root(8)# emerge -pvD sip

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/sip-4.15.5:0/11  USE="doc -debug" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 0 kB
Comment 8 Juergen Rose 2014-04-02 01:40:23 UTC
Masking
=dev-python/sip-4.15.5
seems to solve the issue so far.
Comment 9 Patrick Lauer gentoo-dev 2014-04-02 03:27:21 UTC
+  02 Apr 2014; Patrick Lauer <patrick@gentoo.org> package.mask,
+  thirdpartymirrors:
+  Mask broken sip release #506452

That should momentarily avoid breakage ...
Comment 10 Michael Palimaka (kensington) gentoo-dev 2014-04-02 06:01:54 UTC
(In reply to Patrick Lauer from comment #9)
> +  02 Apr 2014; Patrick Lauer <patrick@gentoo.org> package.mask,
> +  thirdpartymirrors:
> +  Mask broken sip release #506452
> 
> That should momentarily avoid breakage ...

The release is not broken, it is the bump that is broken.
Comment 11 Mark Wright gentoo-dev 2014-04-02 10:36:37 UTC
This combination builds ok (tested in a local overlay):

dev-python/sip-4.15.5

dev-python/PyQt4-4.10.4 (just renamed dev-python/PyQt4-4.10.3-r3.ebuild)

kde-base/pykde4-4.11.5:4
With this patch:
https://bugs.kde.org/show_bug.cgi?id=332223#c3
Applied like:


argus / # diff -ur /usr/portage/kde-base/pykde4/pykde4-4.11.5.ebuild /usr/local/portage/kde-base/pykde4/pykde4-4.11.5.ebuild 
--- /usr/portage/kde-base/pykde4/pykde4-4.11.5.ebuild   2014-02-25 13:01:20.000000000 +1100
+++ /usr/local/portage/kde-base/pykde4/pykde4-4.11.5.ebuild     2014-04-02 18:45:59.777455461 +1100
@@ -60,6 +60,9 @@
        # See bug 322351
        use arm && epatch "${FILESDIR}/${PN}-4.10.1-arm-sip.patch"
 
+       # https://bugs.kde.org/show_bug.cgi?id=332223#c3
+       epatch "${FILESDIR}/${PN}-4.12.3-sip-4.15.5.patch"
+
        sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
                -i kpythonpluginfactory/CMakeLists.txt || die
 
argus / #
Comment 12 Michael Palimaka (kensington) gentoo-dev 2014-04-02 12:26:12 UTC
After speaking with the python team, the have agreed to be removed from the sip/PyQt4 metadata.
Comment 13 Michael Palimaka (kensington) gentoo-dev 2014-04-04 18:00:42 UTC
*** Bug 506698 has been marked as a duplicate of this bug. ***
Comment 14 Greg Turner 2014-04-25 19:43:01 UTC
Created attachment 375724 [details, diff]
PyQt4-4.10.3-r4-ebuild.patch

Several more changes were required here.  This first patch modifies the ebuild to only apply the patch when sip-4.15.5 or greater is used so that we don't break i.e.: sip-4.15.4 compatibility.
Comment 15 Greg Turner 2014-04-25 19:48:02 UTC
Created attachment 375726 [details, diff]
PyQt4-4.10.3-sip_4_15_5_compat.patch

This is the patch to be placed in ${PORTDIR}/dev-python/PyQt4/files

This resolves all the issues I had compiling against sip-4.15.5, after finding corresponding changes between sip-4.15.4 and sip-4.15.5 for each compile failure.  It does /not/ resolve several -Wnarrowing (C++11 incompatibility?) warnings I saw scrolling past during the build.
Comment 16 Greg Turner 2014-04-25 19:51:51 UTC
Created attachment 375728 [details, diff]
PyQt4-4.10.3-r4-ebuild.patch

Oops, my previous "patch" wasn't a patch at all, but some other silly thing -- here's the real patch this time.
Comment 17 Davide Pesavento (RETIRED) gentoo-dev 2014-05-30 21:11:10 UTC
Does latest pykde4 build against sip-4.16 and PyQt4-4.11 ?
Comment 18 Davide Pesavento (RETIRED) gentoo-dev 2014-05-30 21:15:51 UTC
(In reply to Davide Pesavento from comment #17)
> Does latest pykde4 build against sip-4.16 and PyQt4-4.11 ?

@kde, if not, can you apply the patch mentioned in comment #11 please?
Comment 19 Michael Palimaka (kensington) gentoo-dev 2014-05-31 17:58:10 UTC
I tried to test, but couldn't build PyQt4:

make[2]: Entering directory `/var/tmp/portage/dev-python/PyQt4-4.11/work/PyQt-x11-gpl-4.11-python3_2/qpy/QtGui'
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o w_qpygui     -L/usr/lib64/qt4 -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [w_qpygui] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.11/work/PyQt-x11-gpl-4.11-python3_2/qpy/QtGui'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.11/work/PyQt-x11-gpl-4.11-python3_2/qpy'
make: *** [all] Error 2
Comment 20 Michael Palimaka (kensington) gentoo-dev 2014-07-16 13:45:31 UTC
pykde4-4.13.3 (from overlay, will be in tree soon) builds fine with latest masked PyQt4/sip. When it's moved to the tree, I'll drop PyQt4/sip masks & old versions.
Comment 21 Davide Pesavento (RETIRED) gentoo-dev 2014-07-16 14:19:51 UTC
(In reply to Michael Palimaka (kensington) from comment #20)
> pykde4-4.13.3 (from overlay, will be in tree soon) builds fine with latest
> masked PyQt4/sip. When it's moved to the tree, I'll drop PyQt4/sip masks &
> old versions.

Sounds good to me.
Comment 22 Davide Pesavento (RETIRED) gentoo-dev 2014-07-16 14:23:39 UTC
Also please restrict previous pykde4 versions to <sip-4.16 and/or <PyQt4-4.11 (or something like that) if needed.
Comment 23 Douglas J Hunley 2014-07-17 05:36:49 UTC
pykde4-4.13.3 just hit the tree on ~amd64 but the masks are still in place which breaks anyone trying to upgrade to kde 4.13.3 :(
Comment 24 Michael Palimaka (kensington) gentoo-dev 2014-07-17 10:59:39 UTC
All taken care of now.