#1106446 xeus-gp: FTBFS: Could not find a configuration file for package "nlohmann_json" that exactly matches requested version "3.11.3".

#1106446#5
Date:
2025-05-24 16:40:30 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_SKIP_INSTALL_RPATH=ON
	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 -DCMAKE_SKIP_INSTALL_RPATH=ON ..
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building xeus-gp v0.1.0
CMake Error at /usr/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Could not find a configuration file for package "nlohmann_json" that
  exactly matches requested version "3.11.3".

  The following configuration files were considered but not accepted:

    /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake, version: 3.12.0

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/xeus/xeusConfig.cmake:61 (find_dependency)
  CMakeLists.txt:71 (find_package)

#1106446#10
Date:
2025-05-24 17:42:51 UTC
From:
To:
Hello Santiago,

nlohmann-json3-dev has a well-known upstream bug that causes it to breaks the
ABI with each minor version, see for example:

xeus (3.1.3-2) unstable; urgency=medium

  * d/control: build-depend on nlohmann-json3-dev 3.11.3
    The API of this library exposes types from nlohmann::json, and this
    resulted in an ABI change depending on whether libxeus and the kernel
    are built against 3.11.2 or 3.11.3. This adds an explicit dependency
    on nlohmann-json3-dev 3.11.3. This explicitly chooses the newer version
    for libxeus and dependencies. (Closes: #1060164, #1061007)

#1106446#15
Date:
2025-05-24 17:53:24 UTC
From:
To:
El 24/5/25 a las 19:42, Bill Allombert escribió:

I am also unsure about what to do. Gianfranco, can you please comment on this?

Note that the three bugs against xeus-* which I reported today are the only ones
of this type which I found after building all packages in unstable, so adapting
to the new nlohmann would not be a very bad option.

[ But someone should probably talk with Release Managers and explain this,
as I am just a bug reporter... ]

Thanks.

#1106446#20
Date:
2025-05-26 07:19:22 UTC
From:
To:
Thanks!
I would really like to see the buildlog for xeus itself, if you have it.

Cheers,

#1106446#25
Date:
2025-05-26 08:04:23 UTC
From:
To:
El 26/5/25 a las 9:19, Bill Allombert escribió:

Ok, yes, I have it. It was successful, I've just put it here as well:

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

Thanks.

#1106446#34
Date:
2025-06-04 15:57:04 UTC
From:
To:
Hi,

It seems the xeus-* packages build fine in trixie.

I added version information to these bugs, to make it clear they only affect
the version in unstable.

Cheers,

Ivo

#1106446#43
Date:
2025-09-13 23:21:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nlohmann-json3, 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 1106446@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bill Allombert <ballombe@debian.org> (supplier of updated nlohmann-json3 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: Fri, 12 Sep 2025 17:36:08 +0200
Source: nlohmann-json3
Architecture: source
Version: 3.12.0.really.3.11.3-0.1
Distribution: unstable
Urgency: medium
Maintainer: Hubert Chathi <uhoreg@debian.org>
Changed-By: Bill Allombert <ballombe@debian.org>
Closes: 1106446 1106447 1106448 1110784 1110787 1110805 1111390
Changes:
 nlohmann-json3 (3.12.0.really.3.11.3-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload. (Closes: #1111390)
   * Revert to 3.11.3 to restore ABI.
     (Closes: #1106446, #1106447, #1106448, #1110784, #1110787, #1110805)
   * Any new upstream version need to use a versioned source package name
     to be coinstallable with the versions providing the ABI used by existing
     shared libraries using nlohmann-json3, see #1106511.
Checksums-Sha1:
 1104abf96fc9baed313ce02f058e470075b2c7be 2167 nlohmann-json3_3.12.0.really.3.11.3-0.1.dsc
 2074caa675f8097d9b03c0f4976ffc3410170937 8053705 nlohmann-json3_3.12.0.really.3.11.3.orig.tar.gz
 8635ddfe9e905ca7d0fd47e205277f5e02e417f2 6560 nlohmann-json3_3.12.0.really.3.11.3-0.1.debian.tar.xz
 88b064872aa2f8277d00d134b7555da44cbcdd4f 10385 nlohmann-json3_3.12.0.really.3.11.3-0.1_source.buildinfo
Checksums-Sha256:
 48b40b2fc1a2ce62c3f66f8f31b711eb9c02806c4269d8f6b6ac6353c4b76318 2167 nlohmann-json3_3.12.0.really.3.11.3-0.1.dsc
 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406 8053705 nlohmann-json3_3.12.0.really.3.11.3.orig.tar.gz
 a5d4d7842a436efc623f74a03e7de0da53a6d0844adccc86abaf65c2bbfc3802 6560 nlohmann-json3_3.12.0.really.3.11.3-0.1.debian.tar.xz
 b3c0c687ad367d6610a507104f224e6f1bc9bd6a93ab0bc41d8d213f714a5c95 10385 nlohmann-json3_3.12.0.really.3.11.3-0.1_source.buildinfo
Files:
 e1c33747cf289470b667e872b4f9e886 2167 libs optional nlohmann-json3_3.12.0.really.3.11.3-0.1.dsc
 d603041cbc6051edbaa02ebb82cf0aa9 8053705 libs optional nlohmann-json3_3.12.0.really.3.11.3.orig.tar.gz
 0fb1351edb470ef6420285c97e37ae9f 6560 libs optional nlohmann-json3_3.12.0.really.3.11.3-0.1.debian.tar.xz
 751c83bcfc868940f33a5508785f1987 10385 libs optional nlohmann-json3_3.12.0.really.3.11.3-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmjFlsQACgkQjw58K0Ui
44eeLg/5Ae1aoPlGzUIOCdIWOZvFlrXnDQic+2QMyYHuvnsrS/yvrAQTjFPdAPWE
jT/NhAsw5WBmrl9fvpRst3RLzP2qLDTTpRK2IaXdo87OwPbA7Y9ijd+2u71/8qoh
XPopctP6ddxHF8/c/aOo+vzVdR95Vb73Hh+IC4bL+B1BHNuuNhZejeMncFuAivYm
FqWMun9IhfHguPTckNUdOSl7vu9a5jjqhptXx1SwNERXG/JBnaaJjJroknKjuCz5
f8PlK9rrivGIxB84WVSVq0Zc4kduO/+vFSwNKUVn8BA5DF/Ui2/46wKtSH6ivHTz
q7zBzEZ9ex72htzmMO4jC7lkVy3Du2ueRl8p98Za9IT0n+Ax1jK+uI+nRf2RtAII
6NhGjzUdAXylJtrxDRzLQosFqZxC5Ec5l6/fSNhAhpC/28ACTKT/qj+LA7Mn0sSR
97AnRw5xszZv8FuYI2KJsUp07wtERg1B781uvIbJcdQrFWrG23mwXog9KPtRTWRQ
QVyru5b9BzYZNveDWDWGfIYEeystDjmDimlI8R2ecfNjAYBp7Nq6y+1C0AbkwUqv
57l1QAdEL/6iVQz1MuLHtZCBZgbIxOEclTnhQhbnhO7aoNv3SQ+WFMHw0FxNOTM1
Gxk/3ECDJeyRSPLgedm8r6VK+0uk9KpqiothHcJqP1jOqlMTGqw=
=WRHb
-----END PGP SIGNATURE-----