Summary: | gnome-base/librsvg-2.55.1 - thread 'main' panicked at 'Invalid TARGET: powerpc64-gentoo-linux-musl', /var/tmp/portage/gnome-base/librsvg-2.55.1/work/cargo_home/gentoo/system-deps-6.0.2/src/lib.rs:810:32 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
URL: | https://gitlab.gnome.org/GNOME/librsvg/-/issues/916 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
build.log (ppc64, 2.55.1)
emerge --info |
Description
ernsteiswuerfel
2022-11-06 14:46:01 UTC
Created attachment 828101 [details]
emerge --info
Hopefully will be fixed in next point release as soon as https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/770 is merged. Seems to be a separate issue after all, not related to upstream https://gitlab.gnome.org/GNOME/librsvg/-/issues/917 nor the upstream fix for this issue https://gitlab.gnome.org/GNOME/librsvg/-/commit/efa9ef9ecf15cd03ea5317308811a4bcc6f3d848 Upstream bug has been closed with following comment: "I have no idea of how build environments look for a platform like that. For 'exotic platforms', you are on your own 😃 I hope you find some ideas in these: The panic you are seeing comes from this check in system-deps where it checks that get_builtin_target_by_triple() was able to find a suitable target. In turn, get_builtin_target_by_triple() is implemented here, which works by just comparing the triple strings against the ALL_BUILTINS list. You'll notice that there's no triple there with gentoo in it. https://github.com/crossbeam-rs/crossbeam/pull/922 - replace the gentoo vendor in target triples with unknown. I have no idea if just replacing gentoo with unknown will work, although there is an entry for powerpc64-unknown-linux-musl, which may be what you want. What's easier for you to try? Patch something in system-deps or cfg-expr so they modify the triple string with unknown? Use a cross-compilation scheme to use an explicit powerpc64-unknown-linux-musl instead of gentoo's default? I'll close this bug because it is not really librsvg's fault." So how to proceed from here on? |