[Debian-med-packaging] Bug#1112717: ball: FTBFS with CMake 4

Timo Röhling roehling at debian.org
Sun Aug 31 23:31:57 BST 2025


Source: ball
Version: 1.5.0+git20180813.37fc53c-11.1
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: cmake at packages.debian.org
Usertags: cmake-4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

During a test rebuild for CMake 4, ball failed to rebuild.

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

+------------------------------------------------------------------------------+
| Build                                        Fri, 29 Aug 2025 14:24:15 +0000 |
+------------------------------------------------------------------------------+


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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: ball
Binary: libball1.5-data, libball1.5, libball1.5-dev, libballview1.5, libballview1.5-dev, ballview, libball1.5-doc
Architecture: any all
Version: 1.5.0+git20180813.37fc53c-11.1
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Andreas Tille <tille at debian.org>, Steffen Moeller <moeller at debian.org>
Homepage: http://www.ball-project.org/
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/med-team/ball
Vcs-Git: https://salsa.debian.org/med-team/ball.git
Build-Depends: debhelper-compat (= 13), dh-python, qtbase5-dev, libqt5opengl5-dev, flex, bison, cmake, qtwebengine5-dev [amd64 arm64 armhf i386 mipsel mips64el], qttools5-dev, libeigen3-dev, python3-dev, libboost-dev, libboost-iostreams-dev, libboost-thread-dev, libglew-dev, libx11-dev, tidy, chrpath, libtirpc-dev
Build-Depends-Indep: doxygen, graphviz, ghostscript, texlive-latex-base, texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra
Package-List:
 ballview deb science optional arch=any
 libball1.5 deb libs optional arch=any
 libball1.5-data deb science optional arch=all
 libball1.5-dev deb libdevel optional arch=any
 libball1.5-doc deb doc optional arch=all
 libballview1.5 deb libs optional arch=any
 libballview1.5-dev deb libdevel optional arch=any
Checksums-Sha1:
 696a5708b583fdd96051e4496c3a4d8e188f349d 21325220 ball_1.5.0+git20180813.37fc53c.orig.tar.xz
 32e357fe935fc271fcf5381ef6534558b80f6454 18192 ball_1.5.0+git20180813.37fc53c-11.1.debian.tar.xz
Checksums-Sha256:
 88e95068ced3bb8f50440dd22d3dd9aa56c6d7653a5a978ec163daafd1d90720 21325220 ball_1.5.0+git20180813.37fc53c.orig.tar.xz
 c3f042cfaaad40616b575ee87bdfc25b1423e865507ac07600e19375dd9b0acf 18192 ball_1.5.0+git20180813.37fc53c-11.1.debian.tar.xz
Files:
 1a3777fbe23ce81cc89c2fa53de4af9c 21325220 ball_1.5.0+git20180813.37fc53c.orig.tar.xz
 c8fcd400cd3dddb8da50728afb5e0090 18192 ball_1.5.0+git20180813.37fc53c-11.1.debian.tar.xz

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmijtLAQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFLoKDADo3L6E7SGlPPecp3WHoLEfmMWBK2cnmPLD
GXg1eHa9UOt3L0TGHMlKV4zfTuCvxKe/zLXYF9gMPTvxgCRUB4M0MwRdopwi4fwh
JFd/YgadowLeOLTOWDMz7pJlxXJCaE41UN8XeDR7SQbmTcedG7zfVEQkR71ry5xG
M+boHvOUj20vDfohlOpMgT8GGpApofbKzsUfE0CpxbESP/BtNu3/GLUwVHV06HDD
rCRkxuLwHIkFaV95h6u21aY71dEYa/tvz1Lz32U4k9t+an0+LgS2LdAIjcJg3i4E
2Dikbrt29zbQx3XnzoWE20yuG4xGtNfyk+OI3MHfiEK+HMAzPTHiBJrqMoe66OBD
30vE+MKkx48/9CEPwzQGGqi/YMKTNWjQCyI2bdVTedhuhcKs7dunWdBt4+gHjT6N
q7vPVl27XLaDxB5g3iIPXGMxgua6UvrlN11qNCMyRi+4NUOqTcB+qijzNqef520Y
c/H2imFiVTcHfGpSbxtA4WKtFcgtAmg=
=7262
- -----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./ball_1.5.0+git20180813.37fc53c-11.1.dsc: no acceptable signature found
dpkg-source: info: extracting ball in /build/reproducible-path/ball-1.5.0+git20180813.37fc53c
dpkg-source: info: unpacking ball_1.5.0+git20180813.37fc53c.orig.tar.xz
dpkg-source: info: unpacking ball_1.5.0+git20180813.37fc53c-11.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying python3.patch
dpkg-source: info: applying fix-ftbfs-char.patch
dpkg-source: info: applying missing_GLEW
dpkg-source: info: applying 2to3.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 ball
dpkg-buildpackage: info: source version 1.5.0+git20180813.37fc53c-11.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bastian Germann <bage at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --buildsystem=cmake --builddirectory=build # --with python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/ball-1.5.0+git20180813.37fc53c'
[ -d source ] && cd source ; \
if [ -f Makefile ] ; \
then  \
	make clean ; \
	cd PYTHON/EXTENSIONS; \
	make clean; \
	rm -rf ../lib/Linux*; \
	rm -rf ../doc/doxygen/latex/*; \
	rm -f /build/reproducible-path/ball-1.5.0+git20180813.37fc53c/source/config.status 2>/dev/null; \
fi
rm -f data/BALLView/translations/BALLView.de_DE.qm
rm -f data/BALLView/translations/BALLView.zh_TW.qm
rm -f doc/TUTORIAL/*.aux
rm -rf build
find . -name "*.o" | xargs -r rm
find . -type l | xargs -r rm
find doc/TUTORIAL/ -name "tutorial.*" | egrep -v ".(tex|bib)$" |xargs -r rm
rm -f include/BALL/BALL.doc
# find . -name "*.doc" -delete
# Remove self-create UI header file
rm -f include/BALL/VIEW/UIC/ui_assignBondOrderConfigurationDialog.h \
      include/BALL/VIEW/UIC/ui_assignBondOrderResultsDialog.h \
      include/BALL/VIEW/UIC/ui_atomOverview.h
make[1]: Leaving directory '/build/reproducible-path/ball-1.5.0+git20180813.37fc53c'
   dh_autoreconf_clean -O--buildsystem=cmake -O--builddirectory=build
   dh_clean -O--buildsystem=cmake -O--builddirectory=build
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libball1.5-data.substvars debian/libball1.5.substvars debian/libball1.5-dev.substvars debian/libballview1.5.substvars debian/libballview1.5-dev.substvars debian/ballview.substvars debian/libball1.5-doc.substvars debian/files
	rm -fr -- debian/libball1.5-data/ debian/tmp/ debian/libball1.5/ debian/libball1.5-dev/ debian/libballview1.5/ debian/libballview1.5-dev/ debian/ballview/ debian/libball1.5-doc/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary --buildsystem=cmake --builddirectory=build # --with python3
   dh_update_autotools_config -O--buildsystem=cmake -O--builddirectory=build
   dh_autoreconf -O--buildsystem=cmake -O--builddirectory=build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/ball-1.5.0+git20180813.37fc53c'
mkdir -p build
cd build && LDFLAGS="-Wl,-z,relro -Wl,-z,now -ltirpc" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/ball-1.5.0+git20180813.37fc53c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I/usr/include/tirpc" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ball-1.5.0+git20180813.37fc53c=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" \
            cmake .. -DCMAKE_SOURCE_DIR=/build/reproducible-path/ball-1.5.0+git20180813.37fc53c -DCMAKE_INSTALL_PREFIX=./usr \
	    -DBALL_PATH=/usr -DBALL_DATA_PATH=/usr/share/BALL-1.5/data \
	    -DCMAKE_VERBOSE_MAKEFILE=ON
CMake Error at CMakeLists.txt:8 (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:22: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/ball-1.5.0+git20180813.37fc53c'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
- --------------------------------------------------------------------------------
Build finished at 2025-08-29T14:24:27Z

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

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/2389232/

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/152417/

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


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

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmi0zVwACgkQzIxr3RQD
9MoVzA//Tp+YdqGec7ehJuTaz30YKRzBWc+WsWbwOa8OzS3iHWhg+iuj33gida/G
q6/JRM4NpBS2oHgE65/XwSActvhur8fwIJb3QQGXxTV7YA6eJzkXUraTw6IjX+KR
lJHkwOoJjXyIYge2QNpbHxzGjwnAjqRUj5V7tfM8mbhFrFHDi3eZLDe43BfhN6mv
AfOVzzFVjMFCDyuvcJC8lH9i/zt6Xz2BNIOCz5WVT4fp8cs3umJ3h+KLbnpimvGr
/j8/ftw5+pdRFPyp/2JO2UJSibNFqQEhQap67yAGzd4GK0Wi86K+eUC+GTObm9vh
007ME+1Ekq0/7zp4GfnWvW+KikTuNf8DycpJXxp8zvMG3nv/CbejcvWCykcIyG/Q
zsbpiUye6Cw60tEYY5qvpaMJoB4JJym4uMREELv2qhwzHHRtiFCdHZmmCujEW3fr
X2MoH2AvFQBq6i4KSFrOtoDLubdhoEnz1Oj+JiVDBbi9T8izEODStaxm4+vNLd19
811ziySlgcrlTlLo+BFlcYdavq6uPymj8mjocAWlPxcWHsFwndmh8682CIsHibiA
XLW8QVzBbjEI6QOitJOTjpbcx4wSEjvPtZpjkpbyKKh0ihHT0ItubGgg6kNL5nz0
KJ5bG1omuz9VAjbW8IUuPIPcrimnsk2O8OiAH6mfWO8l7aNudjQ=
=em0s
-----END PGP SIGNATURE-----



More information about the Debian-med-packaging mailing list