#1113183 libpano13: FTBFS with CMake 4

#1113183#5
Date:
2025-08-31 22:58:43 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
Package-List:
 libpano13-3t64 deb libs optional arch=any
 libpano13-bin deb graphics optional arch=any
 libpano13-dev deb libdevel optional arch=any
Checksums-Sha1:
 ea1ff5c248694c9efc39bc9a3a6b578219552213 1552492 libpano13_2.9.22+dfsg.orig.tar.xz
 4717e2d53cd2de79a2b70b49686b5ac7c9eea5fb 17056 libpano13_2.9.22+dfsg-3.debian.tar.xz
Checksums-Sha256:
 4df0085a32cfc5aafd1edaed1edbaa3105c2c4bbf18656b3b2258b820434ac75 1552492 libpano13_2.9.22+dfsg.orig.tar.xz
 31314b1384d06ec03df1a55e1802cca297c1d1170dc74e7ec3bbf8b8f2d9ec48 17056 libpano13_2.9.22+dfsg-3.debian.tar.xz
Files:
 0356744a407a7bb262ca5a5f75ae6b2e 1552492 libpano13_2.9.22+dfsg.orig.tar.xz
 83e312603ff6fbd5a0e44c920f6e3d02 17056 libpano13_2.9.22+dfsg-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmiYrmEACgkQpU8BhUOC
FIQEAA//bu+SsgWvQAAc2AU1W4C4e1h2WMV2bpfDjP2/AIgZJ7KMwHSN52p30PJV
s4ptrwh4kBWKHYWkcWP2UFp/M3cIdOtHvc/IkxTkhocGPbFUEBWb9V0GEw+MchDq
NOwDxU1+Oq6zwsNn7mRtMCCt8CaBc0WLmHd2YnNw7poi6KrXsiAOfZRhg2Zcb6k9
gwT3BQgbycElxJUURQ4Kgaf9F9WcVYl6/pNECTeZxz6Id7ilH7BNW8wMzYoaCXOh
6x3bIKI+qVFPxwvn2j0d43rtXXRMv9hQy+mCCexzkGpg4bardF8TWVWGaQtpohzk
eT7ChbBqn1UVJAADMEb7Qu1tKSc9YDAIIWBnzEYrjQGF2o5VSA+Shmlo5YWXFBn9
n9bx2knde+Oa5E7wDa5KzGHCt5z2rw86sn/Zmu17PBY2ZgdcXKcWUvIawd6kU75p
6iDoL2uBRYbAimsURFcflIZgVnWMWjUBsVb7nklhV9MW5txByyDcLSexpsVR4OH5
F6GFD+lV6rq8WnHRwa6VvaP5J6oQjXU6v2gAt4OunV2S8AGeWD6+VXgf35mmh0zM
akjbyEVWnQ9jARncMAFAE5QFNd9CGkT3ttVw9o7wtjv6qCcKBkZd9wavZEb0/pGB
QRV1loJln+9igdPhG3U/tjBi8PxLRJ9U7fcjyFDvxg3SsD++HZU=
=Uyc6
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./libpano13_2.9.22+dfsg-3.dsc: no acceptable signature found
dpkg-source: info: extracting libpano13 in /build/reproducible-path/libpano13-2.9.22+dfsg
dpkg-source: info: unpacking libpano13_2.9.22+dfsg.orig.tar.xz
dpkg-source: info: unpacking libpano13_2.9.22+dfsg-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 927_e21a089e9237_Fix_for_gcc15_breakage__Lukas_Wirz_.diff
dpkg-source: info: applying math_decl.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 libpano13
dpkg-buildpackage: info: source version 2.9.22+dfsg-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Metzler <ametzler@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 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 '/build/reproducible-path/libpano13-2.9.22+dfsg'
dh_auto_configure --verbose -- \
	-DSUPPORT_JAVA_PROGRAMS=OFF
	cd obj-aarch64-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/aarch64-linux-gnu -DSUPPORT_JAVA_PROGRAMS=OFF ..
CMake Error at CMakeLists.txt:32 (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.
------------------------------------------------------------------------------- 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/2401868/ 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/153846/ 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
#1113183#12
Date:
2025-09-01 11:52:03 UTC
From:
To:
I have downgraded the bug to non-RC severity temporarily and reverted
CMake in unstable to version 3.31.6. I plan to re-upgrade in about a
month's time. I realize that despite my April announcement, the upload
to unstable came rather surprising, and I don't want to cause
unnecessary pain.

Also, the build log URL has an unfortunate mistake. The correct URL
should include the workspace, i.e.,

https://debusine.debian.net/debian/developers/artifact/XXXX

CMake 4 will also be available in experimental again, so it can be
used to verify that the bug is fixed.

Cheers
Timo

#1113183#17
Date:
2025-09-06 12:56:14 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libpano13, 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 1113183@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated libpano13 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: Sat, 06 Sep 2025 13:11:21 +0200
Source: libpano13
Architecture: source
Version: 2.9.22+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Closes: 1113183
Changes:
 libpano13 (2.9.22+dfsg-4) unstable; urgency=medium
 .
   * Bump cmake compat to >= 3.5. (Closes: #1113183)
   * Run wrap-and-sort -ast
   * Bump Standards-Version
Checksums-Sha1:
 b8ba815b3cfd558deab9df0539d64056837c9ad8 2255 libpano13_2.9.22+dfsg-4.dsc
 0d703a91164e31997c603ad7b045004c1416c012 17428 libpano13_2.9.22+dfsg-4.debian.tar.xz
Checksums-Sha256:
 be38e4dcf023e30a8b56204ed96fef83b290c0b86dd828a4f7109015b8b67c21 2255 libpano13_2.9.22+dfsg-4.dsc
 e0766bb61778c75c356db30138658a0e64c23ae7d27b37d5ef1ef9397c5483ed 17428 libpano13_2.9.22+dfsg-4.debian.tar.xz
Files:
 739ced68756c51803026932eb9a04c54 2255 libs optional libpano13_2.9.22+dfsg-4.dsc
 2193f081f403fdbdc22ccddcfd854d58 17428 libs optional libpano13_2.9.22+dfsg-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmi8F2gACgkQpU8BhUOC
FIRPDBAAoOwpoQxaqad3AgySTXSoSp5o+rd7XIIEY8PVXDYUAmTmYwtfXWccFisO
YROX6aZxgf2DFrlnQj6QrRi/f3jijvfMSNyY1fgZNjanmrLqSPeL7+H3QkR3DQTR
hBEe9fwfS497oLllL3Oq/ZL9HZp0K9nCTmKWpaVx8qn6slA1qny86lgAXfprKtWV
fhRuCWmeUPE8XzGHF8mGObaBaH3/AWSFbIvg8NlK8BwY8frERj1qQa6G0MhFvop3
HBGBDZpKD0VpLaDikGTLgPOkuXVAnxO0Ahus38AdML/ijKSOd90PS2GJ/WEnYGKG
92eJVOsypf79zyvt39S6jgUqoqELs/nEvbGmVMrl8i+wZRdkwLzp8kp0jKtaSxDB
0J6Vkw8tzFu0j3PVEhurKo7Ful4QkFXw/QpGGEPWEn0+XYO8UMihmuAmfSmnk3Sw
MPigtcRN63lBMUap+AM8tdSk+sahv6hnYDn+cDAJKvjJNCY9tm5373QtjqEep5RJ
jUTB3h9+r+cZdoLe1mtEWf7KG8jv7GWiRehSpkYvPG7okCgDu4mA2oBQ1Uk/MqOV
VHENmXX93Exg8lJU4RcuP0DQrzLhXdpBK30QUgkfkzH4kmXzi7hbOytRKNpmJy8p
faRnvomJNYTwZbC9wcHD71xy4YWlzs9dFXvqojyJesSCfSV2NgA=
=7/dW
-----END PGP SIGNATURE-----