Hi Alexander, > I found the reason. Xournal++ needs gnome-icon-theme to be installed > as well. So it should probably go into the dependencies of the > package.
I can confirm this. I have never had any issues with Xournal++ and Guix but I use Gnome as my desktop environment so the gnome-icon-theme was already in the system profile. Indeed, if I run it in a pure environment , I can reproduce the error: --8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp -- xournalpp ** Message: 10:08:54.258: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:08:54.289: Plugin "MigrateFontSizes" UI initialized ** Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Crashed with signal 6 ** (xournalpp:2068): WARNING **: 10:08:54.371: [Crash Handler] Wrote crash log to: /home/daniel/.cache/xournalpp/errorlogs/errorlog.20211119-100854.log ** (xournalpp:2068): WARNING **: 10:08:54.478: Trying to emergency save the current open document? ** (xournalpp:2068): WARNING **: 10:08:54.478: Successfully saved document to "/home/daniel/.config/xournalpp/emergencysave.xopp" --8<---------------cut here---------------end--------------->8--- This is with the current Guix 188e3e2e6878346b0bdc8b46084f458abe86826c. I think this is definitely a bug and I have filed a bug report [1]. @Alexander: Do you want to work on that issue and provide a patch that adds the missing dependency? Best Daniel 1: https://issues.guix.gnu.org/51968
