Source: pagetools Version: 0.1-3.1 Tags: patch User: [email protected] Usertags: ftcbfs
pagetools fails to cross build from source, because it uses the build architecture compiler. While most packages use CXX for the C++ compiler, this one uses C++ and that's not what dh_auto_build substitutes. I'm attaching a patch that also assigns C++ and thus makes cross building succeed. Please consider applying it. Helmut
diff -Nru pagetools-0.1/debian/changelog pagetools-0.1/debian/changelog --- pagetools-0.1/debian/changelog 2024-11-19 22:03:02.000000000 +0100 +++ pagetools-0.1/debian/changelog 2025-09-30 22:23:03.000000000 +0200 @@ -1,3 +1,10 @@ +pagetools (0.1-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass C++ compiler as C++ variable. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 30 Sep 2025 22:23:03 +0200 + pagetools (0.1-3.1) unstable; urgency=medium * Non-maintainer upload diff -Nru pagetools-0.1/debian/rules pagetools-0.1/debian/rules --- pagetools-0.1/debian/rules 2024-11-19 22:03:02.000000000 +0100 +++ pagetools-0.1/debian/rules 2025-09-30 22:23:03.000000000 +0200 @@ -6,4 +6,4 @@ dh $@ override_dh_auto_build: - dh_auto_build -- C++_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" + dh_auto_build -- 'C++ = $$(CXX)' C++_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"

