Source: libjsoncpp
Version: 1.9.4-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libjsoncpp fails to cross build from source, because it fails running
tests despite DEB_BUILD_OPTIONS=nocheck. The cause is a subtle typo in
debian/rules. Please consider applying the attached patch.

Helmut
diff --minimal -Nru libjsoncpp-1.9.4/debian/changelog 
libjsoncpp-1.9.4/debian/changelog
--- libjsoncpp-1.9.4/debian/changelog   2020-12-09 09:26:21.000000000 +0100
+++ libjsoncpp-1.9.4/debian/changelog   2020-12-15 20:26:59.000000000 +0100
@@ -1,3 +1,10 @@
+libjsoncpp (1.9.4-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 15 Dec 2020 20:26:59 +0100
+
 libjsoncpp (1.9.4-3) unstable; urgency=medium
 
   * Team upload (salsa.d.o/debian namespace)
diff --minimal -Nru libjsoncpp-1.9.4/debian/rules libjsoncpp-1.9.4/debian/rules
--- libjsoncpp-1.9.4/debian/rules       2020-12-09 09:26:12.000000000 +0100
+++ libjsoncpp-1.9.4/debian/rules       2020-12-15 20:26:57.000000000 +0100
@@ -12,7 +12,7 @@
        dh_auto_configure -- \
                        -DBUILD_STATIC_LIBS=OFF \
                        -DBUILD_OBJECT_LIBS=OFF \
-                       -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp
+                       -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp \
                        $(CONFIGURE_FLAGS)
 
 override_dh_auto_test:

Reply via email to