Полезная информация

Mozilla Россия — свежие версии программ Mozilla, а также масса полезной информации по каждому продукту.

№110-01-2023 23:35:09

Depish
Участник
 
Группа: Members
Зарегистрирован: 10-01-2023
Сообщений: 1
UA: Chrome 106.0

Как собрать старый Thunderbird из архива?

Столкнулся с проблемой сборки Thunderbird 102.5.1 на Windows.
Сперва опишу ситуацию.


Скачал нужную мне версию из официального архива archive.mozilla.org/pub/thunderbird/releases/102.5.1.


При сборке на Linux проблем не испытывал. Конечно ругнулось на то в каталоге нет папки .git (ну я в итоге создал свой репозиторий и там храню тандерберд) .
Падало так:

Выделить код

Код:

Error running mach:

    ['bootstrap']

This is a user error and does not appear to be a bug in mach.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

mach.util.UserError: Could not identify the root directory of your checkout! Are you running `mach bootstrap` in an hg or git clone?

  File "C:\Users\r\Desktop\DesktopMail\python\mozboot\mozboot\mach_commands.py", line 43, in bootstrap
    bootstrapper.bootstrap(command_context.settings)
  File "c:\users\r\desktop\desktopmail\python\mozboot\mozboot\bootstrap.py", line 328, in bootstrap
    (checkout_type, checkout_root) = current_firefox_checkout(
  File "c:\users\r\desktop\desktopmail\python\mozboot\mozboot\bootstrap.py", line 585, in current_firefox_checkout
    raise UserError

Но в конечном итоге под Linux команда mach bootstrap и mach build выполнялись и сборка успешно завершалась (ну пару раз пришлось lss ручками скопировать а так все работает).
(все по официальной инструкции собирается)

Но в windows собираться на отрез отказывается. Падает так:

Выделить код

Код:

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.
ERROR: Command '['C:\\Users\\r\\.mozbuild\\srcdirs\\desktopmail-f3ac63904a51\\_virtualenvs\\mach\\Scripts\\python.exe', 'C:/Users/r/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.

Как я понял из ошибки он ругается на то что репозиторий очень старый, и хочет чтобы я сделал что-то вроде hg pull.

Но Почему тогда на линуксе он этого не требовал? и как собрать текущее состояние исходников ?


Пытался найти в сборочных скриптах где оно просит новое состояние, но так и не нашел, слишком много всего, и вырезать просто так не получается(

Отредактировано Depish (10-01-2023 23:36:12)

Отсутствует

 

Board footer

Powered by PunBB
Modified by Mozilla Russia
Copyright © 2004–2020 Mozilla Russia GitHub mark
Язык отображения форума: [Русский] [English]