#1135759 dublin-traceroute: FTBFS with libjsoncpp 1.9.7

#1135759#5
Date:
2026-05-05 15:40:19 UTC
From:
To:
Dear maintainer,

your package fails to build with libjsoncpp 1.9.7, because
libjsoncpp uses C++17 features, but your packages forces
an earlier C++ standard.

This bug will become release-critical once libjsoncpp hits
unstable in a couple of weeks. In most cases, it is sufficient
to remove CXX_STANDARD variable definitions from CMakeLists.txt

Hopefully relevant excerpt from build log:

[ 87%] Building CXX object
CMakeFiles/dublin-traceroute.dir/src/main.cc.o
/usr/lib/ccache/c++  -I/build/reproducible-path/dublin-traceroute-0.4.2/include -I/usr/include/jsoncpp -g -O2 -ffile-prefix-map=/build/reproducible-path/dublin-traceroute-0.4.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -MD -MT CMakeFiles/dublin-traceroute.dir/src/main.cc.o -MF CMakeFiles/dublin-traceroute.dir/src/main.cc.o.d -o CMakeFiles/dublin-traceroute.dir/src/main.cc.o -c /build/reproducible-path/dublin-traceroute-0.4.2/src/main.cc
[100%] Linking CXX executable dublin-traceroute
/usr/bin/cmake -E cmake_link_script CMakeFiles/dublin-traceroute.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-ld.bfd: libdublintraceroute.so.0.1.1: undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/x86_64-linux-gnu-ld.bfd: libdublintraceroute.so.0.1.1: undefined reference to `Json::Value::operator[](char const*)'
collect2: error: ld returned 1 exit status
/usr/lib/ccache/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/dublin-traceroute-0.4.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/dublin-traceroute.dir/link.d "CMakeFiles/dublin-traceroute.dir/src/main.cc.o" -o dublin-traceroute  -Wl,-rpath,/build/reproducible-path/dublin-traceroute-0.4.2/obj-x86_64-linux-gnu: libdublintraceroute.so.0.1.1 /usr/lib/x86_64-linux-gnu/libtins.so.4.5 /usr/lib/x86_64-linux-gnu/libpcap.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so -ljsoncpp
make[3]: *** [CMakeFiles/dublin-traceroute.dir/build.make:109: dublin-traceroute] Error 1
make[3]: Leaving directory '/build/reproducible-path/dublin-traceroute-0.4.2/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:125: CMakeFiles/dublin-traceroute.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/dublin-traceroute-0.4.2/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/dublin-traceroute-0.4.2/obj-x86_64-linux-gnu'


Cheers
Timo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmn6D18ACgkQzIxr3RQD
9MrueQ/+Nu7GJO+tDGjnt6/41bLAA2S8Ll/+8LP12VFvWllTDk+Oe8pfE4SX4hJp
WOiwivQlPLDsen0hg0pz5+jciUOu6S8i0G7GWZg3BX1wSsm7tEcWyn8CLXlEr/W3
sSiXVfOP/0V+KNM1u/jWDPtF6qY21cxmp14H5DBjv7DsWbOpT3jsphCe5zU+eOSg
91rNmKRsXP9fhJWian3ff7o4QUQ/9SRyJ2aLw9q8Mx3GjkD5r6notifu9klvY0qb
PI84Bg1qg8FJeF/9mn1LTftQ67X0lKNAnjXdBz9jHAE8DjpVEJ+rDsv8USAbl4yL
0fOsDiEBmDn8fU4cod/P5ttFZKjTMUsUR4UbZ4xRpHmGgvDi7CHzupyaj4juyWE+
jskPq4/rc8+eycZqJ/FPlJNbs4vfLBUvQaK3OQIxbaZDxCvqQJM9nyQaS0tg9OlD
clRISjNXrGvqyPmt2NOF7OUrfDDxM8N7c6xDaeoQr31GRqGmEAeD/p5o0M3Pt6Gd
jHO27TQo3Q8lum/wLQ624FLE2Sq0ZVxKBvD+MGdQOCfLuiEMTdjeFgcIaOm4dj3B
b7q4H3Yt/y1Xms4P0qxydfZQKx+tbHPIrheBcbnqJFInFbmFkxMvmDyLMKNedYBz
UxrvjJIg/JSPSAV+jUxSbmXpw1h3RU5eicI97vCHu8H/65IjWaE=
=vX35
-----END PGP SIGNATURE-----

#1135759#10
Date:
2026-05-06 08:38:21 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libjsoncpp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1135759@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Röhling <roehling@debian.org> (supplier of updated libjsoncpp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 06 May 2026 10:05:30 +0200
Source: libjsoncpp
Architecture: source
Version: 1.9.7-2
Distribution: unstable
Urgency: medium
Maintainer: Timo Röhling <roehling@debian.org>
Changed-By: Timo Röhling <roehling@debian.org>
Closes: 1135759 1135760 1135761 1135769 1135772 1135776
Changes:
 libjsoncpp (1.9.7-2) unstable; urgency=medium
 .
   * Update d/copyright
   * Prevent ABI breakage with pre-C++17 code
     (Closes: #1135759, #1135760, #1135761, #1135769, #1135772, #1135776)
   * Revert SONAME bump
 .
 libjsoncpp (1.9.7-1) experimental; urgency=medium
 .
   * Add symbols file
   * New upstream version 1.9.7
   * Update patches
     - Merged: 0001-Stop-using-removed-cgi-module.patch
   * Bump Standards-Version to 4.7.4
   * Update d/copyright
   * Bump SOVERSION to 27
Checksums-Sha1:
 abf73fdc3ebb694a4d7bfd97158994637b309bb3 2220 libjsoncpp_1.9.7-2.dsc
 accd290f8e1a4ed854c8ba0f895d044da4aefe8c 14516 libjsoncpp_1.9.7-2.debian.tar.xz
Checksums-Sha256:
 bc16fa326a324c2455d7ce0bd49d3970b0c4fe222a78200d40e1a60c0728da80 2220 libjsoncpp_1.9.7-2.dsc
 b67cb6716467f4d6a8978f61cba68e0deb36175f397425b0e8c58298db5783a6 14516 libjsoncpp_1.9.7-2.debian.tar.xz
Files:
 10321193d56d0dad2bf9626955dd77f2 2220 libs optional libjsoncpp_1.9.7-2.dsc
 38720d5901e6062732890600a6596efc 14516 libs optional libjsoncpp_1.9.7-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmn6+TgACgkQzIxr3RQD
9Mqu0BAAtbM3GWAGobxlX7vvM4e0aDeSYt3fWnsXyV91eBLEQ5ecPrIFr/IsRTFY
3z8OQt6RgymHOlw9z+fep8wDZxUGoM4uNye457tvpjHxpVge8kn0ftW1sabaRqTQ
g1125Lm4YeJxY8CRlRCFG59M3lalGKem/nattd3R8+sfSzaK5pd30v7Jdpr6DFKd
27RUPM8c7HbHJ/LLQJCdiblxDrkh36z/Lfxsm5hF+y+1GWy1xsOnFDCOFMzm7gZo
+LUSbzXnsJqtly2c4xDTQOtRMhKsG2akpqgO9+nU3Szxn5yYvHvp9znNpsraiU/j
2GgVtphvI9pjAnh2QFGgV4S8uU9FTPPd2zRvmDFP+vlxtB2qVR5ZesXTnyydOAJL
Zp7j/PbdoUfbaxqgxPz70ddLqKOAHCQyJ5PmXdEDs9c5ssdpbT0phG19V57ph52h
gFDB+RG16m6WZ3XXrtFeLFlVEzkSGqcDzHWhlR6WV0izoIhBPbTYIRuuZLfX/Nll
z9vKVOamGBuK9qojzz4qQHzhDUL0CqXRD/OUIXYdIf2UdzksBdouxLc9MpIHhMQS
sTh+g/5God9o3L8fs2wxsH53e6Xd2mwuZwzS+bCMKTa9roAMd8q7koK4aeuMp9Qr
D4f1nscP8RbJfuD463yHeWMv5hGQhpq9cBWS597/n1ui1T5Hl6E=
=fn71
-----END PGP SIGNATURE-----