mozilla / releases-comm-central

EXPERIMENTAL - copy of comm-central for forking on github
162 stars 96 forks source link

How to build Thunderbird from the archive? Help #66

Open eSkry opened 1 year ago

eSkry commented 1 year ago

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.