Bug#1061250: gjs FTCBFS: cxx.run always fails cross compilation

2024-01-21 Thread Helmut Grohne
Hi Simon, On Sun, Jan 21, 2024 at 03:50:17PM +, Simon McVittie wrote: > On Sun, 21 Jan 2024 at 12:56:49 +0100, Helmut Grohne wrote: > > +if meson.is_cross_build() > > In my experience, this function call is usually the wrong tool: > I think it would likely be more in line with what upstream

Bug#1061250: gjs FTCBFS: cxx.run always fails cross compilation

2024-01-21 Thread Simon McVittie
On Sun, 21 Jan 2024 at 12:56:49 +0100, Helmut Grohne wrote: > +if meson.is_cross_build() In my experience, this function call is usually the wrong tool: I think it would likely be more in line with what upstream wants if it was based on "if not meson.can_run_host_binaries()", so that if we happen

Bug#1061250: gjs FTCBFS: cxx.run always fails cross compilation

2024-01-21 Thread Helmut Grohne
Source: gjs Version: 1.78.2-2 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs gjs fails to cross build from source, because meson.build uses cxx.run(). While meson.build also considers a failure from cxx.run() with a warning when cross compiling, that code never goes