Bug#1095962: performous FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck
Helmut Grohne
helmut at subdivi.de
Fri Feb 14 08:43:33 GMT 2025
Source: performous
Version: 1.3.0+ds-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
performous fails to cross build from source, because it fails running
its tests despite nocheck being set in DEB_BUILD_OPTIONS. I'm proposing
the attached patch to properly disable testing for nocheck builds.
Unfortunately, this does not make performous cross build as it also uses
help2man and there is little we can do about that. Please close this bug
report even when leaving help2man unaddressed.
Helmut
-------------- next part --------------
diff --minimal -Nru performous-1.3.0+ds/debian/changelog performous-1.3.0+ds/debian/changelog
--- performous-1.3.0+ds/debian/changelog 2024-11-29 17:47:59.000000000 +0100
+++ performous-1.3.0+ds/debian/changelog 2025-02-14 08:28:17.000000000 +0100
@@ -1,3 +1,11 @@
+performous (1.3.0+ds-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Improve cross building: Don't run unit tests when DEB_BUILD_OPTIONS
+ contains nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 14 Feb 2025 08:28:17 +0100
+
performous (1.3.0+ds-2) unstable; urgency=medium
* Team Upload
diff --minimal -Nru performous-1.3.0+ds/debian/rules performous-1.3.0+ds/debian/rules
--- performous-1.3.0+ds/debian/rules 2024-11-29 17:34:48.000000000 +0100
+++ performous-1.3.0+ds/debian/rules 2025-02-14 08:27:47.000000000 +0100
@@ -33,7 +33,8 @@
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)
override_dh_install:
dh_install
More information about the Pkg-games-devel
mailing list