#1136784 vzlogger: FTBFS: /usr/include/mosquitto/libcommon_cjson.h:31:10: fatal error: cjson/cJSON.h: No such file or directory

#1136784#5
Date:
2026-05-15 18:10:34 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:vzlogger, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sed -i "s#set(VZLOGGER_MAJOR_VERSION.*)#set(VZLOGGER_MAJOR_VERSION 0)#" CMakeLists.txt
sed -i "s#set(VZLOGGER_MINOR_VERSION.*)#set(VZLOGGER_MINOR_VERSION 8)#" CMakeLists.txt
sed -i "s#set(VZLOGGER_SUB_VERSION.*)#set(VZLOGGER_SUB_VERSION 9)#" CMakeLists.txt
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_configure
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

#1136784#10
Date:
2026-05-15 21:34:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mosquitto, 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 1136784@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Zobel <jz-2017@heute-morgen.de> (supplier of updated mosquitto 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: Thu, 14 May 2026 11:43:33 +0200
Source: mosquitto
Architecture: source
Version: 2.1.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian IoT Maintainers <debian-iot-maintainers@alioth-lists.debian.net>
Changed-By: Joachim Zobel <jz-2017@heute-morgen.de>
Closes: 1135697 1136784
Changes:
 mosquitto (2.1.2-3) unstable; urgency=medium
 .
   [ Gianfranco Costamagna ]
   * Sort d/clean file
   * Drop double cjson dependency, sort them
   * Add some dependencies used for testing
   * Drop cjson runtime dependency, evaluated already by shlibs:Depends
   * Drop Pre-Depends, already useless since o-o-stable
   * Drop trailing whitespace
   * use cat |c++filt to make symbols human readable
   * Sort symbols file
   * Sort and simplify install file
   * Add some new lintian overrides for mosquitto
   * Move remove of deps directory into clean target
   * Simplify test dependencies, sync with build-deps and use build-essential for compilers
   * Drop trailing whitespace on watch file
   * Add patch to stop sending signals to the init system!
 .
   [ Joachim Zobel ]
   * d/control: Added dependency on libcjson-dev to libmosquitto-dev
       (Closes: #1135697, #1136784)
   * d/tests/control: Skip failing tests on i386
Checksums-Sha1:
 6ad860b49ded0fad38211d6cf9aefe0d813b6d0b 3098 mosquitto_2.1.2-3.dsc
 8c37d1598a593c5cb6032d5175e28fbcc17ee466 29640 mosquitto_2.1.2-3.debian.tar.xz
 4640934d6ffc96cdb21f6cc408e06a6a0ad6b522 4917804 mosquitto_2.1.2-3.git.tar.xz
 ac788dd27f6c889d9ee5dffd23e4ad270214fb34 17356 mosquitto_2.1.2-3_source.buildinfo
Checksums-Sha256:
 c63805a0498544c801b7f186718bf749f41525b01834d8a23e9405c2cd04d5df 3098 mosquitto_2.1.2-3.dsc
 ae5bfab0779668eaa1566ef0f8b342be0f8e4006f3630bcb82cd914740c29687 29640 mosquitto_2.1.2-3.debian.tar.xz
 d1a9590d9a292a3a4720f4921cb47247e61bbb6eefbafe4d3f4e76fb543399b5 4917804 mosquitto_2.1.2-3.git.tar.xz
 afd744622070120c4f2af58037cb7b18c1cb392b7a95b0809ac5ccea695c0608 17356 mosquitto_2.1.2-3_source.buildinfo
Files:
 e9dee762407236df86cdcf32f9d6a6b5 3098 net optional mosquitto_2.1.2-3.dsc
 139cd020c655698146dccfd0364ac865 29640 net optional mosquitto_2.1.2-3.debian.tar.xz
 e1243ccffd506fa0f1a9d3e9300dd31e 4917804 net optional mosquitto_2.1.2-3.git.tar.xz
 bdb006ef92f7dc16d28d582a77a7e9ea 17356 net optional mosquitto_2.1.2-3_source.buildinfo
Git-Tag-Info: tag=4994025dc99b4d959f0069edb31f36bb60399c3e fp=1f2c95ccc17173ae68f06759fbe08da64bf78aa9
Git-Tag-Tagger: Joachim Zobel <jz-2017@heute-morgen.de>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmoHi3cACgkQYG0ITkaD
wHk56A//fhJI35uqflc5CTQOxbpEfbu5hQFs9/XnJi7M2amO/4w/S7WhRy9KW1ok
DVRoU26RayAv2M2uXJYPr7U71F87nDNyWS2wDbo1P5etdHHeAgaE9L8pkXADWds6
zoJKuLTuoFPvD5IFHSXQYXbH+h0k3eZLg0BImEmOB1fP7LzkuSANsqR2dlqawJz7
02WfGFUQs5PkAC+hfcQ2WVVBw4Xc+GD7F2myAPMplzFKTdn3MWUj1ARqW19if40D
iBu23YkXPpGQYwUQLI9EZINh0uejQl7bnre/5Gy9So0CG5L8KIb2WEXdXlKEK7C5
xJzqCTEtp/1rglV2dxxJhkp0KrSbWPwmv6qN1sonKPA3b9hlPdgjWZXz3Pner6ME
vCekrvPM0OwFmpOy1FhLTq4YCuswjphrN9VD2yivo8kQEUu6c59js9NcOslImwQ0
JGaIP4RMYAvWKTbqXaLflm616zst0o2zRLdXVLlrKbdSK4yUuRgYhOMTyVWbP4c+
mW/8cd0SdgzMRMBYTkEN3PcwA0AnzEgkCO0VGWcekAPoM0Qf8qpiQGEdibzBrs9G
Bc4gVJd0SJxJ5iYzYY3b/IxiKSJimc/ORQ3AxT/+kU0/bpWTl7xfzCBz6OUYdmsP
C4HUKp30t+q1594WOnzXFiiNKL6pdkO+hwKqAiedk8RhTuk04rE=
=Qi6a
-----END PGP SIGNATURE-----