Skip to content
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

Build script fails through image crate #81

Closed
FlareFlo opened this issue Oct 12, 2023 · 3 comments
Closed

Build script fails through image crate #81

FlareFlo opened this issue Oct 12, 2023 · 3 comments

Comments

@FlareFlo
Copy link

Building image with the avif feature fails with this output

Building inside an isolated container works however:

FROM archlinux
RUN pacman -Syu --noconfirm rustup base-devel nasm
RUN pacman --noconfirm -Scc
RUN rustup install stable --profile minimal
RUN cargo new broken_avif
WORKDIR broken_avif
RUN cargo add image --features avif --no-default-features
RUN cargo build

Dav1d is installed on the system with version 1.3.0-1.
This could be related to #80, but i am not quite sure.

@sdroege
Copy link
Contributor

sdroege commented Oct 24, 2023

error: failed to run custom build command for `dav1d-sys v0.3.5`

That's a quite ancient version. The build will work with newer versions but note #83: dav1d 1.3.0 breaks API/ABI, so either you have to downgrade to an older version or wait for the next release of the Rust bindings (which will require 1.3.0 or newer).

@FlareFlo
Copy link
Author

I figured something along those lines was going on. Looking forward to the new version!
Feel free to close this issue, I am not quite sure if this can/should be considered solved already.

@FlareFlo
Copy link
Author

Fixed in 3a5c34b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants