DavidSpickett wrote:

> I'm still seeing the no job control error in the pre-commit CI. As far as I 
> know this error is not supposed to be happening, RPC should be getting built 
> which should mean that the lldb-rpc-gen tool is available for use in the 
> shell test. I can't repro locally, I'm wondering if this is a Linux-specific 
> issue.

The very latest CI build has a different failure, one that I can reproduce 
locally too.

```
FAIL: lldb-shell :: RPC/Generator/Tests/CheckRPCGenToolByproducts.test (622 of 
639)
******************** TEST 'lldb-shell :: 
RPC/Generator/Tests/CheckRPCGenToolByproducts.test' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/david.spickett/build-llvm-aarch64/bin/lldb-rpc-gen 
--extra-arg="-resource-dir=/home/david.spickett/build-llvm-aarch64/lib/clang/21"
 
--output-dir=/home/david.spickett/build-llvm-aarch64/tools/lldb/test/Shell/RPC/Generator/Tests/Output/CheckRPCGenToolByproducts.test.tmp
 
/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API/SBAddress.h
 # RUN: at line 3
+ /home/david.spickett/build-llvm-aarch64/bin/lldb-rpc-gen 
--extra-arg=-resource-dir=/home/david.spickett/build-llvm-aarch64/lib/clang/21 
--output-dir=/home/david.spickett/build-llvm-aarch64/tools/lldb/test/Shell/RPC/Generator/Tests/Output/CheckRPCGenToolByproducts.test.tmp
 
/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API/SBAddress.h
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API/SBAddress.h"
No compilation database found in 
/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
In file included from 
/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API/SBAddress.h:12:
In file included from /usr/local/include/lldb/API/SBDefines.h:12:
In file included from /usr/local/include/lldb/lldb-defines.h:12:
In file included from /usr/local/include/lldb/lldb-types.h:12:
/usr/local/include/lldb/lldb-enumerations.h:12:10: fatal error: 'cstdint' file 
not found
   12 | #include <cstdint>
      |          ^~~~~~~~~
1 error generated.
Error while processing 
/home/david.spickett/llvm-project/lldb/test/Shell/RPC/Generator/Tests/../../../../../include/lldb/API/SBAddress.h.
Failed to create output file: 
/home/david.spickett/build-llvm-aarch64/tools/lldb/test/Shell/RPC/Generator/Tests/Output/CheckRPCGenToolByproducts.test.tmp/SBClasses.def!
Failed to create SB Class file

--

********************
********************
Failed Tests (1):
  lldb-shell :: RPC/Generator/Tests/CheckRPCGenToolByproducts.test
```

This build was done with a warm ccache, and the new option defaulted to ON as 
expected. Hopefully that means that bit is solved.

https://github.com/llvm/llvm-project/pull/138031
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to