Bug 390162 - Digikam-5.9.0 appimage fail to start
Summary: Digikam-5.9.0 appimage fail to start
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 5.9.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 16:45 UTC by pascal lacroix
Modified: 2022-01-31 13:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pascal lacroix 2018-02-09 16:45:43 UTC
$ ./digikam-5.9.0-20180209T014824-x86-64.appimage 
-- digiKam AppImage Bundle

...

capi::version: 0.6.0
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0
AL lib: alsa.c:257: control open (0): Aucun fichier ou dossier de ce type
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file ././/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0
digikam: src/hostapi/alsa/pa_linux_alsa.c :1454 : BuildDeviceList:  l'assertion « devIdx < numDeviceNames » a échoué.
/tmp/.mount_digikasdTlHs/AppRun : ligne 73 : 23514 Abandon                 digikam $@

$ ./digikam-5.9.0-20180201T052342-x86-64.appimage

start fine
Comment 1 caulier.gilles 2018-02-09 17:32:33 UTC
Some users report a missing OpenAL shared lib to include in the bundle.

I suspect an init of the library at startup parsing audio hardware (Alsa layer here), and a problem to detect config file.

GilleS Caulier
Comment 2 caulier.gilles 2018-02-09 18:08:16 UTC
./digikam-5.9.0-20180209T014824-x86-64.appimage start properly here under Mageia6...


Which Linux system do you use exactly ?

Gilles Caulier
Comment 3 pascal lacroix 2018-02-09 18:39:21 UTC
My system is Linux Mint 18.3 "Sylvia", Cinnamon 64-bits

Pascal LACROIX
Comment 4 pascal lacroix 2018-02-09 21:06:11 UTC
As you said, some users report a missing OpenAL shared lib to include in the bundle:

I try with alsoft-conf and libopenal-dev installed and now, ./digikam-5.9.0-20180209T014824-x86-64.appimage start now properly on my system

Pascal LACROIX
Comment 5 meku 2018-02-13 08:49:25 UTC
Same error on Ubuntu 17.10 with digikam-5.9.0-20180209T014824-x86-64.appimage
Comment 6 caulier.gilles 2018-02-21 16:36:48 UTC
diff --git a/project/bundles/appimage/04-build-appimage.sh b/project/bundles/appimage/04-build-appimage.sh
index 1f68358..402bcfd 100755
--- a/project/bundles/appimage/04-build-appimage.sh
+++ b/project/bundles/appimage/04-build-appimage.sh
@@ -300,7 +300,8 @@ rm -f usr/lib/libusb-1.0.so.0 || true
 rm -f usr/lib/libuuid.so.1 || true
 rm -f usr/lib/libwind.so.0 || true
 rm -f usr/lib/libfontconfig.so.* || true
-#rm -f usr/lib/libopenal.so.1 || true
+# Remove this library, else appimage cannot be started properly (Bug #390162)
+rm -f usr/lib/libopenal.so.1 || true
 
 # Remove these libraries, we need to use the system versions; this means 11.04 is not supported (12.04 is our baseline)
 rm -f usr/lib/libGL.so.* || true
Comment 7 caulier.gilles 2018-02-22 08:40:03 UTC
Git commit 69ad3e7e451ec32102b035a8a4f5a775be1e7927 by Gilles Caulier.
Committed on 21/02/2018 at 16:33.
Pushed by cgilles into branch 'master'.

remove openal from the bundle and use system lib instead.
FIXED-IN: 5.9.0

M  +2    -1    project/bundles/appimage/04-build-appimage.sh

https://commits.kde.org/digikam-software-compilation/69ad3e7e451ec32102b035a8a4f5a775be1e7927