Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549374 - dev-python/PyQt5-5.4.1 - sip: [...]/work/PyQt-gpl-5.4.1/sip/QtGui/qopenglbuffer.sip:109: __or__() unsupported function return type
Summary: dev-python/PyQt5-5.4.1 - sip: [...]/work/PyQt-gpl-5.4.1/sip/QtGui/qopenglbuff...
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:
Depends on:
Blocks:
 
Reported: 2015-05-13 12:38 UTC by cryptopsy
Modified: 2015-08-23 23:39 UTC (History)
0 users

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


Attachments
build.log (build.log,5.18 KB, text/plain)
2015-05-13 12:38 UTC, cryptopsy
Details
emerge --info (info,3.08 KB, text/plain)
2015-05-13 12:41 UTC, cryptopsy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cryptopsy 2015-05-13 12:38:52 UTC
Created attachment 403196 [details]
build.log

PyQt5-5.4.1 is a dependency for other packages.

from build.log: sip: /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtGui/qopenglbuffer.sip:109: __or__() unsupported function return type - provide %MethodCode and a C++ signature

emerge --info:
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 4.0.0-gentoo x86_64)
=================================================================
System uname: Linux-4.0.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-5300U_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     7840300 total,   4998296 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 13 May 2015 09:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /tmp/portage
    masters: gentoo

qutebrowser
    location: /var/lib/layman/qutebrowser
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/tmp/portage/dist"
EMERGE_DEFAULT_OPTS="--quiet --jobs=1 "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://distfiles.gentoo.org"
LANG=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/tmp/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.excludes"
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="/tmp/portage/"
USE="amd64 bash-completion readline systemd threads" ABI_X86="32 64" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965"
USE_PYTHON="3.4 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 cryptopsy 2015-05-13 12:41:28 UTC
Created attachment 403198 [details]
emerge --info
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2015-05-13 13:36:47 UTC
what's the output of emerge -pv qtgui:5 ?
Comment 3 cryptopsy 2015-05-23 13:16:08 UTC
emerge -pv qtgui:5
!!! Section 'ahippo-rhvoice-overlay' in repos.conf has location attribute set to nonexistent directory: '/var/lib/layman/ahippo-rhvoice-overlay'
!!! Section 'ikelos' in repos.conf has location attribute set to nonexistent directory: '/var/lib/layman/ikelos'
!!! Repository 'x-portage' is missing masters attribute in '/tmp/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
[ebuild     U ] dev-qt/qtgui-5.4.1-r2 [5.4.1-r1] USE="jpeg -accessibility -debug -egl -eglfs -evdev -gif -gles2 -gtkstyle -harfbuzz -ibus -kms -opengl -png {-test} -udev -xcb"
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-05-23 17:14:51 UTC
I guess the configure doesn't check if qtgui is build with opengl support and assumes it's present... I don't know if upstream would be interested in fixing this, but in any case I intend to make opengl mandatory in qtgui (bug #532140 comment #14) which should also "fix" this bug.
Comment 5 cryptopsy 2015-06-06 21:23:21 UTC
Generating the C++ source for the QtGui module...
/usr/bin/sip -w -t WS_X11 -t Qt_5_4_1 -x PyQt_SSL -x PyQt_OpenGL -x PyQt_Desktop_OpenGL -B Qt_6_0_0 -o -P -a QtGui.api -c /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1-python3_4/QtGui -I sip -I /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtGui/QtGuimod.sip
sip: /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtGui/qopenglbuffer.sip:109: __or__() unsupported function return type - provide %MethodCode and a C++ signature
 * ERROR: dev-python/PyQt5-5.4.1::gentoo failed (configure phase):
 *   (no error message)
Comment 6 cryptopsy 2015-06-06 21:24:29 UTC
now qtgui with USE=opengl

Generating the C++ source for the QtCore module...
/usr/bin/sip -w -t WS_X11 -t Qt_5_4_1 -x PyQt_SSL -x PyQt_OpenGL -x PyQt_Desktop_OpenGL -B Qt_6_0_0 -o -P -a QtCore.api -c /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1-python3_4/QtCore -I sip -I /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtCore/QtCoremod.sip
Embedding sip flags...
Generating the .pro file for the QtCore module...
Generating the C++ source for the QtXml module...
/usr/bin/sip -w -t WS_X11 -t Qt_5_4_1 -x PyQt_SSL -x PyQt_OpenGL -x PyQt_Desktop_OpenGL -B Qt_6_0_0 -o -P -a QtXml.api -c /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1-python3_4/QtXml -I sip -I /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtXml/QtXmlmod.sip
Generating the .pro file for the QtXml module...
Generating the C++ source for the QtGui module...
/usr/bin/sip -w -t WS_X11 -t Qt_5_4_1 -x PyQt_SSL -x PyQt_OpenGL -x PyQt_Desktop_OpenGL -B Qt_6_0_0 -o -P -a QtGui.api -c /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1-python3_4/QtGui -I sip -I /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtGui/QtGuimod.sip
sip: /tmp/portage/portage/dev-python/PyQt5-5.4.1/work/PyQt-gpl-5.4.1/sip/QtGui/qopenglbuffer.sip:109: __or__() unsupported function return type - provide %MethodCode and a C++ signature
 * ERROR: dev-python/PyQt5-5.4.1::gentoo failed (configure phase):
 *   (no error message)
Comment 7 cryptopsy 2015-06-06 21:28:56 UTC
setting opengl on every qt package that asked for it gives;
[ebuild   R   ] dev-qt/qtgui-5.4.1-r2 
[ebuild   R   ] dev-qt/qtwidgets-5.4.1 
[ebuild  N    ] dev-qt/qtopengl-5.4.1 
[ebuild  N    ] dev-python/PyQt5-5.4.1 
[ebuild  N    ] www-client/qutebrowser-9999 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-qt/qtgui:5

  (dev-qt/qtgui-5.4.1-r2:5/5::gentoo, installed) pulled in by
    ~dev-qt/qtgui-5.4.1[debug=,opengl=] required by (dev-qt/qtprintsupport-5.4.1:5/5::gentoo, installed)
                               ^^^^^^^                                                                                                      
    ~dev-qt/qtgui-5.4.1[debug=,gles2=,gtkstyle=,opengl=,png=,xcb?] required by (dev-qt/qtwidgets-5.4.1:5/5::gentoo, installed)
                                                ^^^^^^^                                                                                                           

  (dev-qt/qtgui-5.4.1-r2:5/5::gentoo, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtgui-5.4.1[debug=,gles2=,opengl] required by (dev-qt/qtopengl-5.4.1:5/5::gentoo, ebuild scheduled for merge)
                                      ^^^^^^                                                                                                                 
    ~dev-qt/qtgui-5.4.1[debug=,gles2=,gtkstyle=,opengl=,png=,xcb?] required by (dev-qt/qtwidgets-5.4.1:5/5::gentoo, ebuild scheduled for merge)
                                                ^^^^^^^                                                                                                                            

dev-qt/qtwidgets:5

  (dev-qt/qtwidgets-5.4.1:5/5::gentoo, installed) pulled in by
    ~dev-qt/qtwidgets-5.4.1[debug=,opengl=] required by (dev-qt/qtprintsupport-5.4.1:5/5::gentoo, installed)
                                   ^^^^^^^                                                                                                      

  (dev-qt/qtwidgets-5.4.1:5/5::gentoo, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtwidgets-5.4.1[debug=,gles2=,opengl] required by (dev-qt/qtopengl-5.4.1:5/5::gentoo, ebuild scheduled for merge)
Comment 8 cryptopsy 2015-06-06 21:30:48 UTC
the "^^^^^^^^" are under 'opengl' in my previous paste
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2015-06-17 16:04:56 UTC
Please try with Qt 5.4.2 (which has mandatory opengl)
Comment 10 cryptopsy 2015-08-23 23:15:23 UTC
I no longer have this problem since 5.5
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2015-08-23 23:39:49 UTC
Closing then.