-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failures to build (and needed dependencies) #11
Comments
adding the following lines in
but I still get
|
With those changes I get a smaller set of errors:
|
Hmm, oddly - on subsequent build attempts, several more build errors are reported. |
We're working on it! We don't use Cargo internally and keeping two different build systems in sync is a little challenging. |
I get the same or substantially similar results when building cacc346 Both with or without this patch:
|
FYI my nightly happens to be brand new, I suppose that could contribute.
|
the detcore error persists on cacc346 at my side too. I tried local build and on an empty docker - both gave same results. my nightly is also the latest. |
Jeez, sorry about this. At the current main branch, 6cb5575, it cargo builds for me fine on a Centos Stream 8 server and Fedora 36 laptop (with libunwind). I'm trying this from the
(and having some trouble with cargo update getting OOM killed.. will update this in a moment) |
Interesting. Does your cargo and rustc come from I had not tried
|
Ah this is the culprit Line 16 in 6cb5575
Removing this line builds everything all fine on current Maybe turn on the CI runs using cargo-action 🙂 Atleast the hermit/.github/workflows/ci.yml Lines 19 to 24 in 6cb5575
|
Thanks for the investigation!! So ceee5bd probably builds for you on that arch setup then then? Reverting that business about the map_first_last feature. @rnbguy, thanks again for your patience. Our external build was half baked here. (It builds fine and runs 750 integration tests, with buck, over in monorepo land ;-). ) We'll invest here to get this in good shape, buildable with Docker & Nix, and with images on dockerhub. Also, of course, reenabling the barest level of build in CI (#13). Porting real integration tests will take a bit more work as described in the README. |
That being the issue makes me think it's about the difference between what Debian installs for rust:latest and what rustup installs for nightly (I also used rustup). |
This commit makes my build succeed but might be worth mentioning that there's a test failure. Not sure how significant it is.
|
@androm3da Does it work with Edit: Never mind. I can reproduce the failure as well. Looking into it! |
🎉 |
It does. However a different test fails when I use that command line.
|
We'll fix this particular issue soon. Currently we have a bit of desync problem with our internal repo but at least you can build and try hermit. |
This now builds correctly for me (although I then experience #16) so I'm closing this. |
@samth The official instructions are incomplete still, like you I had to install the |
Describe the bug
As of 56f1390 the repository fails to build with
cargo build
. I get the error:Additionally, I needed to install
libunwind-dev
in order to build, otherwise it failed (with a panic) when compilingunwind-sys
.Also, I notice that the GitHub actions CI doesn't do anything.
The text was updated successfully, but these errors were encountered: