Source: icinga2
Version: 2.14.2-1
Severity: normal
Tags: ftbfs patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the icinga2 failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
99% tests passed, 1 tests failed out of 164
Total Test time (real) = 11.12 sec
The following tests FAILED:
152 - base-methods_pluginnotificationtask/truncate_long_output (Failed)
Errors while running CTest
make[2]: *** [Makefile:94: test] Error 8
......
```
The Full log can be found at
https://buildd.debian.org/status/logs.php?pkg=icinga2&ver=2.14.2-1&arch=loong64.
Refer for other architectures, please ignore 1 test failure on loong64.
Please consider the patch I attached.
Your opinions are welcome.
Thanks,
Dandan Zhang
diff --git a/debian/rules b/debian/rules
index a52a8e4..84a5798 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,7 @@ override_dh_auto_configure:
-DUSE_SYSTEMD=ON
override_dh_auto_test:
-ifneq (,$(filter $(DEB_BUILD_ARCH),i386 mips64el ppc64el powerpc))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 mips64el ppc64el powerpc loong64))
dh_auto_test || echo "Ignoring test failures"
else
dh_auto_test