Bug#1113000: ibus-table-chinese: FTBFS with CMake 4
Source: ibus-table-chinese
Version: 1.8.12-2
Severity: serious
User: cmake@packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, ibus-table-chinese failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build Fri, 29 Aug 2025 21:58:59 +0000 |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: ibus-table-chinese
Binary: ibus-table-array30, ibus-table-cangjie, ibus-table-cangjie-big, ibus-table-cangjie3, ibus-table-cangjie5, ibus-table-cantonese, ibus-table-cantonhk, ibus-table-easy, ibus-table-easy-big, ibus-table-erbi, ibus-table-erbi-qs, ibus-table-jyutping, ibus-table-quick, ibus-table-quick-classic, ibus-table-quick3, ibus-table-quick5, ibus-table-scj6, ibus-table-stroke5, ibus-table-wu, ibus-table-wubi, ibus-table-yong
Architecture: all
Version: 1.8.12-2
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Uploaders: Osamu Aoki <osamu@debian.org>,
Homepage: https://github.com/mike-fabian/ibus-table-chinese
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/input-method-team/ibus-table-chinese
Vcs-Git: https://salsa.debian.org/input-method-team/ibus-table-chinese.git
Build-Depends: cmake (>> 3.0), debhelper-compat (= 13)
Build-Depends-Indep: ibus-table (>= 1.9.1-1~), pkg-config
Package-List:
ibus-table-array30 deb utils optional arch=all
ibus-table-cangjie deb metapackages optional arch=all
ibus-table-cangjie-big deb utils optional arch=all
ibus-table-cangjie3 deb utils optional arch=all
ibus-table-cangjie5 deb utils optional arch=all
ibus-table-cantonese deb utils optional arch=all
ibus-table-cantonhk deb utils optional arch=all
ibus-table-easy deb utils optional arch=all
ibus-table-easy-big deb utils optional arch=all
ibus-table-erbi deb utils optional arch=all
ibus-table-erbi-qs deb utils optional arch=all
ibus-table-jyutping deb utils optional arch=all
ibus-table-quick deb utils optional arch=all
ibus-table-quick-classic deb utils optional arch=all
ibus-table-quick3 deb utils optional arch=all
ibus-table-quick5 deb utils optional arch=all
ibus-table-scj6 deb utils optional arch=all
ibus-table-stroke5 deb utils optional arch=all
ibus-table-wu deb utils optional arch=all
ibus-table-wubi deb utils optional arch=all
ibus-table-yong deb utils optional arch=all
Checksums-Sha1:
6ddc0b5b40deb649fc248b6b14c4d7185d0a6184 10856736 ibus-table-chinese_1.8.12.orig.tar.gz
cd1bd76bf8e0620bb1bd1de25b12d114cbfb43c8 5436 ibus-table-chinese_1.8.12-2.debian.tar.xz
Checksums-Sha256:
41d9923bf207e2be6fb50813ad994eda6460af78c66c576591aac3da4c8c53a9 10856736 ibus-table-chinese_1.8.12.orig.tar.gz
5ba2fdf5fd965ae510f902d81584c4cea96ed482d4fe639920414f8253f29322 5436 ibus-table-chinese_1.8.12-2.debian.tar.xz
Files:
1b7be82c986e7a0646f7301587dc48c7 10856736 ibus-table-chinese_1.8.12.orig.tar.gz
52eb86a74fcc5aca551fcf7ce1a59623 5436 ibus-table-chinese_1.8.12-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmYikxoACgkQwpPntGGC
Ws5fVBAAkyT8sLCNdMslz5Yo+RDlaL1Q19TfIa+IlVlJkS19aUrv9EH92g+h5b4w
l8T8dBey+xQSoS6uW4ScHUEAf3e3J/OQ6N1Mq5aSCT79tOftir0LA2fxb0ljozSV
ypl3s8UvpKUKhlbIy8yhsZh0aTf8/tS7rqe+Ln5gDPkogCwpiNaeA1Yzmm3F6/ne
NlqnpxJYMw5vSt40J8jjAYiYeFVYGvdjNphZbmShUM+u7HSWG52nvNfYsW+qbTcq
Nyf9g34EdejzIsStjm4StB9ehZO/ZYyxihBHDiGC83qXXSaSTR3K2lKpgoyOxPJu
gXhd7gHDAbu8SFeB88d21eFxjKGs8KaINLQRJMzvk+celqzU/okWjzHolzqrxalT
47lwMDbvTlktKrAoKOwrt2UpvETIMj/yEF3pw3dS2W5HBvQxqvOG0K8EJGG44kr9
yh0hjM46g5w7hQYZ0WkSTxzB76FmApLFSXOY6gJ+EdxhNxX3dipTAz+zzim16fqs
QnClU4bbdXzhhcxAqPwRpPkMcKD2ueR2xz6SW4viAbdoTEExKv8D9JeK0IOHgpO/
btZsxKeI+z2m6xGjoXKUA7+Uivg7gJQNnZIXRvZHUL6tXQnlOSbHR4chG8OWqM3n
jKkNW0KyZQuH3H+v9S0Veq7iq5Vv77GZYW2mklk29raKpS+nkSA=
=ALtf
-----END PGP SIGNATURE-----
dpkg-source: warning: cannot verify inline signature for ./ibus-table-chinese_1.8.12-2.dsc: no acceptable signature found
dpkg-source: info: extracting ibus-table-chinese in /build/reproducible-path/ibus-table-chinese-1.8.12
dpkg-source: info: unpacking ibus-table-chinese_1.8.12.orig.tar.gz
dpkg-source: info: unpacking ibus-table-chinese_1.8.12-2.debian.tar.xz
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 ibus-table-chinese
dpkg-buildpackage: info: source version 1.8.12-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Boyuan Yang <byang@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/ibus-table-chinese-1.8.12'
# in-place configure due to upstream bugs
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_PACKAGE_NO_PACKAGE_REGISTRY=ON \
-DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON \
"-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_LIBDIR=usr/lib/aarch64-linux-gnu
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error at CMakeLists.txt:1 (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:11: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/ibus-table-chinese-1.8.12'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T21:59:04Z
-------------------------------------------------------------------------------
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/2393903/
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/153104/
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 to: