x11-themes/adwaita-icon-theme fail to build on ARCH=riscv I've checked gnome-base/librsvg, it's built with USE="introspection vala" also can find /usr/lib64/lp64d/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so command to reproduce: /usr/bin/gtk-encode-symbolic-svg /var/tmp/portage/x11-themes/adwaita-icon-theme-3.38.0/work/adwaita-icon-theme-3.38.0/Adwaita/scalable/./status/network-cellular-edge-symbolic.svg 48x48 -o /var/tmp/portage/x11-themes/adwaita-icon-theme-3.38.0/image/usr/share/icons/Adwaita/48x48/./status/ Can't load file: Unrecognized image file format Reproducible: Always
Created attachment 699558 [details] full build log
I think the riscv@ team needs to have a look at this.
I will try to look into this, sounds it's bug related to x11-libs/gtk+
(In reply to Yixun Lan from comment #3) > I will try to look into this, sounds it's bug related to x11-libs/gtk+ I would start with librsvg
*** Bug 796392 has been marked as a duplicate of this bug. ***
update a little bit here.. found file of '/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache' is empty, no content generated, thus gdk-pixbuf-io.c: _gdk_pixbuf_get_module() fail to recognize svg module. this was happen with 17.0 2-level profile [1] now I switch to 20.0 1-level profile [2], and can't reproduce this issue. [1] profiles/default/linux/riscv/17.0/rv64gc/lp64d/ [2] profiles/default/linux/riscv/20.0/rv64gc/lp64d/
It generates it with ${EROOT%/}/usr/bin/${CHOST}-gdk-pixbuf-query-loaders with a fallback to ${EROOT%/}/usr/bin/gdk-pixbuf-query-loaders Maybe running that manually could have given some clues. Maybe something with the 2-level stuff, which might be hard to investigate if you've moved over to 1-level. If you don't give it any arguments, it prints the cache file to stdout
Doesn't seem to be occur with newer version of adwaita-icon-theme, which have since been keyworded for riscv. I do not see any ebuilds in the tree which depend on older versions. Closing.