-
Notifications
You must be signed in to change notification settings - Fork 310
Description
Describe the bug
Recipes/scripts from @probonopd's pkg2appimage which use the built-in convert binary (which is itself an AppImage) crash before using this command, with the error message:
/usr/bin/AppImageLauncher: /tmp/.mount_pkg2apnDXHnv/usr/lib/x86_64-linux-gnu/liblzma.so.5: version 'XZ_5.2' not found (required by /usr/lib/libarchive.so.13)
i.e. AppImageLauncher tries to integrate the convert AppImage within pkg2appimage, but due to the latter setting up environment variables such as LD_LIBRARY_PATH, conflicts occur.
Expected behavior
AppImageLancher should be able to detect AppImages running within AppImages.
To reproduce
File: example.yml
app: convert-test
ingredients:
script:
- wget "https://www.iana.org/_img/2013.1/iana-logo-header.svg" -O iana.svg
- convert iana.svg iana.png
Run with through pkg2appimage: ./pkg2appimage-1794-x86_64.AppImage example.yml
Right after the output line:
+ convert iana.svg iana.png
The error message /usr/bin/AppImageLauncher: /tmp/.mount_pkg2apnDXHnv/usr/lib/x86_64-linux-gnu/liblzma.so.5: version 'XZ_5.2' not found (required by /usr/lib/libarchive.so.13) will appear and the program will halt.
System, software and AppImage information
OS: Arch Linux (last updated: 2020-10-20)
AppImageLauncher version: 2.2.0 (AUR Release: 1)
pkg2appimage: continuous, 1794