Closed ba32107 closed 3 years ago
Duplicate of https://github.com/AppImage/AppImageKit/issues/856. Won't be fixable until the upstream issue is fixed. Also, wrong tracker. This issue is created in https://github.com/linuxdeploy/linuxdeploy-plugin-appimage. Moving it there therefore.
Thanks for the info, I did find that other thread too, but I did not understand the dependency between these tools at the time.
This is now working - thanks.
Context
I am experimenting with creating my first AppImage, and I'm facing the following issue. When I supply an AppStream metadata file and try to build my AppImage, it fails with the following error:
I am new to this ecosystem, but I suspect what's happening is that the
appimagetool
bundled intolinuxdeploy
is somehow incompatible with the version ofappstreamcli
I have on my machine. Is this a possible root cause?Repro steps:
test
(in my example I copied/usr/bin/xargs
) and dummy icon calledtest.svg
test.desktop
(contents below)./linuxdeploy-x86_64.AppImage --appdir AppDir -e ./test -d ./test.desktop -i ./test.svg
test.appdata.xml
(contents below) and copy it intoAppDir/usr/share/metainfo
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
-- Creating basic AppDir structure -- Creating directory AppDir/usr/bin/ Creating directory AppDir/usr/lib/ Creating directory AppDir/usr/share/applications/ Creating directory AppDir/usr/share/icons/hicolor/ Creating directory AppDir/usr/share/icons/hicolor/16x16/apps/ Creating directory AppDir/usr/share/icons/hicolor/32x32/apps/ Creating directory AppDir/usr/share/icons/hicolor/64x64/apps/ Creating directory AppDir/usr/share/icons/hicolor/128x128/apps/ Creating directory AppDir/usr/share/icons/hicolor/256x256/apps/ Creating directory AppDir/usr/share/icons/hicolor/scalable/apps/
-- Deploying dependencies for existing files in AppDir -- Deploying dependencies for ELF file AppDir/usr/bin/test Skipping deployment of blacklisted library /lib/x86_64-linux-gnu/libc.so.6
-- Copying files into AppDir -- Setting rpath in ELF file AppDir/usr/bin/test to $ORIGIN/../lib
-- Copying files into AppDir --
-- Deploying files into AppDir root directory -- WARNING: No desktop file specified, using first desktop file found: AppDir/usr/share/applications/test.desktop Deploying files to AppDir root using desktop file: AppDir/usr/share/applications/test.desktop Deploying desktop file to AppDir root: AppDir/usr/share/applications/test.desktop Creating symlink for file AppDir/usr/share/applications/test.desktop in/as AppDir Deploying icon to AppDir root: AppDir/usr/share/icons/hicolor/scalable/apps/test.svg Creating symlink for file AppDir/usr/share/icons/hicolor/scalable/apps/test.svg in/as AppDir WARNING: Existing AppRun detected, skipping deployment of symlink
-- Running output plugin: appimage -- [appimage/stdout] Found appimagetool: /tmp/.mount_linuxdhqPhgm/plugins/linuxdeploy-plugin-appimage/usr/bin/appimagetool [appimage/stdout] [appimage/stderr] Running command: /tmp/.mount_linuxdhqPhgm/plugins/linuxdeploy-plugin-appimage/usr/bin/appimagetool "AppDir" "-g" [appimage/stderr] [appimage/stdout] /home/balazs/testcase/AppDir should be packaged as test-test-x86_64.AppImage [appimage/stdout] Trying to validate AppStream information with the appstreamcli tool [appimage/stdout] In case of issues, please refer to https://github.com/ximion/appstream [appimage/stderr] appimagetool, continuous build (commit 0880085), build 2133 built on 2020-07-09 12:25:52 UTC [appimage/stderr] Using architecture x86_64 [appimage/stderr] AppStream upstream metadata found in usr/share/metainfo/test.appdata.xml [appimage/stderr] /usr/bin/appstreamcli: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1: undefined symbol: g_file_info_get_modification_date_time [appimage/stderr] Failed to validate AppStream information with appstreamcli ERROR: Failed to run plugin: appimage (exit code: 1)
[Desktop Entry] Type=Application Name=test Icon=test Exec=test Categories=Development;
Versions:
Thanks for looking into this.