Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870397 - dev-python/pyside2-5.15.5:0 - ImportError: .../ undefined symbol: _Z35init_QOpen
Summary: dev-python/pyside2-5.15.5:0 - ImportError: .../QtOpenGLFunctions.cpython-310-...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Ammerlaan
Depends on:
Reported: 2022-09-16 14:44 UTC by Toralf Förster
Modified: 2022-09-24 09:18 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,20.13 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
dev-python:pyside2-5.15.5:20220916-113854.log.bz2 (dev-python:pyside2-5.15.5:20220916-113854.log.bz2,32.62 KB, application/x-bzip)
2022-09-16 14:44 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,239.15 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
environment (environment,142.92 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.58 KB, application/x-bzip)
2022-09-16 14:44 UTC, Toralf Förster
logs.tar.bz2 (logs.tar.bz2,90.91 KB, application/x-bzip)
2022-09-16 14:44 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-16 14:44:35 UTC
too long lines were shrinked:

  File "/var/tmp/portage/dev-python/pyside2-5.15.5/work/pyside-setup-opensource-src-5.15.5/sources/pyside2/PySide2/QtOpenGLFunctions/../support/", line 222, in generate_pyi
    top = __import__(import_name)
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/", line 139, in _import
    return original_import(name, *args, **kwargs)
ImportError: /var/tmp/portage/dev-python/pyside2-5.15.5/work/pyside-setup-opensource-src-5.15.5/sources/pyside2_build-python3_10/PySide2/ undefined symbol: _Z35init_QOpenGLVersionFunctionsFactoryP7_object
[775/945] /usr/bin/x86_64-pc-linux-gnu-g++ -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQtPositioning_EXPORTS -I/var/tmp/portage/dev-python/pyside2-5.15.5/work/pyside-setup-opensource-src-5.15.5/sources/pyside2/PySide2/QtPositioning/QtPositioning -I/var/tmp/portage/dev-p
[776/945] /usr/bin/x86_64-pc-linux-gnu-g++ -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQtPositioning_EXPORTS -I/var/tmp/portage/dev-python/pyside2-5.15.5/work/pyside-setup-opensource-src-5.15.5/sources/pyside2/PySide2/QtPositioning/QtPositioning -I/var/tmp/portage/dev-p


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220913-130006


gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	Eclipse Temurin JDK [openjdk-bin-11]
*)	Eclipse Temurin JDK [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
5)	Eclipse Temurin JRE [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit ce1a55213fbc652fd09d8a2fb6c3cc1d7a6640ca
Author: Repository mirror & CI <>
Date:   Fri Sep 16 10:31:57 2022 +0000

    2022-09-16 10:31:56 UTC

emerge -qpvO dev-python/pyside2
[ebuild  N    ] dev-python/pyside2-5.15.5  USE="concurrent designer gles2-only gui location network positioning printsupport qml quick sql svg testlib webchannel widgets x11extras xml -3d -charts -datavis -help -multimedia -script -scripttools -scxml -sensors -speech -test -webengine -websockets -xmlpatterns" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 14:44:36 UTC
Created attachment 805627 [details]
Comment 2 Toralf Förster gentoo-dev 2022-09-16 14:44:38 UTC
Created attachment 805630 [details]
Comment 3 Toralf Förster gentoo-dev 2022-09-16 14:44:39 UTC
Created attachment 805633 [details]
Comment 4 Toralf Förster gentoo-dev 2022-09-16 14:44:41 UTC
Created attachment 805636 [details]
Comment 5 Toralf Förster gentoo-dev 2022-09-16 14:44:42 UTC
Created attachment 805639 [details]
Comment 6 Toralf Förster gentoo-dev 2022-09-16 14:44:44 UTC
Created attachment 805642 [details]
Comment 7 Bernd 2022-09-24 09:18:56 UTC
find /usr/include/qt5/ -type f -exec grep -H FunctionsFactory {} \;
/usr/include/qt5/QtGui/5.15.5/QtGui/private/qopenglversionfunctionsfactory_p.h:class QOpenGLVersionFunctionsFactory

That's a private class. Could this be the reason, why the symbol isn't found?