Your message dated Tue, 03 Feb 2026 15:06:44 +0000
with message-id <[email protected]>
and subject line Bug#1081250: Removed package(s) from unstable
has caused the Debian Bug report #1113235,
regarding llvm-toolchain-17: 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.)
--
1113235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: llvm-toolchain-17
Version: 1:17.0.6-22
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, llvm-toolchain-17 failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
[2747/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cedar-r600--.bc palm-r600--.bc
[2748/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cedar-r600--.bc sumo-r600--.bc
[2749/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cedar-r600--.bc sumo2-r600--.bc
[2750/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cedar-r600--.bc redwood-r600--.bc
[2751/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cedar-r600--.bc juniper-r600--.bc
[2752/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cypress-r600--.bc hemlock-r600--.bc
[2753/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink barts-r600--.bc turks-r600--.bc
[2754/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink barts-r600--.bc caicos-r600--.bc
[2755/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/cmake -E create_symlink cayman-r600--.bc aruba-r600--.bc
[2756/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-o builtins.opt.spirv-mesa3d-.bc builtins.link.spirv-mesa3d-.bc
[2757/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/llvm-spirv-17 --spirv-max-version=1.1 -o spirv-mesa3d-.spv
builtins.link.spirv-mesa3d-.bc
[2758/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-o builtins.opt.spirv64-mesa3d-.bc builtins.link.spirv64-mesa3d-.bc
[2759/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&& /usr/bin/llvm-spirv-17 --spirv-max-version=1.1 -o spirv64-mesa3d-.spv
builtins.link.spirv64-mesa3d-.bc
[2760/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-O3 -o builtins.opt.amdgcn--amdhsa.bc builtins.link.amdgcn--amdhsa.bc
[2761/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build/prepare_builtins
-o amdgcn--amdhsa.bc builtins.opt.amdgcn--amdhsa.bc
[2762/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-O3 -o builtins.opt.nvptx--.bc builtins.link.nvptx--.bc
[2763/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-O3 -o builtins.opt.nvptx--nvidiacl.bc builtins.link.nvptx--nvidiacl.bc
[2764/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-O3 -o builtins.opt.nvptx64--.bc builtins.link.nvptx64--.bc
[2765/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build/prepare_builtins
-o nvptx--.bc builtins.opt.nvptx--.bc
[2766/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build/prepare_builtins
-o nvptx--nvidiacl.bc builtins.opt.nvptx--nvidiacl.bc
[2767/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build/prepare_builtins
-o nvptx64--.bc builtins.opt.nvptx64--.bc
[2768/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/opt
-O3 -o builtins.opt.nvptx64--nvidiacl.bc builtins.link.nvptx64--nvidiacl.bc
[2769/2769] cd /build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build
&&
/build/reproducible-path/llvm-toolchain-17-17.0.6/libclc/build/prepare_builtins
-o nvptx64--nvidiacl.bc builtins.opt.nvptx64--nvidiacl.bc
touch stamps/debian-libclc-build
Building compiler-rt for wasm32
Using cmake: cmake
mkdir -p "build-wasm/compiler-rt-wasm32"
cmake -B "build-wasm/compiler-rt-wasm32" -S compiler-rt/lib/builtins/ \
-G Ninja \
\
-DCMAKE_SYSTEM_NAME=Generic \
-DCMAKE_C_COMPILER_TARGET=wasm32-unknown-unknown \
-DCMAKE_CXX_COMPILER_TARGET=wasm32-unknown-unknown \
-DCMAKE_ASM_COMPILER_TARGET=wasm32-unknown-unknown \
-DCMAKE_C_COMPILER=/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/clang
\
-DCMAKE_CXX_COMPILER=/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/clang++
\
-DCMAKE_C_FLAGS="-O2 -DNDEBUG -g1 -Werror=implicit-function-declaration
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -Wno-unused-command-line-argument -Wdate-time
-D_FORTIFY_SOURCE=2" \
-DCMAKE_CXX_FLAGS="-O2 -DNDEBUG -g1 -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed
-L/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/lib"
\
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed
-L/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/lib"
\
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id,--as-needed
-L/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/lib"
\
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-17/lib/clang/17 \
-DCMAKE_INSTALL_DATADIR=lib \
-DCMAKE_INSTALL_INCLUDEDIR=include \
-DLLVM_CMAKE_DIR=/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/../
\
-DCOMPILER_RT_STANDALONE_BUILD=ON \
-DCOMPILER_RT_BAREMETAL_BUILD=ON \
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
-DCOMPILER_RT_USE_LIBCXX=OFF \
-DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON \
-DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=wasm32-unknown-unknown \
-DCOMPILER_RT_OS_DIR=wasi
-- The C compiler identification is Clang 17.0.6
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler:
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/bin/clang
- skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for unwind.h
-- Looking for unwind.h - found
-- Looking for rpc/xdr.h
-- Looking for rpc/xdr.h - not found
-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL)
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Could NOT find Terminfo (missing: Terminfo_LIBRARIES Terminfo_LINKABLE)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find zstd (missing: zstd_LIBRARY zstd_INCLUDE_DIR)
-- Found LibXml2: /usr/lib/aarch64-linux-gnu/libxml2.so (found version "2.14.5")
-- Found CURL: /usr/lib/aarch64-linux-gnu/libcurl.so (found version
"8.16.0-rc2")
CMake Error at
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/lib/cmake/llvm/LLVMExports.cmake:1408
(add_library):
ADD_LIBRARY called with SHARED option but the target platform does not
support dynamic linking.
Call Stack (most recent call first):
/build/reproducible-path/llvm-toolchain-17-17.0.6/build-llvm/tools/clang/stage2-bins/lib/cmake/llvm/LLVMConfig.cmake:361
(include)
/build/reproducible-path/llvm-toolchain-17-17.0.6/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:303
(find_package)
CMakeLists.txt:29 (load_llvm_config)
-- Configuring incomplete, errors occurred!
make[1]: *** [debian/rules:921: build-wasm/compiler-rt-wasm32] Error 1
make[1]: Leaving directory '/build/reproducible-path/llvm-toolchain-17-17.0.6'
make: *** [debian/rules:570: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T08:20:28Z
-------------------------------------------------------------------------------
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/2404498/
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/153969/
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 ---
Version: 1:17.0.6-23+rm
Dear submitter,
as the package llvm-toolchain-17 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1081250
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---