Problem
The SCA Test on Linux/arm64 job fails during go vet because CGO compilation cannot find required C header files:
bloom.c:24:10: fatal error: xxhash.h: No such file or directory
24 | #include "xxhash.h"
| ^~~~~~~~~~
../../../go/pkg/mod/github.com/cpegeric/usearch/golang@.../lib.go:30:10: fatal error: usearch.h: No such file or directory
30 | #include "usearch.h"
| ^~~~~~~~~~~
Recent Occurrences
| Date |
PR/Run |
Job |
| 2026-06-26 |
PR #25174 |
SCA Test on Linux/arm64 |
Root Cause
The ARM64 GitHub Actions runner does not have the thirdparty C libraries (xxhash, usearch) installed in thirdparties/install/include/ before go vet runs. The SCA job enables CGO (via CGO_CFLAGS="-I.../thirdparties/install/include"), but the include directory is empty or missing these headers.
This is related to the broader ARM64 runner environment setup issues (similar to Build job missing file command in run 27733163070).
Suggested Fix
- Ensure ARM64 runner image includes xxhash and usearch headers
- Or add a build step to compile/install thirdparty dependencies before running SCA on ARM64
- Or skip CGO-dependent packages in ARM64 SCA (use
-tags nocgo or exclude specific packages)
Problem
The
SCA Test on Linux/arm64job fails duringgo vetbecause CGO compilation cannot find required C header files:Recent Occurrences
Root Cause
The ARM64 GitHub Actions runner does not have the thirdparty C libraries (
xxhash,usearch) installed inthirdparties/install/include/beforego vetruns. The SCA job enables CGO (viaCGO_CFLAGS="-I.../thirdparties/install/include"), but the include directory is empty or missing these headers.This is related to the broader ARM64 runner environment setup issues (similar to Build job missing
filecommand in run 27733163070).Suggested Fix
-tags nocgoor exclude specific packages)