[From nobody Wed Oct 28 18:12:04 2026
Received: (at submit) by bugs.debian.org; 13 May 2025 19:12:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
 UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
 WORD_WITHOUT_VOWELS autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 231; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:43252)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1uEv37-0072Am-A5
 for submit@bugs.debian.org; Tue, 13 May 2025 19:12:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=6KB3Albbza3qyjeJyh5GPUzx8Qsv+A9qu6qzA/LASX0=; b=n0DfBzE+0Il6dIRqgN5u5CjZ98
 Fb3ZCqWzxt9pNoqnzUVuIWHUCdbuPtsRWqE+3rVURlSlO9tUjchwIKwVISo3uj5FYHN9SIC3NlsAa
 URrUrnmdrRHKNg9Fqhlr3hpC4dvwijVXD5Uvum/b3hbUsNCOT5sWBe+LrT8exzCyOdjaH8VcKP1UR
 Z8kCjLychV3G6fnfYK7RwRIdBcGpwKwdARts5oFJ4wsRE258e6YJ+5OuFjB7VNMDVjX+TE9yuB9Kf
 17gbNOZFfH1gie0Wr+4WhIYWj92QJKNDB5D/Y4D0dfxy8hkWjs8dS1cza6HUTm7887R8ImAhdqcLG
 AtI5P1Og==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1uEv35-00AqBl-Js
 for submit@bugs.debian.org; Tue, 13 May 2025 19:12:19 +0000
Date: Tue, 13 May 2025 21:07:18 +0200
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: llvm-toolchain-18: FTBFS with make --shuffle=reverse: /bin/sh: 4:
 --stats-format: not found
Message-ID: &lt;aCOYZrRGAQOxatA7@grub.nussbaum.fr&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: llvm-toolchain-18
Version: 1:18.1.8-18
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
&gt; make[1]: Entering directory '/build/reproducible-path/llvm-toolchain-18-18.1.8'
&gt; debian/rules:1083: update target 'stamps/sccache-stats' due to: target does not exist
&gt; if test -f ; then \
&gt; 	ls -al /; \
&gt; 	mkdir -p /tmp/buildd/source/; \
&gt; 	 --stats-format json --show-stats &gt; /tmp/buildd/source/sccache-stats.json; \
&gt; 	cat /tmp/buildd/source/sccache-stats.json; \
&gt; fi
&gt; total 64
&gt; drwxr-xr-x  18 root   root    4096 May  1 12:40 .
&gt; drwxr-xr-x  18 root   root    4096 May  1 12:40 ..
&gt; lrwxrwxrwx   1 root   root       7 Mar  4 11:20 bin -&gt; usr/bin
&gt; drwxr-xr-x   2 root   root    4096 Mar  4 11:20 boot
&gt; drwxr-xr-x   3 root   root    4096 May  1 12:31 build
&gt; drwxr-xr-x   4 root   root    4096 May  1 12:41 dev
&gt; drwxr-xr-x  42 root   root    4096 May  1 12:41 etc
&gt; drwxr-xr-x   2 root   root    4096 Mar  4 11:20 home
&gt; lrwxrwxrwx   1 root   root       7 Mar  4 11:20 lib -&gt; usr/lib
&gt; lrwxrwxrwx   1 root   root       9 May  1 12:40 lib32 -&gt; usr/lib32
&gt; lrwxrwxrwx   1 root   root       9 Mar  4 11:20 lib64 -&gt; usr/lib64
&gt; lrwxrwxrwx   1 root   root      10 May  1 12:40 libx32 -&gt; usr/libx32
&gt; drwxr-xr-x   2 root   root    4096 May  1 12:31 media
&gt; drwxr-xr-x   2 root   root    4096 May  1 12:31 mnt
&gt; drwxr-xr-x   2 root   root    4096 May  1 12:31 opt
&gt; dr-xr-xr-x 231 nobody nogroup    0 May  1 12:41 proc
&gt; drwx------   2 root   root    4096 May  1 12:31 root
&gt; drwxr-xr-x   4 root   root    4096 May  1 12:31 run
&gt; lrwxrwxrwx   1 root   root       8 Mar  4 11:20 sbin -&gt; usr/sbin
&gt; drwxr-xr-x   2 root   root    4096 May  1 12:31 srv
&gt; dr-xr-xr-x  13 nobody nogroup    0 May  1 12:30 sys
&gt; drwxrwxrwt  15 nobody nogroup 4096 May  1 12:43 tmp
&gt; drwxr-xr-x  14 root   root    4096 May  1 12:40 usr
&gt; drwxr-xr-x  11 root   root    4096 May  1 12:31 var
&gt; /bin/sh: 4: --stats-format: not found
&gt; touch stamps/sccache-stats
&gt; debian/rules:959: update target 'build-wasm/compiler-rt-wasm64' due to: target does not exist
&gt; echo &quot;Building compiler-rt for wasm64&quot;
&gt; Building compiler-rt for wasm64
&gt; echo &quot;Using cmake: cmake&quot;
&gt; Using cmake: cmake
&gt; mkdir -p &quot;build-wasm/compiler-rt-wasm64&quot;
&gt; cmake -B &quot;build-wasm/compiler-rt-wasm64&quot; -S compiler-rt/lib/builtins/ \
&gt; 	-G Ninja \
&gt; 	 \
&gt; 	-DCMAKE_SYSTEM_NAME=Generic \
&gt; 	-DCMAKE_C_COMPILER_TARGET=wasm64-unknown-unknown \
&gt; 	-DCMAKE_CXX_COMPILER_TARGET=wasm64-unknown-unknown \
&gt; 	-DCMAKE_ASM_COMPILER_TARGET=wasm64-unknown-unknown \
&gt; 	-DCMAKE_C_COMPILER=/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/bin/clang \
&gt; 	-DCMAKE_CXX_COMPILER=/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/bin/clang++ \
&gt; 	-DCMAKE_C_FLAGS=&quot;-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&quot; \
&gt; 	-DCMAKE_CXX_FLAGS=&quot;-O2 -DNDEBUG -g1 -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2&quot; \
&gt; 	-DCMAKE_SHARED_LINKER_FLAGS=&quot;-Wl,-z,relro -Wl,--build-id,--as-needed -L/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/lib&quot; \
&gt; 	-DCMAKE_MODULE_LINKER_FLAGS=&quot;-Wl,-z,relro -Wl,--build-id,--as-needed -L/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/lib&quot; \
&gt; 	-DCMAKE_EXE_LINKER_FLAGS=&quot;-Wl,-z,relro -Wl,--build-id,--as-needed -L/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/lib&quot; \
&gt; 	-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-18/lib/clang/18 \
&gt; 	-DCMAKE_INSTALL_DATADIR=lib \
&gt; 	-DCMAKE_INSTALL_INCLUDEDIR=include \
&gt; 	-DLLVM_CMAKE_DIR=/build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/bin/../ \
&gt; 	-DCOMPILER_RT_STANDALONE_BUILD=ON \
&gt; 	-DCOMPILER_RT_BAREMETAL_BUILD=ON \
&gt; 	-DCOMPILER_RT_INCLUDE_TESTS=OFF \
&gt; 	-DCOMPILER_RT_USE_LIBCXX=OFF \
&gt; 	-DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON \
&gt; 	-DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=wasm64-unknown-unknown \
&gt; 	-DCOMPILER_RT_OS_DIR=wasi
&gt; -- The C compiler identification is unknown
&gt; -- The ASM compiler identification is unknown
&gt; -- Didn't find assembler
&gt; CMake Error at CMakeLists.txt:9 (project):
&gt;   The CMAKE_C_COMPILER:
&gt; 
&gt;     /build/reproducible-path/llvm-toolchain-18-18.1.8/build-llvm/tools/clang/stage2-bins/bin/clang
&gt; 
&gt;   is not a full path to an existing compiler tool.
&gt; 
&gt;   Tell CMake where to find the compiler by setting either the environment
&gt;   variable &quot;CC&quot; or the CMake cache entry CMAKE_C_COMPILER to the full path to
&gt;   the compiler, or to the compiler name if it is in the PATH.
&gt; 
&gt; 
&gt; CMake Error at CMakeLists.txt:9 (project):
&gt;   No CMAKE_ASM_COMPILER could be found.
&gt; 
&gt;   Tell CMake where to find the compiler by setting either the environment
&gt;   variable &quot;ASM&quot; or the CMake cache entry CMAKE_ASM_COMPILER to the full path
&gt;   to the compiler, or to the compiler name if it is in the PATH.
&gt; 
&gt; 
&gt; -- Warning: Did not find file Compiler/-ASM
&gt; -- Configuring incomplete, errors occurred!
&gt; make[1]: *** [debian/rules:962: build-wasm/compiler-rt-wasm64] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/llvm-toolchain-18_18.1.8-18_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
]