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

Reply via email to