#1114374 sfepy: FTBFS: /<<PKGBUILDDIR>>/sfepy/mechanics/extmods/contres.h:11:22: error: 'bool' cannot be defined via 'typedef'

Package:
src:sfepy
Source:
src:sfepy
Submitter:
Santiago Vila
Date:
2025-09-17 14:57:08 UTC
Severity:
normal
Tags:
#1114374#5
Date:
2025-09-05 18:26:10 UTC
From:
To:
Dear maintainer:

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

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

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

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 could not 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:sfepy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: dh_auto_clean --buildsystem=cmake
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf .pybuild
rm -rf _skbuild
rm -rf VERSION
rm -rf doc/_build
rm -rf doc/output
rm -rf doc/developer_guide.rst
rm -rf doc/solver_table.rst
rm -rf doc/src/sfepy/terms/terms_jax.rst
rm -rf doc/term_table.rst
rm -rf doc/field_table.rst
rm -rf site_cfg.py
find . -type f -name "version.h" -delete
find . -type f -name "*.so" -delete
find . -type f -name "*.pdf" -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: dh_auto_configure --buildsystem=cmake --builddirectory=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build -- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.13 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/python3.13/config-3.13-x86_64-linux-gnu/libpython3.13.so -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.13 -DPython_EXECUTABLE=/usr/bin/python3.13 -DPython_LIBRARY=/usr/lib/python3.13/config-3.13-x86_64-linux-gnu/libpython3.13.so -DPython_INCLUDE_DIR=/usr/include/python3.13 -DPython3_EXECUTABLE=/usr/bin/python3.13 -DPython3_LIBRARY=/usr/lib/python3.13/config-3.13-x86_64-linux-gnu/libpython3.13.so -DPython3_INCLUDE_DIR=/usr/include/python3.13
	cd .pybuild/cpython3_3.13/build && PKG_CONFIG=/usr/bin/pkg- [too-long-redacted] usr/include/python3.13 ../../..
-- The C compiler identification is GNU 15.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
CMake Warning (dev) at /usr/lib/python3/dist-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:245 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:12 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- CMake Deprecation Warning at CMakeLists.txt:1 (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. Not searching for unused variables given on the command line.
#1114374#10
Date:
2025-09-17 14:55:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sfepy, 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 1114374@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael R. Crusoe <crusoe@debian.org> (supplier of updated sfepy 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: Tue, 16 Sep 2025 18:53:46 +0200
Source: sfepy
Architecture: source
Version: 2025.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Michael R. Crusoe <crusoe@debian.org>
Closes: 1114374
Changes:
 sfepy (2025.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Added patch to fix C23 syntax error. Closes: #1114374
   * Standards-Version: 4.7.2 (routine-update)
Checksums-Sha1:
 3d678f415579dd4fb2ff499dc72ba39aa0dd01cd 2869 sfepy_2025.2-2.dsc
 26a1ac7f24977cf83691642fe68f2a8bd1183150 7664 sfepy_2025.2-2.debian.tar.xz
 6b1191c1395d989bde74de7e8a3265448f5d3697 11486952 sfepy_2025.2-2.git.tar.xz
 94fe64f2bbe8e076c243a502a9965e44001e02e1 18214 sfepy_2025.2-2_source.buildinfo
Checksums-Sha256:
 e3b8660195550675ed8bf45a189f222110b63c160195078b58f7718670eb7e4a 2869 sfepy_2025.2-2.dsc
 fc9b09914302e72b71e832f48e18cf02db394c7a9e9f98345c075a3092945795 7664 sfepy_2025.2-2.debian.tar.xz
 52a1b2d99e6f2dba48a1d5b07f726ab6504bdbf70abdcd69ea8ea4adbd9853c5 11486952 sfepy_2025.2-2.git.tar.xz
 71a539870342f4214808f02c085eaf41c1bca8f902b0315ca317c9d50001e01c 18214 sfepy_2025.2-2_source.buildinfo
Files:
 a64e2eedfad5bcf676046eb721dfb34b 2869 python optional sfepy_2025.2-2.dsc
 0a44c5a11535ba9d4a788ec86ec709de 7664 python optional sfepy_2025.2-2.debian.tar.xz
 d9de30af47630c0789730357e918ba1a 11486952 python optional sfepy_2025.2-2.git.tar.xz
 56b01fc70b9f4231f1780cfe4ac5bc81 18214 python optional sfepy_2025.2-2_source.buildinfo
Git-Tag-Info: tag=5e9f8593afe536f7979c1963773516ff8efe6dcf fp=724d609337113c710550d7473c26763f6c67e6e2
Git-Tag-Tagger: Michael R. Crusoe <crusoe@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjKwdUACgkQYG0ITkaD
wHlg1g/+PM7cS+b9lY67DXPaqqxbRYKdis24bEwNMiSKHvV9m8DeFUL6PuXxa2iC
Phgt6thu8sZFTaMivQoN2DBeanL/KejraPYQ/dcQV5ozVMU/iIc8EAwQIAqcFnBv
g0+iBcrw20OWDaczY3wyHRyl+dDRBPfY10hHD3Z7x2Np0tES1XivK9RUj6k10hvM
dZOB52dN5eYVwv5YRy0lvkau/Z05PHuVEH3QEyKXsbBu9aJHwfiaw0jvg/kV+Djh
VJmFFx3bOEd9N8YkQ7jzgCdzvYJTc4Ud36TDT2tNk6ntHl9f6KxgQsDM03sJv+pR
w9br5t9s3ZtUofMZmWH62RhOYQus35+2vnXdY91EfPBfFbOa+/7wRF8CyrtHcr29
fILT2qgTkiLq/j7GMVKjdMSVVuY3ViE/5g6qieFlaI28kqtAq6blYgxoaNG66keK
x2y5D0JWB9e7Ijjs+4xROylO4ZYtg+6K5cZ9McC0IiDDeEwGB8GhxuLtN9Ech/eB
j8O3qNGRrIEIIqYyPAmgp/J+a6fb0d3AJFGP+Ii4Pc8tiBKC0wGWdTbjoiaMpxFV
trsy3BXZZ0FUNJoHqYQjVp7X/6DPNNSIyexQE0kaexutyu31py4s2IDXnWktyzv+
gnMZbAYSFAccNCYAmeR5yDMqKaC4+iVg93ee1ZCusK4W3tDKVxA=
=7MMM
-----END PGP SIGNATURE-----