Source: dbus-c++ Version: 0.9.0-16 Tags: patch User: [email protected] Usertags: ftcbfs
dbus-c++ fails to cross build from source, because building examples and tests requires running host code (a code generator). Neither are being installed into any binary package, but building them is a useful form of verification. Therefore I suggest skipping examples and tests when nocheck is enabled. This happens to be enabled for most cross builds, so that ends up fixing it. I'm attaching a patch for your convenience. Helmut
diff -Nru dbus-c++-0.9.0/debian/changelog dbus-c++-0.9.0/debian/changelog --- dbus-c++-0.9.0/debian/changelog 2026-01-10 00:43:46.000000000 +0100 +++ dbus-c++-0.9.0/debian/changelog 2026-01-10 09:33:05.000000000 +0100 @@ -1,3 +1,9 @@ +dbus-c++ (0.9.0-17) UNRELEASED; urgency=medium + + * Fix FTCBFS: Skip building examples and tests in nocheck builds. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 10 Jan 2026 09:33:05 +0100 + dbus-c++ (0.9.0-16) unstable; urgency=medium * QA upload diff -Nru dbus-c++-0.9.0/debian/rules dbus-c++-0.9.0/debian/rules --- dbus-c++-0.9.0/debian/rules 2026-01-10 00:42:45.000000000 +0100 +++ dbus-c++-0.9.0/debian/rules 2026-01-10 09:33:05.000000000 +0100 @@ -22,6 +22,8 @@ --enable-glib \ --disable-ecore \ --enable-doxygen-docs \ + --$(if $(filter nocheck,$(DEB_BUILD_PROFILES) $(DEB_BUILD_OPTIONS)),dis,en)able-examples \ + --$(if $(filter nocheck,$(DEB_BUILD_PROFILES) $(DEB_BUILD_OPTIONS)),dis,en)able-tests \ $(NULL) execute_before_dh_install:

