Bug#1114469: llvm-toolchain-19: FTBFS: cat: build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log: No such file or directory

Santiago Vila sanvila at debian.org
Fri Sep 5 21:10:43 BST 2025


Package: src:llvm-toolchain-19
Version: 1:19.1.7-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:llvm-toolchain-19, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[1741/5463] /usr/bin/g++-15 -D_GNU_SOURCE -D__STDC_CONSTANT_ [too-long-redacted] ombine/InstCombineVectorOps.cpp
[1742/5463] /usr/bin/g++-15 -D_GNU_SOURCE -D__STDC_CONSTANT_ [too-long-redacted] ct/Affine/IR/AffineValueMap.cpp
[1743/5463] /usr/bin/g++-15 -D_GNU_SOURCE -D__STDC_CONSTANT_ [too-long-redacted] /ValueBoundsOpInterfaceImpl.cpp
FAILED: tools/mlir/lib/Dialect/Affine/IR/CMakeFiles/obj.MLIRAffineDialect.dir/ValueBoundsOpInterfaceImpl.cpp.o 
/usr/bin/g++-15 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__S [too-long-redacted] /ValueBoundsOpInterfaceImpl.cpp
In file included from /<<PKGBUILDDIR>>/mlir/lib/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.cpp:9:
/<<PKGBUILDDIR>>/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h:31:11: error: ‘int64_t’ was not declared in this scope
   31 | FailureOr<int64_t> fullyComposeAndComputeConstantDelta(Value value1,
      |           ^~~~~~~
/<<PKGBUILDDIR>>/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h:13:1: note: ‘int64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   12 | #include "mlir/Support/LLVM.h"
  +++ |+#include <cstdint>
   13 | 
/<<PKGBUILDDIR>>/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h:31:18: error: template argument 1 is invalid
   31 | FailureOr<int64_t> fullyComposeAndComputeConstantDelta(Value value1,
      |                  ^
/<<PKGBUILDDIR>>/mlir/lib/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.cpp:107:77: error: ‘llvm::FailureOr<long int> mlir::affine::fullyComposeAndComputeConstantDelta(mlir::Value, mlir::Value)’ should have been declared inside ‘mlir::affine’
  107 | mlir::affine::fullyComposeAndComputeConstantDelta(Value value1, Value value2) {
      |                                                                             ^
/<<PKGBUILDDIR>>/mlir/lib/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.cpp:107:1: error: ambiguating new declaration of ‘llvm::FailureOr<long int> mlir::affine::fullyComposeAndComputeConstantDelta(mlir::Value, mlir::Value)’
  107 | mlir::affine::fullyComposeAndComputeConstantDelta(Value value1, Value value2) {
      | ^~~~
/<<PKGBUILDDIR>>/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h:31:20: note: old declaration ‘int mlir::affine::fullyComposeAndComputeConstantDelta(mlir::Value, mlir::Value)’
   31 | FailureOr<int64_t> fullyComposeAndComputeConstantDelta(Value value1,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’ may have been intended to silence earlier diagnostics
[1744/5463] /usr/bin/g++-15 -D_GNU_SOURCE -D__STDC_CONSTANT_ [too-long-redacted] Dialect/Affine/IR/AffineOps.cpp
ninja: build stopped: subcommand failed.

Command exited with non-zero status 1
	Command being timed: "cmake --build build-llvm --target stage2"
	User time (seconds): 1910.48
	System time (seconds): 59.78
	Percent of CPU this job got: 198%
	Elapsed (wall clock) time (h:mm:ss or m:ss): 16:33.81
	Average shared text size (kbytes): 0
	Average unshared data size (kbytes): 0
	Average stack size (kbytes): 0
	Average total size (kbytes): 0
	Maximum resident set size (kbytes): 3453776
	Average resident set size (kbytes): 0
	Major (requiring I/O) page faults: 44
	Minor (reclaiming a frame) page faults: 10521129
	Voluntary context switches: 18338
	Involuntary context switches: 85514
	Swaps: 0
	File system inputs: 0
	File system outputs: 1912296
	Socket messages sent: 0
	Socket messages received: 0
	Signals delivered: 0
	Page size (bytes): 4096
	Exit status: 1
cat: build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log: No such file or directory
make[1]: *** [debian/rules:964: stamps/debian-full-build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:665: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-llvm-team mailing list