Closed
Bug 1685811
Opened 5 years ago
Closed 5 years ago
One-line bootstrap described in docs fails while expecting user input
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Firefox Build System
Bootstrap Configuration
Tracking
(firefox86 fixed)
RESOLVED
FIXED
86 Branch
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: sheehan, Assigned: sheehan)
Details
Attachments
(1 file)
In the mozboot README.rst file we suggest using curl to download the bootstrap.py file and piping directly to python. However running this command causes a failure waiting for user input:
$ curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py | python -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12234 100 12234 0 0 12783 0 --:--:-- --:--:-- --:--:-- 12770
Cloning into mozilla-unified using Mercurial...
Destination directory for clone (leave empty to use default destination of mozilla-unified): Could not bootstrap Firefox! Consider filing a bug.
Traceback (most recent call last):
File "<stdin>", line 348, in <module>
File "<stdin>", line 332, in main
File "<stdin>", line 275, in clone
File "<stdin>", line 95, in input_clone_dest
EOFError: EOF when reading a line
If you save the bootstrap script first and then run, it works as expected.
| Assignee | ||
Comment 1•5 years ago
|
||
The current recommendation fails while waiting on user input. Instead, just
save the script to disk as an intermediate step, then invoke it.
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/53327022537a
recommend saving `bootstrap.py` to disk instead of piping directly to `python` r=mhentges DONTBUILD
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•