Closed stsichler closed 4 years ago
The path mapping is missing the target part, it should be something like: /usr/lib/x86_64-linux-gnu/qt5:$APPDIR/usr/lib/x86_64-linux-gnu/qt5
It's required to add some validations to the runtime, for better error messages.
Hm. I just copy-pasted your corrected mapping line into my AppImageBuilder.yml, but it still crashes. Can you please post the corrected file here?
notice that the path mappings entry is a list and the source and target are joint by a :
version: 1
AppDir:
path: ./AppDir
app_info:
id: com.vrmagic.logviewer
name: LogViewer
icon: utilities-terminal
version: latest
exec: usr/bin/logviewer
exec_args: $@
runtime:
env:
APPDIR_LIBRARY_PATH: $APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu
path_mappings:
- /usr/lib/x86_64-linux-gnu/qt5:$APPDIR/usr/lib/x86_64-linux-gnu/qt5
apt:
arch: amd64
sources:
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted
universe multiverse
- sourceline: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted
- sourceline: deb http://security.ubuntu.com/ubuntu/ focal-security universe
- sourceline: deb http://security.ubuntu.com/ubuntu/ focal-security multiverse
include:
- libdbus-1-3
- libexpat1
- libgpg-error0
- liblzma5
- libpcre3
- libqt5svg5
- libsystemd0
- libtinfo6
- libuuid1
exclude: []
files:
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
# test:
# fedora:
# image: appimagecrafters/tests-env:fedora-30
# command: ./AppRun
# use_host_x: true
# debian:
# image: appimagecrafters/tests-env:debian-stable
# command: ./AppRun
# use_host_x: true
# arch:
# image: appimagecrafters/tests-env:archlinux-latest
# command: ./AppRun
# use_host_x: true
# centos:
# image: appimagecrafters/tests-env:centos-7
# command: ./AppRun
# use_host_x: true
# ubuntu:
# image: appimagecrafters/tests-env:ubuntu-xenial
# command: ./AppRun
# use_host_x: true
AppImage:
arch: x86_64
update-information: None
sign-key: None
Argh! It was the minus sign '-' that I was missing. Thank you!!!
You can close this issue if you want to.
Great, I'll work on the yml validation step.
when trying to execute the AppImage created from this AppDir.tar.gz, the following crash arises:
Also see AppImageBuilder.yml.zip