|
本帖最后由 hechengjin 于 2016-2-19 20:40 编辑
echo 'ac_add_options --enable-application=mail' > .mozconfig
echo 'ac_add_options --enable-calendar' >> .mozconfig
./mach build- HECHENGJIN@hechengjin /e/hg
- $ ./mach build
- *** MERCURIAL CONFIGURATION POTENTIALLY OUT OF DATE ***
- mach has detected that it has been a while since you have run
- `./mach mercurial-setup`.
- Having the latest Mercurial tools and configuration should lead to a better,
- more productive experience when working on Mozilla projects.
- Please run `./mach mercurial-setup` now.
- Reminder: `./mach mercurial-setup` does not make any changes without
- prompting you first.
- To avoid this message in the future, run `./mach mercurial-setup` once a month.
- Or, schedule `./mach mercurial-setup --update-only` to run automatically in
- the background at least once a month.
复制代码 ./mach mercurial-setup- $ ./mach mercurial-setup
- ================================================================================
- Ensuring version-control-tools is up to date...
- pulling from https://hg.mozilla.org/hgcustom/version-control-tools
- abort: error: TLS/SSL connection has been closed (EOF) (_ssl.c:590)
- ================================================================================
- Error running mach:
- ['mercurial-setup']
- The error occurred in code that was called by the mach command. This is either
- a bug in the called code itself or in the way that mach is calling it.
- You should consider filing a bug for this issue.
- If filing a bug, please include the full output of mach, including this error
- message.
- The details of the failure are as follows:
- CalledProcessError: Command '[u'c:\\mozilla-build\\python\\Scripts\\hg.exe', u'-
- -config', u'hostfingerprints.bitbucket.org=46:de:34:e7:9b:18:cd:7f:ae:fd:8b:e3:b
- c:f4:1a:5e:38:d7:ac:24', u'--config', u'hostfingerprints.bugzilla.mozilla.org=f9
- :7e:62:42:4e:38:79:96:ca:87:71:2a:f8:51:38:c8:16:92:5c:a7', u'--config', u'hostf
- ingerprints.hg.mozilla.org=af:27:b9:34:47:4e:e5:98:01:f6:83:2b:51:c9:aa:d8:df:fb
- :1a:27', u'pull', u'https://hg.mozilla.org/hgcustom/version-control-tools']' ret
- urned non-zero exit status 255
- File "e:\hg\tools/mercurial/mach_commands.py", line 68, in mercurial_setup
- result = wizard.run(map(os.path.expanduser, config_paths))
- File "e:\hg\tools/mercurial\hgsetup\wizard.py", line 282, in run
- self.updater.update_all()
- File "e:\hg\tools/mercurial\hgsetup\update.py", line 36, in update_all
- 'Ensuring version-control-tools is up to date...')
- File "e:\hg\tools/mercurial\hgsetup\update.py", line 46, in update_mercurial_r
- epo
- update_mercurial_repo, hostfingerprints=HOST_FINGERPRINTS)
- File "e:\hg\tools/mercurial\hgsetup\update.py", line 52, in _update_repo
- fn(binary, url, dest, branch, *args, **kwargs)
- File "e:\hg\python/mozversioncontrol\mozversioncontrol\repoupdate.py", line 24
- , in update_mercurial_repo
- subprocess.check_call(args + ['pull', repo], cwd=path)
- File "c:\mozilla-build\python\lib\subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
复制代码 上面问题为网络问题,切换一个网络,如翻墙一下。
然后更新成功后,提示进行相关配置./mach build
|
|