These are the packages that would be merged, in reverse order: Calculating dependencies . ..... done! [ebuild N ] dev-python/pyqwt-5.2.0-r1 USE="-debug -doc -examples -svg" PYTHON_TARGETS="python2_7" [ebuild NS ] x11-libs/qwt-5.2.3-r2 [6.1.2] USE="-doc -examples -static-libs -svg" [ebuild N ] dev-python/PyQt4-4.11.3 USE="-X -dbus -debug -declarative -designer -doc -examples -help -kde -multimedia -opengl -phonon -script -scripttools -sql -svg -testlib -webkit -xmlpatterns" PYTHON_TARGETS="python2_7 python3_3 -python3_4" [ebuild N ] dev-python/sip-4.16.5 USE="-debug -doc" PYTHON_TARGETS="python2_7 python3_3 -python3_4" !!! The following installed packages are masked: - sys-kernel/gentoo-sources-3.18.3::gentoo (masked by: package.mask) - sys-kernel/linux-headers-3.18::gentoo (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. >>> Verifying ebuild manifests >>> Jobs: 0 of 4 complete, 1 running Load avg: 13.3, 13.1, 12.9 >>> Emerging (1 of 4) dev-python/sip-4.16.5::gentoo >>> Jobs: 0 of 4 complete, 1 running Load avg: 13.3, 13.1, 12.9 >>> Installing (1 of 4) dev-python/sip-4.16.5::gentoo >>> Jobs: 0 of 4 complete, 1 running Load avg: 13.2, 13.0, 12.9 >>> Jobs: 0 of 4 complete Load avg: 13.2, 13.0, 12.9 >>> Jobs: 1 of 4 complete Load avg: 13.1, 13.0, 12.9 >>> Jobs: 1 of 4 complete, 1 running Load avg: 13.1, 13.0, 12.9 >>> Emerging (2 of 4) dev-python/PyQt4-4.11.3::gentoo >>> Jobs: 1 of 4 complete, 1 running Load avg: 13.1, 13.0, 12.9 >>> Installing (2 of 4) dev-python/PyQt4-4.11.3::gentoo >>> Jobs: 1 of 4 complete, 1 running Load avg: 12.7, 12.7, 12.8 >>> Jobs: 1 of 4 complete Load avg: 12.7, 12.7, 12.8 >>> Jobs: 2 of 4 complete Load avg: 12.6, 12.7, 12.8 >>> Jobs: 2 of 4 complete, 1 running Load avg: 12.6, 12.7, 12.8 >>> Emerging (3 of 4) x11-libs/qwt-5.2.3-r2::gentoo >>> Jobs: 2 of 4 complete, 1 running Load avg: 12.6, 12.7, 12.8 >>> Installing (3 of 4) x11-libs/qwt-5.2.3-r2::gentoo >>> Jobs: 2 of 4 complete, 1 running Load avg: 12.6, 12.7, 12.8 >>> Jobs: 2 of 4 complete Load avg: 12.6, 12.7, 12.8 >>> Jobs: 3 of 4 complete Load avg: 12.9, 12.7, 12.8 >>> Jobs: 3 of 4 complete, 1 running Load avg: 12.9, 12.7, 12.8 >>> Emerging (4 of 4) dev-python/pyqwt-5.2.0-r1::gentoo >>> Jobs: 3 of 4 complete, 1 running Load avg: 12.9, 12.7, 12.8 >>> Failed to emerge dev-python/pyqwt-5.2.0-r1, Log file: >>> Jobs: 3 of 4 complete, 1 running Load avg: 12.8, 12.7, 12.8 >>> '/var/log/portage/dev-python:pyqwt-5.2.0-r1:20150118-023055.log' >>> Jobs: 3 of 4 complete, 1 running Load avg: 12.8, 12.7, 12.8 >>> Jobs: 3 of 4 complete, 1 running, 1 failed Load avg: 12.8, 12.7, 12.8 >>> Jobs: 3 of 4 complete, 1 failed Load avg: 12.8, 12.7, 12.8 * Package: dev-python/pyqwt-5.2.0-r1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking PyQwt-5.2.0.tar.gz to /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work >>> Preparing source in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ... * Will copy sources from /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure * python2_7: copying to /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure ... * python2_7: running configuration Command line options: {'debug': False, 'disable_numarray': True, 'disable_numeric': True, 'disable_numpy': False, 'excluded_features': [], 'extra_cflags': ['-O2 -pipe -fPIC'], 'extra_cxxflags': ['-O2 -pipe -fPIC'], 'extra_defines': [], 'extra_include_dirs': ['/usr/include/qwt5'], 'extra_lflags': ['-Wl,-O1 -Wl,--as-needed'], 'extra_lib_dirs': [], 'extra_libs': ['qwt'], 'jobs': '', 'module_install_path': '', 'modules': [], 'qt': 4, 'qwt_sources': '', 'sip_include_dirs': [], 'subdirs': [], 'timelines': [], 'trace': ''} Requires at least PyQt-4.2 and its development tools. * ERROR: dev-python/pyqwt-5.2.0-r1::gentoo failed (configure phase): * configure.py failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3616: Called python_foreach_impl 'configuration' * environment, line 3094: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'configuration' * environment, line 2281: Called _multibuild_run '_python_multibuild_wrapper' 'configuration' * environment, line 2279: Called _python_multibuild_wrapper 'configuration' * environment, line 632: Called configuration * environment, line 3613: Called die * The specific snippet of code: * "${PYTHON}" configure.py --extra-cflags="${CFLAGS}" --extra-cxxflags="${CXXFLAGS}" --extra-lflags="${LDFLAGS}" --disable-numarray --disable-numeric -I/usr/include/qwt5 -lqwt ${myconf[@]} || die "configure.py failed"; * * If you need support, post the output of `emerge --info '=dev-python/pyqwt-5.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyqwt-5.2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pyqwt-5.2.0-r1:20150118-023055.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure-python2_7' * S: '/var/tmp/portage/dev-python/pyqwt-5.2.0-r1/work/PyQwt-5.2.0/configure' * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: media-video/libav-9.17 * - /usr/lib64/libavformat.so.54 * - /usr/lib64/libavformat.so.54.20.4 * used by /usr/lib64/gstreamer-1.0/libgstlibav.so (media-plugins/gst-plugins-libav-1.2.4) * - /usr/lib64/libavcodec.so.54 * - /usr/lib64/libavcodec.so.54.35.0 * used by /usr/lib64/gstreamer-1.0/libgstlibav.so (media-plugins/gst-plugins-libav-1.2.4) * used by /usr/lib64/libmakemkv.so.1 (media-video/makemkv-1.8.13) * used by /usr/lib64/vdr/plugins/libvdr-osdpip.so.2.0.6 (media-plugins/vdr-osdpip-0.1.2) Use emerge @preserved-rebuild to rebuild packages using these libraries ! ! ! This is a build bot chroot located at a hardened amd64 host ! ! ! Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r1, 3.18.2-hardened-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.18.2-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16166860 total, 1724160 free KiB Swap: 16777212 total, 16755784 free Timestamp of tree: Sat, 17 Jan 2015 18:15:01 +0000 sh bash 4.3_p33 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1 dev-util/cmake: 3.0.2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.7 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6-r1, 1.13.4, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.4 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.4 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.18 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --deep --jobs 1" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" 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="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mbox mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, USE_PYTHON build log is stored in /var/log/portage/_emerge_20150118-033102.log
python2_7: running configuration:
dev-python/PyQt4[${PYTHON_USEDEP}] would become >=dev-python/PyQt4-4.2[${PYTHON_USEDEP}] and its development tools appears to be part of a pre-made error msg by the configure script therefore by upstream. What it means I have little idea. development tools appears a generic term referencing packages more typical of those packages in debian/ubuntu. Also this version was initially added by a qt dev, before he left us, *pyqwt-5.2.0 (27 Dec 2009) and revbumped in Feb 2013. Note also 16 Jun 2014; Michael Palimaka <kensington@gentoo.org> metadata.xml: Remove Qt herd. basically leaving a qt package in the hands of python herd because co-maintainership is not a good idea.
Can confirm bug, it is in dev-python/PyQt4-4.11.3. Use 4.11.2 to avoid the bug. The error comes from configure.py:79 <code> elif options.qt == 4: required = 'Requires at least PyQt-4.2 and its development tools.' options.qwt = 'qwt5qt4' options.iqt = 'iqt5qt4' try: import PyQt4.pyqtconfig as pyqtconfig except ImportError: raise Die(required) </code> using dev-python/PyQt4-4.11.3: <code> Python 2.7.9 (default, Feb 17 2015, 13:17:25) [GCC 4.7.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt4.pyqtconfig as pyqtconfig Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named pyqtconfig >>> </code> using dev-python/PyQt4-4.11.2: <code> Python 2.7.9 (default, Feb 17 2015, 13:17:25) [GCC 4.7.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt4.pyqtconfig as pyqtconfig >>> </code>
Can confirm this bug
(In reply to Mike Doty (RETIRED) from comment #3) > Can confirm bug, it is in dev-python/PyQt4-4.11.3. Use 4.11.2 to avoid the > bug. This is not a PyQt4 bug. pyqwt tries to import the deprecated pyqtconfig module, which fails with >=PyQt4-4.11.2-r1
Same problem here. Any quickfixes?
(In reply to Ralf from comment #6) > Same problem here. Any quickfixes? No. Just stay on =PyQt4-4.11.1
*** Bug 574336 has been marked as a duplicate of this bug. ***
*** Bug 558122 has been marked as a duplicate of this bug. ***
commit a329d5527279cd10166a184c07873323fda80d98 Author: Justin Lecher <jlec@gentoo.org> Date: Wed Feb 10 15:32:49 2016 +0100 dev-python/pyqwt: Fix dev-python/PyQt4 dep version to 4.11.1 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=536948 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a329d5527279cd10166a184c07873323fda80d98
Bad fix! dev-python/PyQt4:0 (dev-python/PyQt4-4.11.4:0/0::gentoo, installed) pulled in by >=dev-python/PyQt4-4.11.2[X,svg,python_targets_python3_4(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] required by (net-misc/gns3-gui-1.4.1:0/0::gentoo, binary scheduled for merge) ^^ ^^^^^^ (dev-python/PyQt4-4.11.1:0/0::gentoo, ebuild scheduled for merge) pulled in by ~dev-python/PyQt4-4.11.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] required by (dev-python/pyqwt-5.2.0-r1:5/5::gentoo, installed) ^ ^^^^^^ Also current installed: dev-python/pyqwt-5.2.0-r1:5 Now, you see: Installed pyqwt-5.2.0-r1 and PyQt4 4.11.4 which is bigger than PyQt4-4.11.2-r1
Please change r1 to r2 and revert fix for r1. So i can mask r2.
(In reply to Sebastian Kricner from comment #11) > Bad fix! How do you judge? > > dev-python/PyQt4:0 > > (dev-python/PyQt4-4.11.4:0/0::gentoo, installed) pulled in by > > >=dev-python/PyQt4-4.11.2[X,svg,python_targets_python3_4(-),- > python_single_target_python3_3(-),-python_single_target_python3_4(-)] > required by (net-misc/gns3-gui-1.4.1:0/0::gentoo, binary scheduled for merge) > ^^ ^^^^^^ > > > (dev-python/PyQt4-4.11.1:0/0::gentoo, ebuild scheduled for merge) pulled > in by > > ~dev-python/PyQt4-4.11.1[python_targets_python2_7(-)?,- > python_single_target_python2_7(-)] required by > (dev-python/pyqwt-5.2.0-r1:5/5::gentoo, installed) > ^ ^^^^^^ > > Also current installed: > dev-python/pyqwt-5.2.0-r1:5 > > Now, you see: > Installed pyqwt-5.2.0-r1 and PyQt4 4.11.4 which is bigger than > PyQt4-4.11.2-r1 You cannot install pyqwt and gns3-gui in parallel as they have incompatible requirements for PyQt4.
Well, that problem occured on an attempt to world update: emerge -avuDN @world I had already installed pyqwt and gns3-gui, so it was possible to install everything without problems, using PyQt4-4.11.4. After you introduced a fixed version of PyQt4 in pyqwt those problems appeared. I did revert that fix for world upgrade now locally, which is not a solution for future upgrades, allthough if i push pyqwt into my local overlay...
Okay, I restraint the build time and loosened the runtime requirement. Should be better now commit 4f8be981d5bc3f4d219cc9bb1f6423f3ebc05592 Author: Justin Lecher <jlec@gentoo.org> Date: Thu Mar 3 21:23:51 2016 +0000 dev-python/pyqwt: Only restraint dev-python/PyQt4 dep version at buildtime Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=536948 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8be981d5bc3f4d219cc9bb1f6423f3ebc05592
Yes, i think, it will suffice. As always, it depends on reports from users and it might take time for getting some, whether it would incur new problems.
I just pushed a commit[1] that implements USE=compat for PyQt4. When enabled, it generates and installs the deprecated pyqtconfig module. [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0569b8570eb3acd5388438ca392b4b820dfd7f70
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ce29a2b8bb9a1b9cb67e417448372da73e0603