Bug#1142869: llvm-toolchain-19: FTBFS: fatal error: 'linux/scc.h' file not found

Graham Inggs <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <CAM8zJQtMEu6K5q6HWSbyTOAwvzQWnmbsaS9=Tzf55FdCasK6WA__180.03811580769$1785140243$gmane$org@mail.gmail.com>
Source: llvm-toolchain-19
Version: 1:19.1.7-22
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: [email protected], [email protected]

Hi Maintainer

llvm-toolchain-19 FTBFS when rebuilt against libabsl20260526 [1].
I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=llvm-toolchain-19


FAILED: [code=1]
compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o
/build/reproducible-path/llvm-toolchain-19-19.1.7/build-llvm/bin/clang++
--target=x86_64-pc-linux-gnu -DHAVE_RPC_XDR_H=0
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/build/reproducible-path/llvm-toolchain-19-19.1.7/compiler-rt/lib/sanitizer_common/..
-I/build/reproducible-path/llvm-toolchain-19-19.1.7/build-llvm/include
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color
-ffunction-sections -fdata-sections
-fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-19-19.1.7/build-llvm/runtimes/runtimes-bins=../../../
-fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-19-19.1.7/=
-no-canonical-prefixes
-ffile-prefix-map=/build/reproducible-path/llvm-toolchain-19-19.1.7/build-llvm/runtimes/runtimes-bins=../../../
-ffile-prefix-map=/build/reproducible-path/llvm-toolchain-19-19.1.7/=
-no-canonical-prefixes -Wall -Wno-unused-parameter -O3 -DNDEBUG
-std=c++17 -m32 -fPIC -fno-builtin -fno-exceptions
-fomit-frame-pointer -funwind-tables -fno-stack-protector
-fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety
-Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only
-Wno-gnu -Wno-variadic-macros -Wno-c99-extensions
-ftrivial-auto-var-init=pattern -nostdinc++ -Wno-format -fno-rtti
-Wframe-larger-than=570 -Wglobal-constructors -MD -MT
compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o
-MF compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o.d
-o compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o
-c /build/reproducible-path/llvm-toolchain-19-19.1.7/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
/build/reproducible-path/llvm-toolchain-19-19.1.7/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:154:10:
fatal error: 'linux/scc.h' file not found
  154 | #include <linux/scc.h>
      |          ^~~~~~~~~~~~~
1 error generated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.