Open Bug 1143710 Opened 10 years ago Updated 2 years ago

bootstrap.py crashes when mercurial's version includes non-numerics.

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: mhoye, Unassigned)

Details

anglachel:~ testcase$ hg version Mercurial Distributed SCM (version 3.3-rc) [...] Executing as root: sudo /opt/local/bin/port select --set python python27 Selecting 'python27' for 'python' succeeded. 'python27' is now active. Traceback (most recent call last): File "bootstrap.py", line 155, in <module> sys.exit(main(sys.argv)) File "bootstrap.py", line 146, in main dasboot.bootstrap() File "/var/folders/1j/1pxwbz916hvdkm35dm4n3wym0000gq/T/tmpddF_Vd/mozboot/bootstrap.py", line 124, in bootstrap default='https://hg.mozilla.org/mozilla-central/', File "/var/folders/1j/1pxwbz916hvdkm35dm4n3wym0000gq/T/tmpddF_Vd/mozboot/base.py", line 275, in ensure_mercurial_modern File "/var/folders/1j/1pxwbz916hvdkm35dm4n3wym0000gq/T/tmpddF_Vd/mozboot/base.py", line 270, in is_mercurial_modern File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 40, in __init__ self.parse(vstring) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 107, in parse raise ValueError, "invalid version number '%s'" % vstring ValueError: invalid version number '3.3-rc' Manually updating via macports resolves the issue.
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.