Source: chemical-structures
Version: 2.2.dfsg.0-20
Severity: serious
User: [email protected]
Usertags: cmake-4

Dear maintainer,

During a test rebuild for CMake 4, chemical-structures failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]

+------------------------------------------------------------------------------+
| Build                                        Fri, 29 Aug 2025 15:28:13 +0000 |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 3.0 (quilt)
Source: chemical-structures
Binary: chemical-structures, chemical-structures-data
Architecture: all
Version: 2.2.dfsg.0-20
Maintainer: Georges Khaznadar <[email protected]>
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/science-team/chemical-structures
Vcs-Git: https://salsa.debian.org/science-team/chemical-structures.git
Build-Depends: debhelper (>= 11), python3, po-debconf, cmake, openbabel
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Package-List:
 chemical-structures deb science optional arch=all
 chemical-structures-data deb science optional arch=all
Checksums-Sha1:
 0202c4f4968d9c82c29e87bd0a39089be9eb058f 509255 
chemical-structures_2.2.dfsg.0.orig.tar.gz
 527ea061ebd1cfa1f899bff3a7f26b9ade654480 21696 
chemical-structures_2.2.dfsg.0-20.debian.tar.xz
Checksums-Sha256:
 41e92b30086941533fd9188d4998627abfbfcd4a769927ec58ee0c8b63e7ed7b 509255 
chemical-structures_2.2.dfsg.0.orig.tar.gz
 dfeac60802cd29ee753f5b5fb6453f53c3090f8503d6992b3ed1d4962f82bd99 21696 
chemical-structures_2.2.dfsg.0-20.debian.tar.xz
Files:
 5cabfcdb2d7b4a5776b95c0b5fe51261 509255 
chemical-structures_2.2.dfsg.0.orig.tar.gz
 abbbff9ffa345d86b18ecb1c3640b274 21696 
chemical-structures_2.2.dfsg.0-20.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmI3V6sUHGdlb3JnZXNr
QGRlYmlhbi5vcmcACgkQHCgWkHE2rjmFAhAAqpfTSyejAGjpL7jmt6C+SlylLtdA
nMRlwdQsBXnsZosZd/z/I0sM7e+kyAZILSL7ExtrZJISDm/D2Zw//IMIUiefSEpO
kDcaehoiuNtupDIUvJb0maeiPxwTFzjN0QPFYWvBQA3+CdmXDkgcGqZp0PzOaEvr
FuHeImSW6U9YUjvEwB2GUIfpMcztGBa9L+xzs7r93fWxCr6yPDysC5ZSEqTqtBz/
6gCh91oZOVBGCsL4p8IPlHrKLCdM2u2mtWpDHcpDsb1J888TTK82MrjGEuVPjUAB
C4OUIiyo1+DG3LJ0UQA8iO5VtGAUrt5KoSPXRy5Wyk2v/t/Fsi17wmUevtP8oTF4
br7C2s7w0yuqL//Xm54atI5OmkIcaGdyS2lh0zzL58Tn/M74Wqu/I2SQbS8Qa2hY
U36oBRKR+Rosvnyo2qPz9fZAPjYU1zzOBnY7dFX7Q16dxpSaZinZON176iXObxiq
aoEs93IXufOTjV10Bk87s6z4KQuQXZRji+tzjIYcwqY8gG7ZRVuGH0jWPeiQg0ju
Dzvtb4qFVA4bDAgINVTmZsMxChynHPbr9EmHZUrUQ2Q2wVT73Y6fN/EZ1SW+H2IM
f5xkpTC9O27lU9PvS/CR8rS/dXqIGjRbmGlmkuzCI8sJH4ztrVEgZqvN7C0MoeSf
1Kwvfj1QG6+Qpas=
=R+oK
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for 
./chemical-structures_2.2.dfsg.0-20.dsc: no acceptable signature found
dpkg-source: info: extracting chemical-structures in 
/build/reproducible-path/chemical-structures-2.2.dfsg.0
dpkg-source: info: unpacking chemical-structures_2.2.dfsg.0.orig.tar.gz
dpkg-source: info: unpacking chemical-structures_2.2.dfsg.0-20.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying index.patch
dpkg-source: info: applying removeMolTimestamp.patch
dpkg-source: info: applying convert.cgi
dpkg-source: info: applying tools~cmlwriter.py
dpkg-source: info: applying apache.conf
dpkg-source: info: applying chemstruc
dpkg-source: info: applying src~jmol~jmol.js
dpkg-source: info: applying xml~l10n.xml
dpkg-source: info: applying build-xyz-files.patch
dpkg-source: info: applying apache.conf.patch
dpkg-source: info: applying privacy.patch
dpkg-source: info: applying python3-conformity.patch
dpkg-source: info: applying reproducible-build.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package chemical-structures
dpkg-buildpackage: info: source version 2.2.dfsg.0-20
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Georges Khaznadar 
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh  clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory 
'/build/reproducible-path/chemical-structures-2.2.dfsg.0'
find . -name *.pyc | xargs rm -f
rm -rf build
dh_auto_clean
make[1]: Leaving directory 
'/build/reproducible-path/chemical-structures-2.2.dfsg.0'
   dh_clean
 debian/rules binary
dh  binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory 
'/build/reproducible-path/chemical-structures-2.2.dfsg.0'
mkdir -p build
cd build; cmake 
-DCMAKE_INSTALL_PREFIX=/build/reproducible-path/chemical-structures-2.2.dfsg.0/debian/tmp/usr
 ..
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.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
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from 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.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
make[1]: *** [debian/rules:29: override_dh_auto_configure] Error 1
make[1]: Leaving directory 
'/build/reproducible-path/chemical-structures-2.2.dfsg.0'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T15:28:20Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2390231/

The most likely cause of build failures is the removed backwards compatibility 
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/152553/

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

Thanks,
Timo

Reply via email to