Bug#1119124: boulder-game FTCBFS: multiple reasons
Helmut Grohne
helmut at subdivi.de
Sat Oct 25 20:14:15 BST 2025
Source: boulder-game
Version: 1.02+ds-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs
boulder-game fails to cross build from source for two distinct reasons.
The immediate failure arises from hard coding the build architecture
pkg-config in the upstream Makefile. The result is that a package cannot
be found and the missing flags result in an #include not being found.
Once making pkg-config substitutable, dh_auto_build is able to supply a
host architecture one.
The other failure arises from storing g++ in CC. The CC variable is
typically used for the C compiler, so dh_auto_build overrides it with a
C cross compiler. That doesn't go well when the actual source is C++.
Renaming the variable to CXX - the common variable for a C++ compiler -
fixes this aspect.
I'm attaching a patch for your convenience. Please also consider
forwarding it upstream.
Helmut
More information about the Pkg-games-devel
mailing list