Summary: | net-libs/glib-networking: cross-compiling fails from giomodule cache | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Michael <fedora.dm0> |
Component: | Current packages | Assignee: | Cross compilation support <cross> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Michael
2020-11-28 19:20:32 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6f9ad2c9c3dd85ae5f538a0a50cb1cd3a84ada commit 9f6f9ad2c9c3dd85ae5f538a0a50cb1cd3a84ada Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2020-12-03 04:04:39 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-12-07 22:06:34 +0000 gnome2-utils.eclass: skip executing cross-compiled tools Executing tools installed in ROOT will fail when cross-compiling, so this prints a warning about manually running the command instead in that case. The warning is copied from dev-libs/glib. This also reorders the exception handling by increasing severity so that the "nothing to do" non-error returns first, otherwise the expected problem of unexecutable cross-compiled commands returns, otherwise the unexpected problem of missing commands returns. The immodule cache functions were updated to handle a different problem. They run native tools from BROOT, but they are not guaranteed to exist while cross-compiling (e.g. gtk+ can't BDEPEND on itself, so the cross-compiled gtk+ can be installed before the native gtk+, which fails from gtk-query-immodules not existing). Closes: https://bugs.gentoo.org/611030 Closes: https://bugs.gentoo.org/757483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org> eclass/gnome2-utils.eclass | 98 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 75 insertions(+), 23 deletions(-) |