*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY STEPS TO REPRODUCE On a snap created using the kde-neon-6 extension, trying to import QtNetwork fails: >>> from PySide import QtNetwork Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/snap/freecad_qt6/x1/usr/Ext/PySide/QtNetwork.py", line 1, in <module> from PySide6.QtNetwork import * ImportError: /snap/freecad/x1/usr/lib/python3/dist-packages/PySide6/QtNetwork.abi3.so: undefined symbol: _ZTI11QSctpServer, version Qt_6 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 24.04 KDE Frameworks Version: kf6-core24 Qt Version: 6.8.1 ADDITIONAL INFORMATION See comments starting from https://github.com/FreeCAD/FreeCAD-snap/pull/179#issuecomment-2707076250 and onwards for a more detailed analysis. In summary, I believe the `libQt6Network.so.6.8.1` library shipped with the kf6-core24 6.8.1-6.9.0-6.2.5-24.12.0 snap is somehow corrupt. It appears not to contain the QSctpServer symbol. $ nm -gDC /snap/kf6-core24/18/usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.1 | grep QSctpServer The above command returns nothing. Expected: it should return the QSctpServer symbol. Also, when comparing its size (2.8 MB) with that of the same library in the KDE Neon archive (https://archive.neon.kde.org/user/pool/main/q/qt6-base/), which is 1.9 MB, it's rather odd that it's 1 MB bigger.
Well by the looks of it pyside is from neon repos ( I believe they are on 6.8.2 ) while we build 6.8.1 still hence the undefined symbol. So you will need to build pyside from source or wait until I update the snap to 6.8.2.
Updating qt6 and adding pyside to the snap https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/4cb4b081cf92da853e9bbccc745e4e33aa664525 It will be awhile before this will make it to store. Hopefully Monday.
(In reply to Scarlett Moore from comment #1) > Well by the looks of it pyside is from neon repos ( I believe they are on > 6.8.2 ) while we build 6.8.1 still hence the undefined symbol. So you will > need to build pyside from source or wait until I update the snap to 6.8.2. Thanks! I'll wait for the update to 6.8.2, then. Is there any way to get a notification when the new kde-qt6-core-sdk snap being released, or of the package being published to the snapcraft store?
I will let you know. Unfortunately, I am traveling for a family emergency so it will be delayed a day or two. So sorry.
No worries, no need to let me know. I'll just keep checking the snapcraft store then, thanks!
I hope all is well. Friendly reminder to do the store upload whenever possible. Thanks!
I am stuck on pyside. https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/jobs/2708612 here is the snapcraft file : https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/blob/work.core24/snapcraft.yaml?ref_type=heads ideas welcome.
Thanks. Sorry, I'm not an expert on Qt, just a consumer. Instead of a standalone separate PySide snap. Could the PySide packages from the KDE Neon archive be not be used for PySide and included int the -sdk snap?
Then we face issue with undefined symbols if kde neon isn't on the same version of QT as you faced in this bug report :) I have decided to package pyside as a separate snap. Qt6 sdk and runtime are in --edge. Will you be using the new kde-neon-qt6 extension?
Meh, I guess sdk was pushed to beta, promoted to edge now, runtime is in queue to build.
(In reply to Scarlett Moore from comment #9) > Then we face issue with undefined symbols if kde neon isn't on the same > version of QT as you faced in this bug report :) I have decided to package > pyside as a separate snap. Qt6 sdk and runtime are in --edge. Will you be > using the new kde-neon-qt6 extension? We need both Qt5 and Qt6 builds for FreeCAD. I do not know the difference between the kde-neon-6 and kde-neon-qt6 extensions. For the draft PR enabling the Qt6 builds, I'm using kde-neon-6 (https://github.com/FreeCAD/FreeCAD-snap/pull/179). Should I use `kde-neon-qt6` instead? What are the differences and pros/cons? Thanks!
At https://snapcraft.io/kde-qt6-core24-sdk I see now `latest/edge` and `latest/beta` are on 6.8.2. I don't know whether (and how) I should enable those channels for the extension, or if I should wait for the PySide snap to be available. Could you advise? Thanks!
Qt6 and kf6 all pushed to stable. The kde-neon-qt6 extension is standalone qt6 verses the kf6 which has all kde libraries as well. Its if you don't use kde libraries to have a smaller footprint. I haven't gotten anywhere with pyside, in theory the package should work now.
Adding https://github.com/FreeCAD/FreeCAD-snap/pull/179#issuecomment-2768152272 to keep comments in sync for future reference.