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

How to build Thunderbird from the archive? Help #66

Open
eSkry opened this issue Jan 11, 2023 · 0 comments
Open

How to build Thunderbird from the archive? Help #66

eSkry opened this issue Jan 11, 2023 · 0 comments

Comments

@eSkry
Copy link

eSkry commented Jan 11, 2023

I need to build Thunderbird from this archive: archive.mozilla.org/pub/thunderbird/releases/102.5.1 (I don't need the latest version!).

I put the code from the archive in my own git repository.

It was possible to build for Linux.
But I can't build for Windows, it crashes with this error (mach bootstrap):

checking for a shell... C:/mozilla-build/msys2/usr/bin/sh.exe
checking for host system type... x86_64-pc-mingw32
Installing bootstrapped toolchain in C:/Users/r/.mozbuild/node
ERROR!!!!!! Could not find artifacts for a toolchain build named `toolchain-win64-node`. Local commits, dirty/stale files, and other changes in your checkout may cause this error. Make sure you are on a fresh, current checkout of mozilla-central. Beware that commands like `mach bootstrap` and `mach artifact` are unlikely to work on any versions of the code besides recent revisions of mozilla-central.
Hint: consider reverting your local changes to the following files: ['python/mach/mach/site.py', 'python/mozboot/mozboot/bootstrap.py', 'python/mozversioncontrol/mozversioncontrol/__init__.py']
ERROR: Command '['C:\\Users\\r\\.mozbuild\\srcdirs\\desktopmail-f3ac63904a51\\_virtualenvs\\mach\\Scripts\\python.exe', 'C:/Users//Desktop/DesktopMail/mach', '--log-no-times', 'artifact', 'toolchain', '--from-build', 'toolchain-win64-node']' returned non-zero exit status 1.
ERROR: If you can't fix the above, retry with --disable-bootstrap.

Full log output (pastebin)

Is it possible to disable checking for the latest changes in the repository?


To check the functionality of the assembly, I downloaded the original repository hg.mozilla.org/mozilla-central. It was successfully built on Windows. But why can't the version from the archive be assembled?

I tried to fix the python assembly script to remove the check for recent changes. But this mechanism is strongly integrated into the entire assembly, cutting it out is very long and meaningless.

@eSkry eSkry changed the title How to build Thunderbird from the archive? How to build Thunderbird from the archive? Help Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant