-
Notifications
You must be signed in to change notification settings - Fork 252
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 compile with Debian buster #2482
Comments
What is the precise output of |
NASM version 2.14 |
It looks like when this patch was ported from rav1e's fork of nasm-rs to the upstream nasm-rs, the code to handle two-part version strings was not copied. Working: https://github.com/xiph/rav1e/pull/2223/files#diff-a7b0a2dee0126cddf994326e705a91eaR152 |
The error is raised at nasm-rs-0.1.8/src/lib.rs:325:30. I managed to reproduce the error with that snippet and the input I expect it is receiving: Rust Playground example. It appears the issue is that the code is splitting on spaces but there is a trailing newline that ends up included in the numeric parsing. Once this is resolved, we will trip the |
nasm version parsing was failing on version strings with only 2 parts, which is common for nasm releases. Fixes xiph/rav1e#2482 Also avoids panics/unwraps/expects where reasonable in favor of bubbling them up as `Err`s. Libraries should avoid panicking when possible, and allow the caller to handle the errors. This requires a breaking change in function signatures to return `Result`s.
I opened medek/nasm-rs#31, another solution got opened in medek/nasm-rs#33 |
Anyone from nasm-rs looking into this? This is a blocker for using rav1e. |
You may also open an issue on Debian since they are the one customizing the version string apparently. |
I checked with Ubuntu with 2.14.02 version and that also fails to compile.
… On 15-Aug-2020, at 7:47 PM, Luca Barbato ***@***.***> wrote:
You may also open an issue on Debian since they are the one customizing the version string apparently.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
For the same reason, the recipe is the same. Build your own and it will work. |
You mean build my own NASM? |
Yes. |
Okay, trying right away... |
Building NASM from source fixed it. Btw, new version of |
This is fixed in |
I am getting the same error @adityapatadia error: failed to run custom build command for Caused by: |
your nasm seems broken. try updating it. |
When compiling with Debain buster, following compilation error comes:
It seems there is some issue with NASM. Buster comes with 2.14 version.
The text was updated successfully, but these errors were encountered: