Bug#1073201: llvm-toolchain-18: ninja: error: unknown target 'check-sanitizer'

zhangdandan zhangdandan at loongson.cn
Fri Jun 14 13:43:44 BST 2024


Source: llvm-toolchain-18
Version: 1:18.1.6-1
Severity: normal

Dear maintainers,

When compiling llvm-18 in the Debian Package Auto-Building environment, 
the error "ninja: error: unknown target 'check-sanitizer'" occurs.
The error log is as follows,
```
Total Discovered Tests: 2898
   Unsupported      :   19 (0.66%)
   Passed           : 2878 (99.31%)
   Expectedly Failed:    1 (0.03%)
ninja -v -C build-llvm/tools/clang/stage2-bins check-sanitizer || true
ninja: Entering directory `build-llvm/tools/clang/stage2-bins'
ninja: error: unknown target 'check-sanitizer'
ninja -v -C build-llvm/tools/clang/stage2-bins check-libcxx || true
ninja: Entering directory `build-llvm/tools/clang/stage2-bins'
ninja: error: unknown target 'check-libcxx', did you mean 'check-cxx'?
ninja -v -C build-llvm/tools/clang/stage2-bins check-libcxxabi || true
ninja: Entering directory `build-llvm/tools/clang/stage2-bins'
ninja: error: unknown target 'check-libcxxabi', did you mean 'check-cxxabi'?
ninja -v -C build-llvm/tools/clang/stage2-bins check-mlir || true
ninja: Entering directory `build-llvm/tools/clang/stage2-bins'
```

Please pay attention to the above phenomenon.



More information about the Pkg-llvm-team mailing list