Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782616 - x11-themes/adwaita-icon-theme-3.38.0: ARCH=riscv, Can't load file: Unrecognized image file format
Summary: x11-themes/adwaita-icon-theme-3.38.0: ARCH=riscv, Can't load file: Unrecogniz...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: RISCV project
URL:
Whiteboard:
Keywords:
: 796392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-13 07:19 UTC by Yixun Lan
Modified: 2022-01-20 22:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (build.log.xz,2.38 KB, application/x-xz)
2021-04-13 07:20 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2021-04-13 07:19:15 UTC
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
Comment 1 Yixun Lan archtester gentoo-dev 2021-04-13 07:20:36 UTC
Created attachment 699558 [details]
full build log
Comment 2 Matt Turner gentoo-dev 2021-04-20 02:18:07 UTC
I think the riscv@ team needs to have a look at this.
Comment 3 Yixun Lan archtester gentoo-dev 2021-04-29 04:41:22 UTC
I will try to look into this, sounds it's bug related to x11-libs/gtk+
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-29 04:45:58 UTC
(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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-17 03:46:32 UTC
*** Bug 796392 has been marked as a duplicate of this bug. ***
Comment 6 Yixun Lan archtester gentoo-dev 2021-06-28 08:55:58 UTC
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/
Comment 7 Mart Raudsepp gentoo-dev 2021-06-28 09:01:01 UTC
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
Comment 8 Marek Szuba archtester gentoo-dev 2022-01-20 22:25:22 UTC
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.