Closed jgirardet closed 2 years ago
Thanks for the report.
We're going to need a little assistance here to work out what is going on, as we're not PySide experts, and you haven't provided a reproduction case (i.e., a configuration/project that fails to build); all we have is a stack trace.
Based on what you've reported, it's not 100% clear to me that this is a Briefcase issue; it may be a PySide2 issue.
This definitely isn't a system_requires
problem. libshiboken2.abi2.so
is in app_packages, so it has been installed by the PySide2 wheel. However, that binary is depending on libshiboken2.abi2.so.5.13
. So: does this file exist as part of the PySide install? If so, where is it?
Hi,
As I said, nothing fancy in the config, it's just the simple default helloworld
from briefcase new
.
PySyde2 has one dependecy : shiboken2.
The following is created with briefcase create:
app_packages
| __ PySyde2
|__ libpyside2.abi3.so.5.13
|__ shiboken2
|__ libshiboken2.abi3.so.5.13
|__ shiboken2.abi3.so
Hi, After some seraches, here is the problematic line : https://github.com/beeware/briefcase/blob/3b05a136d35fb3689ce1eccc5b1d96197b77e81f/src/briefcase/platforms/linux/appimage.py#L203 Commenting it solves the error, and build. I add that is solves also #458
here is the content of deploy_deps_args
:
['--deploy-deps-only', '/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PIL',
'--deploy-deps-only', '/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/assetimporters',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/audio',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/bearer',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/canbus',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/designer',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/egldeviceintegrations',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/gamepads',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/generic',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/geometryloaders',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/geoservices',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/iconengines',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/imageformats',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/mediaservice',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/platforminputcontexts',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/platforms',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/platformthemes',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/playlistformats',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/position',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/printsupport',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/qmltooling',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/renderers',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/renderplugins',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/sceneparsers',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/sensorgestures',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/sensors',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/sqldrivers',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/texttospeech',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/virtualkeyboard',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/wayland-decoration-client',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/wayland-graphics-integration-client',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/wayland-graphics-integration-server',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/wayland-shell-integration',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/webview',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/plugins/xcbglintegrations',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/animation',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/calendar',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/folderlistmodel',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/location',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/lottieqt',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/platform',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/qmlmodels',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/settings',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/sharedimage',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt/labs/wavefrontmesh',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Animation',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Core',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Extras',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Input',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Logic',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/Qt3D/Render',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtBluetooth',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtCharts',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtDataVisualization',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtGamepad',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtGraphicalEffects',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtGraphicalEffects/private',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtLocation',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtMultimedia',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtNfc',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtPositioning',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtPurchasing',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQml',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQml/Models.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQml/RemoteObjects',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQml/StateMachine',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQml/WorkerScript.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls/Styles/Flat',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls.2/Fusion',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls.2/Imagine',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls.2/Material',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Controls.2/Universal',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Dialogs',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Dialogs/Private',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Extras',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Layouts',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/LocalStorage',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Particles.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Pdf',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/PrivateWidgets',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Scene2D',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Scene3D',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Shapes',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Templates.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Timeline',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/VirtualKeyboard',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/VirtualKeyboard/Settings',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/VirtualKeyboard/Styles',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/Window.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick/XmlListModel',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick.2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick3D',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick3D/Effects',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick3D/Helpers',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtQuick3D/Materials',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtRemoteObjects',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtScxml',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtSensors',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtTest',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWayland/Client/TextureSharing',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWayland/Compositor',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWayland/Compositor/TextureSharingExtension',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWebChannel',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWebEngine',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWebSockets',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/PySide2/Qt/qml/QtWebView',
'--deploy-deps-only', '/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/markupsafe',
'--deploy-deps-only', '/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/app_packages/shiboken2',
'--deploy-deps-only',
'/home/jimmy/dev/MyCartable/linux/MyCartable/MyCartable.AppDir/usr/lib/python3.8/lib-dynload']
Ok - so that's interesting, because that line was added in #451 as a fix for #420.
It looks like we need to do some more work establishing exactly how to handle Python binary modules with AppImage.
We have a minimal reproducible example here: https://github.com/GenevieveBuckley/hellopyside
Talley was nice enough to add a github actions workflow that builds on all three platforms. Briefcase 0.3.2 works for all platforms. With briefcase 0.3.3 it's working for mac and windows, but throws the libshiboken error for linux: https://github.com/GenevieveBuckley/hellopyside/runs/1064203493?check_suite_focus=true
I'm going to close this issue to consolidate the general problem of "Linux AppImage deployment has problems" under a single issue (#718).
Describe the bug error message : ERROR: Could not find dependency: libshiboken2.abi3.so.5.13 it's working en 0.3.2. This missing dependendy can't be added via
system-require
since it's in app_package. Maybe related to #458 Can't find a fix for nowTo Reproduce Create fresh Pyside2 app from briefcase new
Screenshots
Environment:
Additional context Add any other context about the problem here.