probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.2k stars 409 forks source link

ERROR: no file at "/usr/lib/appdir/usr/lib/appdirappdir" #161

Open aurhat opened 7 years ago

aurhat commented 7 years ago

See the line: https://travis-ci.org/aurhat/cubelister/builds/264944735#L2974 :

$ ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
Desktop file as first argument: "./appdir/usr/share/applications/csl.desktop"
[...]
Copied "/home/travis/build/aurhat/cubelister/appdir/usr/share/pixmaps/csl.png" to "/home/travis/build/aurhat/cubelister/appdir/csl.png"
ERROR: no file at "/usr/lib/appdir/usr/lib/appdirappdir"

The command "./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs" exited with 0.
probonopd commented 7 years ago

Please run with -verbose=2 and post the last few lines, thanks.

aurhat commented 7 years ago

https://travis-ci.org/aurhat/cubelister/builds/265287901#L2692 - for verbose=2 (I don't see nothing wrong)

https://travis-ci.org/aurhat/cubelister/builds/265298911#L2839 - for verbose=3:

Log: rpath: "$ORIGIN/../lib/"
Log: bundleLibraryDirectory: "usr/lib/"
Log: parsing "appdir/usr/lib/libcslengine.so.1"
Log: excludelist: ("libasound.so.2", "libcom_err.so.2", "libcrypt.so.1", "libc.so.6", "libdl.so.2", "libdrm.so.2", "libexpat.so.1", "libfontconfig.so.1", "libgcc_s.so.1", "libgdk_pixbuf-2.0.so.0", "libgdk-x11-2.0.so.0", "libgio-2.0.so.0", "libglib-2.0.so.0", "libGL.so.1", "libgobject-2.0.so.0", "libgpg-error.so.0", "libgssapi_krb5.so.2", "libgtk-x11-2.0.so.0", "libICE.so.6", "libidn.so.11", "libk5crypto.so.3", "libkeyutils.so.1", "libm.so.6", "libnss3.so", "libnssutil3.so", "libp11-kit.so.0", "libpangoft2-1.0.so.0", "libpangocairo-1.0.so.0", "libpango-1.0.so.0", "libpthread.so.0", "libresolv.so.2", "librt.so.1", "libselinux.so.1", "libSM.so.6", "libstdc++.so.6", "libusb-1.0.so.0", "libuuid.so.1", "libX11.so.6", "libxcb.so.1", "libz.so.1")
Log: Adding library:
Log: Library name "appdir" 
 Library directory "/usr/lib/appdir/usr/lib/" 
 Library path "/usr/lib/appdir/usr/lib/appdirappdir" 
 Binary directory "/usr/lib/appdir/usr/lib/" 
 Binary name "appdirappdir" 
 Binary path "/usr/lib/appdir/usr/lib/appdirappdir" 
 Version "" 
 Install name "" 
 Deployed install name "$ORIGIN" 
 Source file Path "/usr/lib/appdir/usr/lib/appdirappdir" 
 Library Destination Directory (relative to bundle) "usr/lib//" 
 Binary Destination Directory (relative to bundle) "usr/lib//"
TheAssassin commented 7 years ago

The actually interesting lines are in the second log: https://travis-ci.org/aurhat/cubelister/builds/265298911#L2838

probonopd commented 7 years ago

Something is clearly going very wrong here but I don't know yet what causes this.

probonopd commented 7 years ago

But then, the AppImage at https://github.com/aurhat/cubelister/releases seems to work just fine and even find its plugins...