-
Notifications
You must be signed in to change notification settings - Fork 109
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
Can't build javy main branch on Ubuntu 23.10 #594
Comments
If it's any help, our CI uses Ubuntu 22.04 to build. Can you confirm if it's the Based on a cursory scan of the output, it looks like the |
I followed the steps to build again. However, even after that, running I also ran the build commands into a container with Ubuntu 22.004 and and it still did not work.
And
|
@jeffcharles : I think I found the cause but not sure how to fix it. I believe the issue is related to a change in standard cpp library. Like I mentioned in the comment above, regular Ubuntu 22.04 will also fail . Adding an include the
cstdint.h seems to be in package libstdc++-xxxxxxxx .
|
Sorry I'm having trouble following what the exact error you ran into was when you tried this 🙂. I was able to build Javy successfully in Ubuntu 22.04. I tried this locally in a new
Our latest CI run including operating system is viewable at https://github.com/bytecodealliance/javy/actions/runs/7702160449/job/20990013509#step:1:4. Granted this runs I can try compiling on Debian Trixie and the latest non-LTS Ubuntu. I can't guarantee support for compiling with Debian testing but at some point in the future we'll want to update to using Ubuntu 24.04 in our CI environment. So if there's an issue with Ubuntu 23.10 because of a C++ standard library change, we can track that as something we'll need to address. We don't have the resources to support compilation in other Linux environments without external contributions. In the meantime, I would recommend using Ubuntu 22.04 to build. It does sound like there's likely something that needs to be changed in https://github.com/pepyakin/binaryen-rs to get it compiling in your environment. |
I ran the same test using Ubuntu 23.10 and confirmed that Javy fails to build in the same way that it fails to build on Debian Trixie:
Looks like we'll need to figure out what to do about |
Making the change suggested in #315 seems like it could also work |
Also realized #397 appears to also have the same cause. |
hi @jeffcharles I'll take a look at wasm-otps-rs but it might take some time (not familiar with the stuff). |
I tested these changes with Ubuntu 23.10 and it looks like it compiles now. |
Operating system: Debian Trixie - Testing
Processor architecture: amd64 - AMD
Rust version: rustc 1.75.0 (82e1608df 2023-12-21)
Javy version:
Problem
I followed the instructions in the readme and I faild to compile.
I also installed all the things mentioned https://github.com/bytecodealliance/javy#how-to-build
cc @jeffcharles #592
Error Message and Context
The text was updated successfully, but these errors were encountered: