On 12. 09. 22 17:08, Richard Shaw wrote:
For some reason the build is failing the import check on F35 only.
+ /usr/bin/python3 -s /usr/lib/rpm/redhat/import_all_modules.py PySide2
Check import: PySide2
PySide2/__init__.py: Unable to import shiboken2 from
/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib64/python3.10/site-packages,
/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib/python3.10/site-packages,
/usr/lib64/python310.zip, /usr/lib64/python3.10,
/usr/lib64/python3.10/lib-dynload, /usr/lib64/python3.10/site-packages,
/usr/lib/python3.10/site-packages,
/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib/python3.10/site-packages
Traceback (most recent call last):
File "/usr/lib/rpm/redhat/import_all_modules.py", line 171, in <module>
main()
File "/usr/lib/rpm/redhat/import_all_modules.py", line 167, in main
import_modules(modules)
File "/usr/lib/rpm/redhat/import_all_modules.py", line 100, in import_modules
importlib.import_module(module)
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File
"/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib64/python3.10/site-packages/PySide2/__init__.py",
line 107, in <module>
_setupQtDirectories()
File
"/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib64/python3.10/site-packages/PySide2/__init__.py",
line 58, in _setupQtDirectories
import shiboken2
File
"/builddir/build/BUILDROOT/python-pyside2-5.15.2.1-1.fc35.x86_64/usr/lib64/python3.10/site-packages/shiboken2/__init__.py",
line 27, in <module>
from .shiboken2 import *
ImportError: libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15: cannot open
shared object file: No such file or directory
Long story short, the libshiboken2 python library is not in the search path but
I have no idea why this only happens on F35 or how to fix it...
No idea why this happens on F35 only, but have you tired to set LD_LIBRARY_PATH
to the buildroot libdir?
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue