Bug#1098912: yabause FTCBFS: fails to locate a working build compiler as it passes host flags

Helmut Grohne helmut at subdivi.de
Mon Feb 24 15:50:30 GMT 2025


Source: yabause
Version: 0.9.15-3
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

yabause fails to cross build from source as it passes host compiler
flags to the build compiler. It already is pretty clever as it has two
code generators that are used as ExternalProject_Add to switch the
compiler from host to build, but Debian communicates compiler flags via
the environment and these ExternalProjects do not yet clear the
environment. As a result, the host compiler flags set up by Debian leak
into those ExternalProjects and trip up the build architecture compiler
there. I'm attaching a patch that clears them. Once applied, yabause
cross builds successfully. What do you think?

Helmut


More information about the Pkg-games-devel mailing list