Closed Bug 804536 Opened 13 years ago Closed 13 years ago

Build broken: "Error populating virtualenv"

Categories

(Firefox Build System :: General, defect)

18 Branch
x86_64
Windows 7
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
mozilla19

People

(Reporter: roc, Assigned: gps)

References

Details

Attachments

(1 file)

Changset c6fe2305d29c. Clean build in a new directory using pymake -sC obj-ff-debug2 -f ../client.mk MOZCONFIG in use, but probably not relevant since it always worked before and has nothing fancy in it. Build fails like so: Installing pip...................done. Traceback (most recent call last): File "z:/roc/mozilla-inbound/build/virtualenv/populate_virtualenv.py", line 319, in <module> manager.populate() File "z:/roc/mozilla-inbound/build/virtualenv/populate_virtualenv.py", line 140, in populate fh = open(self.manifest_path, 'rUt') ValueError: Invalid mode ('rbt') Traceback (most recent call last): File "z:/roc/mozilla-inbound/build/virtualenv/populate_virtualenv.py", line 321, in <module> manager.ensure() File "z:/roc/mozilla-inbound/build/virtualenv/populate_virtualenv.py", line 75, in ensure return self.build() File "z:/roc/mozilla-inbound/build/virtualenv/populate_virtualenv.py", line 270, in build raise Exception('Error populating virtualenv.') Exception: Error populating virtualenv.
Python 2.7.2 from MozillaBuild, if that helps.
Blocks: 802210
Same problem for me. Python 2.7.2 from MozillaBuild as well. checking for python2.7... /c/Mozilla/mozilla-build/python/python2.7 Creating Python environment New python executable in c:/Mozilla/src/mozilla-central/_obj-browser-debug/_virtualenv\Scripts\python2.7.exe Also creating executable in c:/Mozilla/src/mozilla-central/_obj-browser-debug/_virtualenv\Scripts\python.exe Installing setuptools................done. Installing pip...................done. Traceback (most recent call last): File "c:/Mozilla/src/mozilla-central/build/virtualenv/populate_virtualenv.py", line 319, in <module> manager.populate() File "c:/Mozilla/src/mozilla-central/build/virtualenv/populate_virtualenv.py", line 140, in populate fh = open(self.manifest_path, 'rUt') ValueError: Invalid mode ('rbt') Traceback (most recent call last): File "c:/Mozilla/src/mozilla-central/build/virtualenv/populate_virtualenv.py", line 321, in <module> manager.ensure() File "c:/Mozilla/src/mozilla-central/build/virtualenv/populate_virtualenv.py", line 75, in ensure return self.build() File "c:/Mozilla/src/mozilla-central/build/virtualenv/populate_virtualenv.py", line 270, in build raise Exception('Error populating virtualenv.') Exception: Error populating virtualenv. *** Fix above errors and then restart with "c:/Mozilla/mozilla-build/python/python.exe c:/Mozilla/src/mozilla-central/build/pymake/pymake/../mak e.py -f client.mk build" c:\Mozilla\src\mozilla-central\client.mk:310:0: command 'cd c:/Mozilla/src/mozilla-central/_obj-browser-debug && MAKE="c:/Mozilla/mozilla-build/python/python .exe c:/Mozilla/src/mozilla-central/build/pymake/pymake/../make.py" c:/Mozilla/src/mozilla-central/configure \ || ( echo "*** Fix above errors and then restart with\ \"c:/Mozilla/mozilla-build/python/python.exe c:/Mozilla/src/mozilla-central/build/pymake/pymake/../make.py -f client.mk build\"" && exit 1 )' f ailed, return code 1 c:\Mozilla\src\mozilla-central\client.mk:322:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/Mozilla/src/mozilla-central/build/pymake/pymake/../make .py -f c:/Mozilla/src/mozilla-central/client.mk configure' failed, return code 2 c:\Mozilla\src\mozilla-central\client.mk:152:0: command 'c:/Mozilla/mozilla-build/python/python.exe c:/Mozilla/src/mozilla-central/build/pymake/pymake/../make .py -f c:/Mozilla/src/mozilla-central/client.mk realbuild' failed, return code 2
Severity: normal → blocker
Attached patch Hopefuly fix, v1Splinter Review
I haven't tested but I'm reasonably confident this fixes it. I'll land straight in m-c.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #674247 - Flags: review?(mh+mozilla)
Attachment #674247 - Flags: feedback?(roc)
Comment on attachment 674247 [details] [diff] [review] Hopefuly fix, v1 Review of attachment 674247 [details] [diff] [review]: ----------------------------------------------------------------- I made roc try that earlier, so i know it works.
Attachment #674247 - Flags: review?(mh+mozilla)
Attachment #674247 - Flags: review+
Attachment #674247 - Flags: feedback?(roc)
https://hg.mozilla.org/mozilla-central/rev/a517f7ea5bef I wonder why buildbot didn't catch this...
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
The build slaves aren't running a stock MozillaBuild, FWIW. I'm not sure of the exact versions of things they have.
Can this fix land on comm-central too, please? Nightly repacks for Thunderbird on Windows are currently broken.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Chris Cooper [:coop] from comment #7) > Can this fix land on comm-central too, please? Nightly repacks for > Thunderbird on Windows are currently broken. There is no comm-* copy of that file, however I know mcsmurf is working on a py+virtualenv syncup for configure for us in Bug 803834 which is currently being staged on comm-try for TB
Since bug 803834 is FIXED now, we just need a corresponding config change for Thunderbird in the buildbot-configs.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: