From: Tirifto <tirifto@posteo.cz>
To: 60434@debbugs.gnu.org
Subject: bug#60434: librsvg from Guix makes native GIMP unable to find icons
Date: Fri, 30 Dec 2022 19:56:16 +0000 [thread overview]
Message-ID: <3500028.iIbC2pHGDl@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 2743 bytes --]
Hello! I use Guix as a supplementary package manager on OpenSUSE 15.4. I have
recently installed the package ‘librsvg’ in Guix, in order to fix a different
issue, where a different program (installed with Guix) wouldn’t show icons
without it [1]. But I noticed that doing so affects GIMP, a graphical program
installed natively in openSUSE, which can no longer show its own icons now.
The problem is solved by removing ‘librsvg’ from my Guix profile, logging out,
and logging back in. (But then, of course, the other program which needs
‘librsvg’ in my profile breaks again.)
Another solution is not to source my Guix profile in my login shell (thus
removing the appropriate line from my ‘~/.profile’ file), and to remove the
file ‘/etc/profile.d/guix.sh’, both of which seem to only define some
environment variables. (Of course, this breaks Guix’s whole integration with
the host system, so it’s not a good solution at all.) Removing only the
profile does not help.
I have observed the changes installing ‘librsvg’ made to the aforementioned
files, and to my environment:
‘guix.sh’ has not changed at all.
‘profile’ now defines the two following variables:
• XDG_DATA_DIRS
• GDK_PIXBUF_MODULE_FILE
These environment variables have been extended:
• XDG_DATA_DIRS was defined [2], now is prefixed with
‘/home/tirifto/.guix-profile/share’
• GDK_PIXBUF_MODULE_FILE was undefined, now is set to
‘/home/tirifto/.guix-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache’
When I run GIMP from the command line, it prints the errors attached in ‘gimp-
errors.txt’.
When I try to unset the changed variables for GIMP, using the following
command, the icons are still absent, but it prints less errors, which are
attached in ‘gimp-errors-no-env.txt’:
XDG_DATA_DIRS='/usr/local/share:/usr/share' GDK_PIXBUF_MODULE_FILE='' gimp
When I try to unset the changed variables with ‘unset’ before I actually run
GIMP, it works as expected, with no errors printed, like so:
unset XDG_DATA_DIRS
unset GDK_PIXBUF_MODULE_FILE
gimp
I’m not sure what’s the difference between those procedures, since I don’t
understand Bash that well, but maybe it can help someone who does understand
the problem better.
Best of wishes
// Tirifto
[1] https://issues.guix.gnu.org/60205
[2] XDG_DATA_DIRS already had ‘/home/tirifto/.guix-profile/share’ in it before
it was added to the profile, presumably coming from the aforementioned
‘guix.sh’. This means I now have ‘/home/tirifto/.guix-profile/share’ twice
in my path. I assume that’s not a problem, but found it curious.
[-- Attachment #2: gimp-errors.txt --]
[-- Type: text/plain, Size: 5322 bytes --]
(gimp:28933): Gtk-WARNING **: 20:00:42.089: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.207: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.221: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.249: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.251: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.318: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.466: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.468: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.485: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.487: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.535: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
(gimp:28933): Gtk-WARNING **: 20:00:42.547: Error loading theme icon 'image-missing' for stock: Unable to load image-loading module: /gnu/store/ifbq1dgjpy3v25d9wvmr64426jkfbhw7-librsvg-2.50.7/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/7b5qsjh2cbhwnqbdicvl81496k7b0g0j-libbsd-0.10.0/lib/libbsd.so.0)
WARNING: icon 'gimp-default-colors' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-wilber-eek' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-swap-colors' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-wilber-eek' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-image' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-wilber-eek' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-image' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-wilber-eek' failed to load. Check the files in your icon theme.
[-- Attachment #3: gimp-errors-no-env.txt --]
[-- Type: text/plain, Size: 332 bytes --]
WARNING: icon 'gimp-default-colors' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-swap-colors' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-image' failed to load. Check the files in your icon theme.
WARNING: icon 'gimp-image' failed to load. Check the files in your icon theme.
[-- Attachment #4: gimp-no-icons.png --]
[-- Type: image/png, Size: 13147 bytes --]
next reply other threads:[~2022-12-30 19:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-30 19:56 Tirifto [this message]
2023-01-05 20:54 ` bug#60434: librsvg from Guix makes native GIMP unable to find icons Josselin Poiret via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3500028.iIbC2pHGDl@localhost.localdomain \
--to=tirifto@posteo.cz \
--cc=60434@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.