[Pkg-cmake-team] Bug#1115461: cmake doesn't know about the host-prefixed assembler name
Matthias Klose
doko at debian.org
Wed Sep 17 00:38:39 BST 2025
Package: src:cmake
Version: 4.1.1+really3.31.6-1
Severity: serious
Tags: sid forky
cmake's autopkg tests are failing, blocking the migration of gcc-15. It
should also expect the name with the host prefix.
please also prepare for the detection of a host prefixed ld.
[...]
2580s CMake Error at
/tmp/autopkgtest-lxc.93uxorcr/downtmp/build.J1o/src/Tests/RunCMake/RunCMake.cmake:286
(message):
2580s GNU-AS - FAILED:
2580s
2580s stdout does not match that expected.
2580s
2580s Command was:
2580s
2580s command> "/usr/bin/cmake"
"/tmp/autopkgtest-lxc.93uxorcr/downtmp/build.J1o/src/Tests/RunCMake/BuildDepends"
"-G" "Ninja" "-DRunCMake_TEST=GNU-AS" "--no-warn-unused-cli"
"-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja"
2580s
2580s Expected stdout to match:
2580s
2580s expect-stdout> -- The ASM compiler identification is GNU
2580s expect-stdout> -- Found assembler: [^
2580s expect-stdout> ]*/as(\.exe)?
2580s expect-stdout> -- CMAKE_ASM_COMPILER_ID_VENDOR_MATCH='GNU
assembler'
2580s
2580s Actual stdout:
2580s
2580s actual-stdout> Not searching for unused variables given on the
command line.
2580s actual-stdout> -- The ASM compiler identification is GNU
2580s actual-stdout> -- Found assembler: /usr/bin/x86_64-linux-gnu-as
2580s actual-stdout> -- CMAKE_ASM_COMPILER_ID_VENDOR_MATCH='GNU
assembler'
2580s actual-stdout> -- Configuring done (0.0s)
2580s actual-stdout> -- Generating done (0.0s)
2580s actual-stdout> -- Build files have been written to:
/tmp/autopkgtest-lxc.93uxorcr/downtmp/autopkgtest_tmp/Tests/RunCMake/BuildDepends/GNU-AS-build
2580s
2580s Expected stderr to match:
2580s
2580s expect-stderr> ^$
2580s
2580s Actual stderr:
2580s
2580s actual-stderr>
2580s
2580s Call Stack (most recent call first):
2580s
/tmp/autopkgtest-lxc.93uxorcr/downtmp/build.J1o/src/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake:40
(run_cmake)
2580s
/tmp/autopkgtest-lxc.93uxorcr/downtmp/build.J1o/src/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake:164
(run_BuildDepends)
2580s
2580s
More information about the Pkg-cmake-team
mailing list