-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bug]: librav1e compilation error: libz.so is incompatible with elf64-x86-64 #20100
Comments
The above output seems incorrect. The build script tries to build for aarch64 but the host triplet is x86_64. Try to add |
Wait, I have tried |
Thanks for the reply.
The repro I wrote above did repro the problem for me (just copy&paste the commands one by one). I rechecked it before posting.
Neither |
Sometimes build leftovers from prior builds can interfere. This isn't done automatically because the build system usually caches already downloaded/built dependencies to save time and bandwidth on rebuilds. |
Repeated with |
Hmm very odd, I cannot reproduce this issue at all locally. |
Is there any way I can help? I kinda assumed since it is docker it should be pretty reproducible :) I can pack all the files if needed or something. |
You'd hope so.
|
What I can do: I can record the whole process in asciinema if it is of any help.
OK, let me retry. Last time I did it was few days ago, may be something changed. |
Could possibly help, though I somewhat doubt it. |
Thanks for the reminder for why I don't build without I can actually reproduce the build failure now. |
Is there may be an ugly workaround for now? Should I just checkout an older commit? |
Well I can reproduce the issue when checking out the commit you mentioned in your reproduction steps, it does not happen when trying I was not able to replicate it on the latest commit. |
On my end it reproduces even after checkout-ing the latest commit. Also even though it is not important, but just in case: that commit (I mentioned initially) was the latest at the moment of facing the issue :) |
Problem description
Seems related to #14603
I want to compile
ffmpeg
. One of the dependencies there islibrav1e
and it fails to build with error:Here is the full log:
What steps will reproduce the bug?
TERMUX_FORCE_BUILD_DEPENDENCIES=true
, then delete glib and rebuild without the flag)./scripts/run-docker.sh ./build-package.sh librav1e
.To be more specific:
What is the expected behavior?
It successfully builds
librav1e
System information
Commit of github.com/termux/termux-packages is: efa20d2
The text was updated successfully, but these errors were encountered: