Call for testing: Snapcraft 9.0

  • Remote build with Snapcraft 9.0.0 + core24 + kde-neon-6 extension lacks default LD_LIBRARY_PATH.

It was working 8days ago with same source code (w/ Snapcraft 8.14.5).

/snap/qbittorrent-desktop-tak/48/usr/bin/qbittorrent: error while loading shared libraries: libtorrent-rasterbar.so.2.0: cannot open shared object file: No such file or directory
ls -l /snap/qbittorrent-desktop-tak/48/usr/lib/x86_64-linux-gnu/
total 7175
lrwxrwxrwx 1 root root      27 Jun 16 08:40 libtorrent-rasterbar.so -> libtorrent-rasterbar.so.2.0
lrwxrwxrwx 1 root root      30 Jun 16 08:40 libtorrent-rasterbar.so.2.0 -> libtorrent-rasterbar.so.2.0.13
-rw-r--r-- 1 root root 7347008 Jun 16 08:40 libtorrent-rasterbar.so.2.0.13

from snap shell:

LD_LIBRARY_PATH=/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib:/snap/qbittorrent-desktop-tak/48/lxqt-support-core24/usr/lib/x86_64-linux-gnu::/snap/qbittorrent-desktop-tak/48/gpu-2404/usr/lib/x86_64-linux-gnu:/snap/qbittorrent-desktop-tak/48/gpu-2404/usr/lib/x86_64-linux-gnu/vdpau:/snap/qbittorrent-desktop-tak/48/gpu-2404/usr/lib/i386-linux-gnu:/snap/qbittorrent-desktop-tak/48/gpu-2404/usr/lib/i386-linux-gnu/vdpau:/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/snap/qbittorrent-desktop-tak/48/kf6/lib/x86_64-linux-gnu:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib:/snap/qbittorrent-desktop-tak/48/kf6/lib:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu/libproxy:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu/blas:/snap/qbittorrent-desktop-tak/48/kf6/usr/lib/x86_64-linux-gnu/lapack

  • Random install errors
sudo snap install qbittorrent-desktop-tak_5.1.4-v2_amd64.snap --dangerous --name=qbittorrent-desktop-tak_2
error: cannot perform the following tasks:
- Run configure hook of "qbittorrent-desktop-tak_2" snap if present (run hook "configure":
-----
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Materia-compact /snap/qbittorrent-desktop-tak/x1/data-dir/themes/Materia-compact none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1535/share/gtk2/Materia-compact" because it would affect the host in "/snap"
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Materia-dark-compact /snap/qbittorrent-desktop-tak/x1/data-dir/themes/Materia-dark-compact none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1535/share/gtk2/Materia-dark-compact" because it would affect the host in "/snap"
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-dark /snap/qbittorrent-desktop-tak/x1/data-dir/themes/Yaru-MATE-dark none bind,ro 0 0): cannot use "/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-dark" as bind-mount source: not a directory
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-light /snap/qbittorrent-desktop-tak/x1/data-dir/themes/Yaru-MATE-light none bind,ro 0 0): cannot use "/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-light" as bind-mount source: not a directory
cannot preserve mount namespace of process 197773 as qbittorrent-desktop-tak_2.mnt: Invalid argument
unexpected eof from helper process
-----)
snap install qbittorrent-desktop-tak_5.1.4-v2_amd64.snap --dangerous --name=qbittorrent-desktop-tak_2
qbittorrent-desktop-tak_2 5.1.4-v2 installed