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

Can't build v0.7.0 on Alpine Linux #3338

Open
OTLabs opened this issue Jan 9, 2024 · 10 comments
Open

Can't build v0.7.0 on Alpine Linux #3338

OTLabs opened this issue Jan 9, 2024 · 10 comments
Assignees
Labels

Comments

@OTLabs
Copy link

OTLabs commented Jan 9, 2024

Command cargo fetch --locked fails with
error: the lock file /builds/otlabs/aports/community/rav1e/src/rav1e-0.7.0/Cargo.lock needs to be updated but --locked was passed to prevent this

@lu-zero
Copy link
Collaborator

lu-zero commented Jan 10, 2024

I made a 0.7.1 hopefully it works fine for you :)

@OTLabs
Copy link
Author

OTLabs commented Jan 10, 2024

Thank you for taking a look at my issue!

Now I get following error:

thread 'main' panicked at 'packages downloaded: failed to download `arbitrary v1.3.2`
Caused by:
    attempting to make an HTTP request, but --frozen was specified', src/cargo/ops/cargo_compile/mod.rs:908:14

@lu-zero
Copy link
Collaborator

lu-zero commented Jan 10, 2024

I need more information on what you are doing. It seems you didn't freshen a vendored/local index ...

@OTLabs
Copy link
Author

OTLabs commented Jan 10, 2024

Sure. I run:

export CARGO_PROFILE_RELEASE_INCREMENTAL=false
export CARGO_PROFILE_RELEASE_DEBUG=false

cargo fetch --locked

cargo auditable build --release --frozen

@andypost
Copy link

It has fresh Cargo.lock from release and

todays' pipelines with RUST_BACKTRACE=full https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1244762

@OTLabs
Copy link
Author

OTLabs commented Jan 16, 2024

May be the rust (1.72.1-r0) is too old.

@lu-zero
Copy link
Collaborator

lu-zero commented Jan 16, 2024

I have no idea what cargo auditable is doing...

@lu-zero
Copy link
Collaborator

lu-zero commented Jan 16, 2024

Using cargo-auditable v0.6.1 I tried your commands and they seem to be working locally...

@OTLabs
Copy link
Author

OTLabs commented Jan 16, 2024

Thank you for checking this out. Let me retry the build as soon as I get a newer rust.

@OTLabs
Copy link
Author

OTLabs commented Feb 10, 2024

Successfully built with rust v1.75.0!

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

No branches or pull requests

4 participants