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: .../QtOpenGLFunctions.cpython-310-x86_64-linux-gnu.so: undefined symbol: _Z35init_QOpen
Summary: dev-python/pyside2-5.15.5:0 - ImportError: .../QtOpenGLFunctions.cpython-310-...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Ammerlaan
URL:
Whiteboard:
Keywords:
: 915182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-16 14:44 UTC by Toralf Förster
Modified: 2023-10-25 19:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.13 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
Details
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
Details
emerge-history.txt (emerge-history.txt,239.15 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
Details
environment (environment,142.92 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.58 KB, application/x-bzip)
2022-09-16 14:44 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,90.91 KB, application/x-bzip)
2022-09-16 14:44 UTC, Toralf Förster
Details

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/generate_pyi.py", line 222, in generate_pyi
    top = __import__(import_name)
  File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", 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/QtOpenGLFunctions.cpython-310-x86_64-linux-gnu.so: 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
/usr/lib/llvm/15
15.0.0
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 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.4.1_p1 [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 <repomirrorci@gentoo.org>
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 14:44:38 UTC
Created attachment 805630 [details]
dev-python:pyside2-5.15.5:20220916-113854.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-16 14:44:39 UTC
Created attachment 805633 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 14:44:41 UTC
Created attachment 805636 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 14:44:42 UTC
Created attachment 805639 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 14:44:44 UTC
Created attachment 805642 [details]
logs.tar.bz2
Comment 7 Bernd 2022-09-24 09:18:56 UTC
find /usr/include/qt5/ -type f -exec grep -H FunctionsFactory {} \;
...snip...
/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?
Comment 8 Andrew Ammerlaan gentoo-dev 2023-10-04 19:50:11 UTC
*** Bug 915182 has been marked as a duplicate of this bug. ***