Your message dated Sat, 18 Oct 2025 18:04:38 +0000
with message-id <[email protected]>
and subject line Bug#1112972: fixed in golang-mvdan-editorconfig
0.2.0+git20240816.eab549b-2
has caused the Debian Bug report #1112972,
regarding golang-mvdan-editorconfig: FTBFS with CMake 4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1112972: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112972
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: golang-mvdan-editorconfig
Version: 0.2.0+git20240816.eab549b-1
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, golang-mvdan-editorconfig failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build Fri, 29 Aug 2025 20:27:02 +0000 |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: golang-mvdan-editorconfig
Binary: golang-mvdan-editorconfig-dev
Architecture: all
Version: 0.2.0+git20240816.eab549b-1
Maintainer: Debian Go Packaging Team <[email protected]>
Uploaders: Faustin Lammler <[email protected]>
Homepage: https://mvdan.cc/editorconfig
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-mvdan-editorconfig
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-mvdan-editorconfig.git
Testsuite: autopkgtest-pkg-go
Build-Depends: cmake <!nocheck>, debhelper-compat (= 13), dh-golang, golang-any
Package-List:
golang-mvdan-editorconfig-dev deb golang optional arch=all
Checksums-Sha1:
ff2ee7b0e6c23729ae1710e3f44afe46cdb8e21d 9668
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b.orig.tar.xz
9b2bf5249d2225d7889645906c6bed6fa7a5041c 14244
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-1.debian.tar.xz
Checksums-Sha256:
93c28b6d4dcb44e84ffedaa0edef274d241cca88dd31e7ae9021a83f3bb13729 9668
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b.orig.tar.xz
609c5e6a49e655baec44bcc55b85534c5e25f666890f7a8f1d5b1e60fb1fb856 14244
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-1.debian.tar.xz
Files:
a86d716a65a39923e0bbf4241c114c54 9668
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b.orig.tar.xz
5db59af93866fbf644b2451c8c415593 14244
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-1.debian.tar.xz
Go-Import-Path: mvdan.cc/editorconfig
-----BEGIN PGP SIGNATURE-----
iQJLBAEBCgA1FiEECOt4p/pKieBdXIaey86ybZa5jLsFAmd3Gb8XHGFydGh1cmJk
aW5pekBnbWFpbC5jb20ACgkQy86ybZa5jLun6w/+KYsubH/1EKFTbhiq1+xolsz/
wiKmLLVPln5Ljte77aZaxRVfKym3HM77GtHMC5F8df6MQUnCqG4L7Bj1L/m7MGfH
PlgB3gLCGcHVaWcVzWDUhcIJMlOYwwBH6UAMc4fsEsh+gXWGt2PlJWSYtwgQ+cJX
KLM9wFNzX/uTLkmpP4GxzPjLKH8fmYl6FezrUmAwU3sbTFYta9RlUyg+/vTexuU8
iMzsWwmz/KRcKQzjylxuQ2llWmkxDCR/4UTp+Rv5wpBm4OXfVSP7X8yrX2RrcVYP
+4tfo4wqSF8N3exrGi5nLTFqXpXC62AXMC4fKLDeXgdOJKSN3tQdA8v4QQTJSDNs
vGvkmksl0Tfe39JTpvxtzqgw23DO1rtstEG/Emq1ZNKKiFsBFA9CCtkVon5CrzCf
/ryX5nEvDz0PuIQ+P5EZqxeiZ7LbDefzxXvbXVpBX8UDQ3uJT6ZbQ2YWEeC/U2+u
HNmpfXu13AQtJXxJhSVuIUeZU5eXQD5Sc7KmAyItDgr6NU0Zhe/H+Mfri8ApnP7q
XVAGUtVQP0Xl39w5lydm3Xp4RCIIiQrPIKBXv/ZnmGIY0RUI/x/eup/M2zq3YQQl
q3Mh26/YSVGg4RxZaDohasyqqAzzN/MoPKUHbw4AXPAUBNhV3QMJ8T69uPYOPkdz
P91KPcQqCyEYM5xsYtY=
=10oh
-----END PGP SIGNATURE-----
dpkg-source: warning: cannot verify inline signature for
./golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-1.dsc: no acceptable
signature found
dpkg-source: info: extracting golang-mvdan-editorconfig in
/build/reproducible-path/golang-mvdan-editorconfig-0.2.0+git20240816.eab549b
dpkg-source: info: unpacking
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b.orig.tar.xz
dpkg-source: info: unpacking
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-1.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 golang-mvdan-editorconfig
dpkg-buildpackage: info: source version 0.2.0+git20240816.eab549b-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Arthur Diniz <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
dh_clean -O--builddirectory=_build -O--buildsystem=golang
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 8 mvdan.cc/editorconfig
internal/goos
internal/coverage/rtcov
internal/unsafeheader
internal/goarch
internal/goexperiment
internal/godebugs
internal/byteorder
internal/profilerecord
internal/asan
internal/msan
internal/runtime/math
internal/cpu
internal/abi
internal/chacha8rand
math/bits
internal/runtime/syscall
sync/atomic
unicode
unicode/utf8
cmp
internal/itoa
math
internal/runtime/atomic
internal/runtime/sys
internal/bytealg
internal/runtime/exithook
internal/stringslite
internal/race
internal/sync
internal/runtime/maps
runtime
internal/reflectlite
iter
sync
slices
errors
sort
internal/bisect
internal/testlog
internal/oserror
path
io
strconv
syscall
internal/godebug
bytes
strings
reflect
bufio
regexp/syntax
internal/syscall/execenv
time
internal/syscall/unix
regexp
io/fs
internal/poll
internal/filepathlite
os
internal/fmtsort
path/filepath
fmt
mvdan.cc/editorconfig
debian/rules execute_before_dh_auto_test
make[1]: Entering directory
'/build/reproducible-path/golang-mvdan-editorconfig-0.2.0+git20240816.eab549b'
cp -a debian/core-test/ _build/src/mvdan.cc/editorconfig
cp CMakeLists.txt _build/src/mvdan.cc/editorconfig
cp -r _sample/ _build/src/mvdan.cc/editorconfig
make[1]: Leaving directory
'/build/reproducible-path/golang-mvdan-editorconfig-0.2.0+git20240816.eab549b'
dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
cd _build && go test -vet=off -v -p 8 mvdan.cc/editorconfig
=== RUN TestViaCmake
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
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
-- Tests are in
/build/reproducible-path/golang-mvdan-editorconfig-0.2.0+git20240816.eab549b/_build/src/mvdan.cc/editorconfig/core-test
-- tests: Using editorconfig binary
/tmp/go-build2096984133/b001/editorconfig.test
-- meta: Using editorconfig /tmp/go-build2096984133/b001/editorconfig.test
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 4.1)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
-- Configuring incomplete, errors occurred!
editorconfig_test.go:35: exit status 1
--- FAIL: TestViaCmake (1.17s)
=== RUN TestConcurrentQuery
--- PASS: TestConcurrentQuery (0.01s)
=== RUN ExampleFind
--- PASS: ExampleFind (0.00s)
=== RUN ExampleParse
--- PASS: ExampleParse (0.00s)
=== RUN ExampleFile_Filter_language
--- PASS: ExampleFile_Filter_language (0.00s)
FAIL
FAIL mvdan.cc/editorconfig 1.183s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 8
mvdan.cc/editorconfig returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T20:27:21Z
-------------------------------------------------------------------------------
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/2393113/
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/152999/
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
--- End Message ---
--- Begin Message ---
Source: golang-mvdan-editorconfig
Source-Version: 0.2.0+git20240816.eab549b-2
Done: Nilesh Patra <[email protected]>
We believe that the bug you reported is fixed in the latest version of
golang-mvdan-editorconfig, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nilesh Patra <[email protected]> (supplier of updated golang-mvdan-editorconfig
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 18 Oct 2025 23:28:09 +0530
Source: golang-mvdan-editorconfig
Architecture: source
Version: 0.2.0+git20240816.eab549b-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Nilesh Patra <[email protected]>
Closes: 1112972
Changes:
golang-mvdan-editorconfig (0.2.0+git20240816.eab549b-2) unstable;
urgency=medium
.
* Team Upload.
* Add patch to fixup FTBFS with cmake 4 (Closes: #1112972)
* Bump Standards-Version to 4.7.2 (no changes needed)
Checksums-Sha1:
bbb1389d23c63b23370249311c872509b68b2732 1768
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.dsc
96554f9e5d48c5e2f2a837de3affc8f8af3662e2 14484
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.debian.tar.xz
cab61ae49c584ab151c65f076483022c0b2e7efb 6149
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2_amd64.buildinfo
Checksums-Sha256:
5da4a0d9b2258e2a37a65a97ba3a99e48e43aa7ae9936d2fdcae7ef9bac756f1 1768
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.dsc
9a15868aa01b6a300c83044f366c6664eaf2b727b698bf7d6b66a0afebe84d64 14484
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.debian.tar.xz
8b6dd3f0a8272c8e2f2df0cd83596d52d4563b1ef44d326aec14462832c3beec 6149
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2_amd64.buildinfo
Files:
6354af1509c5e97fda6dcd9f5fcf84b7 1768 golang optional
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.dsc
25826da6a55d916e4666544da8e6ad85 14484 golang optional
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2.debian.tar.xz
4a0300930d67e27bb8a499ca7b8becd3 6149 golang optional
golang-mvdan-editorconfig_0.2.0+git20240816.eab549b-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iIgEARYKADAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCaPPWBxIcbmlsZXNoQGRl
Ymlhbi5vcmcACgkQKieQS9ckPtr2DAD+O61jwgaOg0xviCZK/5zEEJtrFdYsBDbQ
5U5ZZ0GlwYQBAOuUYxYnbqp73ATJhg7xDaWVPvfp0v7alfmZDlLmLWEI
=hnPQ
-----END PGP SIGNATURE-----
pgpwnxyxBUNMq.pgp
Description: PGP signature
--- End Message ---