Build-repro CI failing: Missing libc++ headers on osx?
I'm afraid I'm bad at diagnosing this kind of thing, but here is an example log:
https://gitlab.torproject.org/tpo/core/arti/-/jobs/544060
The first problem I can see is that libsqlite3 complains about missing c++ headers:
The following warnings were emitted during compilation:
warning: libsqlite3-sys@0.28.0: osxcross: error: cannot find libc++ headers
warning: libsqlite3-sys@0.28.0: osxcross: error: while detecting target
error: failed to run custom build command for `libsqlite3-sys v0.28.0`
And then, I see:
warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:
warning: lzma-sys@0.1.20: osxcross: error: cannot find libc++ headers
warning: lzma-sys@0.1.20: osxcross: error: while detecting target
This seems related to an earlier warning:
Given SDK does not contain libc++ headers (-stdlib=libc++ test may fail)
You may want to re-package your SDK using 'tools/gen_sdk_package.sh' on macOS