-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Docker build fails on M1 Mac #133
Comments
looks like I was able to fix it by running it with the
|
This should be fixed in the |
@sandreas ok I'll give it a shot! so it looks like in your README you link to the latest tag in your releases but that is from 2019. If I'm installing using the docker method, do I still use the same link? As in this:
|
I always refresh the links. So the instructions in latest should be ok. Don't forget to skip caches / do a full rebuild :-) |
The build ended up succeeding but now it's just stuck when I try and run a merge.
Its been on 18 remaining for about 4 hours now. With the |
Thanks for the quick feedback. Well this is strange... there must be a Unfortunately I got no M1 Mac, but I'm gonna check the latest |
Well, on my machine everything is working correctly. I improved the logging with the latest pre-release, but I suspect that there is something else, that does not work. Maybe you could try to login into your docker and try to run one of the commands manually? Perform the following while the jobs are running:
And then see, if you can figure out, what the problem is (maybe |
So I gave running it inside the container a shot, and it also appears to just be hanging still:
After that there is just an empty line with no progress. |
So it's and
But I'm pretty sure this will not help much. Maybe compiling If I can do something about it, I will try to update the |
Hey, this discussion might be interesting about arm builds of static-ffmpeg wader/static-ffmpeg#158 (comment) Hopefully will get multi-arch builds in the future somehow, unfortuently a it's a bit messy to do as it is now. |
Thank you, this is very helpful.
I plan to do so, there is a lot on my todo list... I would also like to migrate Edit: |
Yes is me, thanks :) Was doing some surveying how people are using it and what issues there are. But think i've seen your repo before for some reason, probably from me just lurking around in various media projects. |
@wader: Unbelievable. Thank you for maintaining the project. I use it everywhere :-) |
Glad to hear it's useful! I use ffmpeg in a lot of place also.. that was kind of the reason it got started, was a pain to build many variants or use pre-packaged binaries with different versions of ffmpeg :) |
@sandreas hi again, since |
This is awesome news. I try to implement this as soon as possible. @wader Is there anything I need to do except upgrading the version number in the |
Nope hat should be it, docker should figure out the rest automatically. Let me know how it goes |
Thank you, you probably saved me a lot of work. |
No problem, @pldin601 did more or less all the work, so thank him :) |
@wader that's great news! I was actually just looking at wader/static-ffmpeg#94 yesterday, curious about the progress! |
Ok, a quick check seems to work - I upgraded the docker file. I would love to get feedback for |
@sandreas I can give it a shot when I have some time |
I was curious if we could also get support for 32 bit arm (armv7?, not 100% on the naming). This would be super helpful for anyone running Raspberry Pis without the brand new 64bit os. Thanks! (sorry if this is the wrong location for the request, was linked to from this issue) |
@krejko Hey, yes sadly there is only 64bit ARM support at the moment. I wrote a comment some time ago for the reasons why it's a bit complicated wader/static-ffmpeg#94 (comment) TLDR: it is possible but very inconvenient and hard to maintain. The reason why we got 64bit ARM now was because AWS offers native 64bit ARM hosts and @pldin601 made a github action that made it easy and convenient to use. But i would like to support as many architectures as possible so if we can find a convenient way to support it i'm up for it. @pldin601 do you know if AWS or someone else offers 32bit v7 ARM hosts? could we make a 64bit ARM host run in 32 bit mode somehow? |
Reading about AWS Graviton2 ARM hosts i get feeling there is some kind of 32bit support but a bit confusing. What would happen if you booted a ARM v7 linux kernel? would it act exactly like it was a ARM v7 or would some 64bit-ness leak thru and mess up for some build systems? |
No, I have no idea about different services, but I briefly looked into AWS AMIs and hasn't found any 32-bit Linux distros, even x86.
AFAIK, in addition to the kernel, all applications must be compiled for 32-bit architecture. Furthermore, are you sure that all codecs used in |
@sandreas I just gave it a shot on my M1 mac, no issues building or running m4b-tool with Docker with the newest changes to the Dockerfile! You should be good to close this issue. |
Don't think i can promise anything about other arm variants, but i can comment in #156 etc if there is some progress. |
@wader Very kind of you... maybe it is more my job to keep an eye on your project, but if you would like to report updates, it would be great support. Closing this issue due to positive feedback. Thanks to all participants. |
I recently got a new M1 Macbook Air and tried to run a build on this project. It ended up failing with the following error:
The text was updated successfully, but these errors were encountered: