PyQt-4.8.1 fails to merge here on 2 machines. Both have Qt-4.7 and are AMD64. Did not test with other QT versions, as "Downgrading Qt is not support and will break your system"... I will be happy to provide any additional information, as this time I couldn't find any other useful information by myself. Reproducible: Always Steps to Reproduce: 1. Try to install PyQt4-4.8.1 2. 3. Actual Results: Merge fail (I will post build log) Expected Results: Merge paludis 0.54.7 Paludis build information: Compiler: CXX: x86_64-pc-linux-gnu-g++ 4.5.1 CXXFLAGS: -march=k8 -msse3 -O2 -pipe -fomit-frame-pointer -pedantic LDFLAGS: -Wl,-O1 -Wl,--as-needed -Wl,-O2 DATE: 2010-10-30T02:44:02+0200 Libraries: C++ Library: GNU libstdc++ 20100731 Paths: DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: System: Linux vindor 2.6.36-gentoo #1 SMP Thu Oct 21 13:18:13 CEST 2010 x86_64 AMD Turion(tm) X2 Dual-Core Mobile RM-70 AuthenticAMD GNU/Linux Reduced Privs: reduced_uid: 103 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 412 reduced_gid->name: paludisbuild Repository gentoo: format: e location: /usr/portage builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profile_layout: traditional profiles: /usr/portage/profiles/default/linux/amd64/10.0/desktop/kde securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Package information: app-admin/eselect-compiler: (none) app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.6-r1 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 dev-util/confcache: (none) sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13 2.68 sys-devel/automake: 1.10.3 1.11.1 1.8.5-r4 1.9.6-r3 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (for sys-kernel/linux-headers::installed) Package dev-python/PyQt4-4.8::installed: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild... >>> Starting builtin_initmisc bunzip2 < /var/db/pkg/dev-python/PyQt4-4.8/environment.bz2 > /var/tmp/paludis/environment-dev-python-PyQt4-4.8-32102 ebuild_scrub_environment /var/tmp/paludis/environment-dev-python-PyQt4-4.8-32102 ebuild_safe_source /var/tmp/paludis/environment-dev-python-PyQt4-4.8-32102 rm /var/tmp/paludis/environment-dev-python-PyQt4-4.8-32102 >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 CPPFLAGS= CTARGET= CXXFLAGS=-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer DISTDIR=/var/db/pkg/dev-python/PyQt4-4.8 FEATURES= FFLAGS= GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O2 LINGUAS=en MAKEOPTS=-j5 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/var/db/pkg/dev-python/PyQt4-4.8 PORTDIR_OVERLAY= SYNC= USE=X dbus kde opengl phonon sql svg webkit amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en php_targets_php5-2 ruby_targets_ruby18 userland_GNU video_cards_r600 video_cards_radeon xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 >>> Done builtin_infovars >>> Starting pkg_info >>> Done pkg_info >>> Completed ebuild phases initmisc infovars info >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/dev-python-PyQt4-4.8-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup
Created attachment 253519 [details] Build log
Same for me on ~amd64 with gcc-4.5.1: 86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=core2 -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -o sipQtOpenGLQGL.o sipQtOpenGLQGL.cpp sipQtOpenGLQGLContext.cpp: In member function ‘void* sipQGLContext::chooseVisual()’: sipQtOpenGLQGLContext.cpp:187:16: error: ‘chooseVisual’ is not a member of ‘QGLContext’ sipQtOpenGLQGLContext.cpp: In function ‘PyObject* meth_QGLContext_chooseVisual(PyObject*, PyObject*)’: sipQtOpenGLQGLContext.cpp:708:59: error: ‘class QGLContext’ has no member named ‘chooseVisual’ sipQtOpenGLQGLContext.cpp:708:84: error: ‘class QGLContext’ has no member named ‘chooseVisual’ make[1]: *** [sipQtOpenGLQGLContext.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.8.1/work/PyQt-x11-gpl-4.8.1-2.6/QtOpenGL' Can be dev-python/pygobject-2.26.0 behind this?
qt-gui and qt-openg have new use flag: egl disable it and rebuild qt-gui/qt-opengl, then emerge PyQt.
Works here, thanks! So probably there should be dep. on PyQt4 to qt-opengl[-egl], isn't it?
(In reply to comment #4) > Works here, thanks! > > So probably there should be dep. on PyQt4 to qt-opengl[-egl], isn't it? > Yes, although upstream should probably be informed of the issue.
Yeah it fails for me. Please hardcode -egl flag on the PyQt4 deps
Created attachment 256321 [details, diff] PyQt4-4.8.1-egl.patch This patch enables PyQt to build against qt-opengl with use egl. It's probably not the right fix so it shouldn't be included in portage as is, but it might help anybody that realy needs egl enabled and still build PyQt with opengl support.
*** Bug 347869 has been marked as a duplicate of this bug. ***
Same problem for PyQt4-4.8.2, and probably the same fix. What I did: USE=-egl emerge -va1 qt-opengl && emerge -1 dev-python/PyQt4
Dependencies have been adjusted until PyQt4 upstream fixes this bug.
>=PyQt4-4.9 builds fine against >=qt-opengl-4.8.0[egl], the dep has been updated accordingly by wired some time ago. Closing.