Closed MartinEesmaa closed 10 months ago
My guess would be that you are using stale images. Everything builds just fine for me. Try to clean up any potential stale local images you might have.
Hi, @BtbN. Thank you for replying to me. I deleted and pruned the docker images with system:
docker rmi -f $(docker images -a -q)
docker system prune -af
docker image prune -af
After cleaning docker images, I ran the script again and it failed again. Tried my Arch Linux (CLI only) and Ubuntu 22.04.3, I get same error result.
Then I don't know what's wrong. It seems to be failing super early as well, when installing rust. I have no controll over that step, so maybe upstream broke something. Hopefully it gets fixed soon if that's the case.
Okay, @BtbN. Thank you for the information. I guess I had to wait for cargo build fix compile issues by rust... Waiting for two errors to be fixed:
91.38 error: could not compile `cargo` (lib) due to 2 previous errors
Update just found issue same error: https://github.com/rust-lang/cargo/issues/13002 Update 2: it was only cargo build issue, not ffmpeg-builds issue
Going off of a linked workaround (https://github.com/AOMediaCodec/libavif/pull/1785), I tried modifying cargo install cargo-c
to cargo install cargo-c --locked
and it successfully bypassed the issue for me.
The workaround also mentions "using --locked might be advisable anyway to ensure reproducible builds.".
@BtbN unless you have concerns with this solution, would you mind helping to merge this PR? Thanks!
Hi! I have a problem for compiling targeting Windows x64 with non-free. I tried run
./makeimage.sh win64 nonfree
, in the beginning it ran well, but during compilation of making image, I got an error messages like this:Feel free to reply me with anytime! :)
Thank you!
Regards