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
Failing to build Gecko #1270
Comments
Details I forgot :
|
You better ask in Mozilla channels for Gecko build issues. That said I've never hit that mingw error which indeed is related to the windows build. Have you run the |
Indeed I understand it’s a Gecko problem so didn’t want to bother you with it but thought it might be due to Wolvic patches or documented process. I did run match bootstrap first. I will try on another machine with the previous Ubuntu just in case. |
Wolvic patches could cause build issues but not at that point, i.e. the build configuration. You could try without applying the patches just in case No problem in asking, just that Mozillians have very likely hit similar problems in the past so you'd likely get more useful info from their forums/channels.
In my experience Gecko builds are unreliable. Minor changes in your config can easily break them. Also as it uses as much local libraries as it can, it's really difficult to get reproducible builds or even normal builds but from previous versions with different library dependencies. |
FWIW I'm building on another machine now (older Ubuntu 22.04.3 LTS) and it seems to work well. I didn't have a lot of the issues I encountered so far (unwind, wasi, etc). Assuming it does complete, can I copy that build over to the machine and continue there? That'd mean building Gecko on this machine then import back with Android Studio on the other machine to build for Lynx. PS: I'll try to rebuild it all on the same machine obviously, as this is not convenient, so mostly asking due to impatience and curiosity. PPS: "12:49.60 Your build was successful!" it didn't even take very long. |
Indeed, I might for the sake of the exercise (and my sanity) try this again through a Docker container, e.g https://github.com/Deadolus/android-studio-docker , in order to have something that doesn't depend on small details of my normal working environment. |
FWIW after
whereas on Ubuntu LTS (where I successfully built Gecko then Wolvic) I remember a line that suggested to restart the environment, e.g entering |
I'll try to build within a 22.04 container https://hub.docker.com/_/ubuntu/ hopefully that will solve it. |
Indeed within a container I get :
as the last line. |
Seems to be building. If it succeed I'll share the |
So I'm managing to build Gecko for Android headlessly but the While searching in this very repository for details on PS: on the "inspiration" side for the Android SDK https://github.com/mindrunner/docker-android-sdk/blob/main/ubuntu/standalone/Dockerfile seems up to date so maybe using Unfortunately it doesn't seem to play well with
|
FWIW this is what I have so far, before trying again with the docker-android-sdk Ubuntu based image :
|
FWIW appending
even though some wrong versions this still allows |
Ok seems the whole
I don't know if it works yet on the device the output as Warning : this is a BIG build |
great work! |
Indeed but it would need a large runner https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#machine-sizes-for-larger-runners due to the size. |
I managed to build Wolvic 1.7 for Lynx today. Works on device, no problem.
Unfortunately it doesn't support WebXR so I'm trying to do that again but building Gecko first.
I'm following https://github.com/Igalia/wolvic/wiki/Developer-workflow#4-build-gecko and have no problem so far.
Unfortunately with
./mach build
I'm hitting :When I see
__MINGW32__
I think of Windows but I'm building on Linux and targeting Android so not sure if relevant.Also I see
ld.lld: error: unable to find library -lunwind
yet on theUbuntu 23.10
I'm using to build I do haveso any pointer would be welcomed!
The text was updated successfully, but these errors were encountered: