Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751325 - meson.eclass: Support for setting exe wrapper for crosscompilation
Summary: meson.eclass: Support for setting exe wrapper for crosscompilation
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
: 850895 (view as bug list)
Depends on:
Reported: 2020-10-26 11:30 UTC by Hasso Tepper
Modified: 2024-02-23 18:33 UTC (History)
6 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2020-10-26 11:30:52 UTC
_meson_create_cross_file() sets needs_exe_wrapper to true, but there seems to be no way to set exe wrapper program itself (exe_wrapper variable in binaries section). IMHO there should be a way to set it via environment.

Reproducible: Always

Steps to Reproduce:
Try to crossbuild dev-libs/gobject-introspection.

Actual Results:  
Build fails with:
Cannot use target g-ir-compiler as a generator because it is built for the
host machine and no exe wrapper is defined or needs_exe_wrapper is
Comment 1 Raul Rangel 2023-08-29 21:43:33 UTC
Just FYI, we have a work around for this in our chromiumos code:
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-23 17:17:13 UTC
*** Bug 850895 has been marked as a duplicate of this bug. ***