Source: libjson-rpc-cpp
Version: 0.7.0-2.2
Tags: patch
User:
debian-cross@lists.debian.org
Usertags: ftcbfs
libjson-rpc-cpp fails to cross build from source, because the build
requires a native jsonrpcstub to be installed but there is not. To get
there, I am proposing to add a recursive build dependency conditional to
cross compilation at the same time as marking the relevant package
Multi-Arch: foreign. In order for this to work argtable2 needs to be coinstallable #1101321, but this patch can be applied independently.
Helmut
diff --minimal -Nru libjson-rpc-cpp-0.7.0/debian/changelog libjson-rpc-cpp-0.7.0/debian/changelog
--- libjson-rpc-cpp-0.7.0/debian/changelog 2024-02-28 14:29:30.000000000 +0100
+++ libjson-rpc-cpp-0.7.0/debian/changelog 2025-03-25 13:20:14.000000000 +0100
@@ -1,3 +1,10 @@
+libjson-rpc-cpp (0.7.0-2.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Add a recursive build dependency for jsonrpcstub. (Closes: #-1)
+
+ -- Helmut Grohne <
helmut@subdivi.de> Tue, 25 Mar 2025 13:20:14 +0100
+
libjson-rpc-cpp (0.7.0-2.2) unstable; urgency=medium
* Non-maintainer upload.
diff --minimal -Nru libjson-rpc-cpp-0.7.0/debian/control libjson-rpc-cpp-0.7.0/debian/control
--- libjson-rpc-cpp-0.7.0/debian/control 2024-02-28 14:29:30.000000000 +0100
+++ libjson-rpc-cpp-0.7.0/debian/control 2025-03-25 13:20:13.000000000 +0100
@@ -10,6 +10,7 @@
libcurl4-openssl-dev | libcurl4-nss-dev,
libjsoncpp-dev,
libmicrohttpd-dev (>= 0.9.71),
+ libjsonrpccpp-tools <cross>,
Standards-Version: 4.6.1
Homepage:
https://github.com/cinemast/libjson-rpc-cpp
Vcs-Git:
https://salsa.debi