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

Helmut Grohne helmut at subdivi.de
Sun Jan 21 11:56:49 GMT 2024


Source: gjs
Version: 1.78.2-2
Tags: patch upstream
User: debian-cross at 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 into effect,
because cxx.run() aborts meson execution during cross compilation. I'm
proposing the attached patch to skip cxx.run() when cross compiling
(with the previous warning). This allows the build to continue until it
runs into #1060838, which hopefully is to be fixed elsewhere.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 2369 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20240121/7741fdee/attachment.patch>


More information about the pkg-gnome-maintainers mailing list