Skip to content

Commit a5ab857

Browse files
committed
Add issue for job failure
1 parent 72f9cda commit a5ab857

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

issues/job_failure_summary.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
**Job Failure Summary**
2+
3+
See failing job: https://github.com/GordonSmith/component-model-cpp/actions/runs/18194501364/job/51797087211 (ref: 72f9cdab020b5835cba3df2bcd2fcfc1cc3cac79)
4+
5+
#### 1. WASI SDK/Clang Dynamic Library Not Found
6+
```
7+
dyld: Library not loaded: @rpath/libclang-cpp.dylib
8+
Referenced from: .../build/vcpkg_installed/arm64-osx/wasi-sdk/bin/clang-19
9+
Reason: tried: .../lib/libclang-cpp.dylib (no such file)
10+
```
11+
- Solution: Ensure libclang-cpp.dylib is present in wasi-sdk/lib/. Reinstall WASI SDK or set DYLD_LIBRARY_PATH appropriately.
12+
13+
#### 2. No Matching Constructor for cmcpp::InstanceContext
14+
```
15+
error: no matching constructor for initialization of 'cmcpp::InstanceContext'
16+
candidate constructor ... not viable: requires 1 argument, but 3 were provided
17+
```
18+
- Solution: Add a constructor to InstanceContext matching the arguments provided, or fix instantiation to use correct arguments.
19+
20+
#### 3. Constexpr Initialization Errors in traits.hpp
21+
```
22+
constexpr variable 'flat_types' must be initialized by a constant expression
23+
static constexpr std::array<WasmValType, flat_types_len> flat_types = []() constexpr { ... }
24+
```
25+
- Solution: Refactor initialization so all expressions are compatible with C++17/20 constexpr rules. Avoid lambdas in constexpr context.
26+
27+
#### 4. Template Deduction Failure for flatten
28+
```
29+
no matching function for call to 'flatten'
30+
candidate template ignored: failed template argument deduction
31+
```
32+
- Solution: Explicitly specify template arguments, and ensure calls match the function signature in func.hpp.
33+
34+
---
35+
36+
Please refer to the job logs (ref: 72f9cdab020b5835cba3df2bcd2fcfc1cc3cac79) for full error details.

0 commit comments

Comments
 (0)