Closed
Bug 843424
Opened 13 years ago
Closed 12 years ago
configure error in "Creating Python environment" step when configuring repeatedly
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: luke, Unassigned)
References
Details
On windows, I get errors if I configure js/src multiple times without rm -rf _virtualenv. In more detail, in js/src:
1. autoconf-2.13
2. mkdir d; cd d
3. ../configure // succeeds
4. ../configure // fails with this error:
Creating Python environment
File "C:/mozilla-build/msys/moz/odin/js/src/../../build/virtualenv/populate_virtualenv.py", line 379, in <module>
....
TypeError: __init__() takes exactly 6 arguments (5 given)
I think I had this error earlier on Linux that was caused by a recent patch. That was fixed, but I guess this is the Windows version of that bug. This is on a Windows 7 machine that was just reformatted and with new VS2012 and mozilla-build install.
Comment 1•13 years ago
|
||
That was fixed by https://hg.mozilla.org/mozilla-central/rev/9dbb23d8ab8a but then the entire thing was backed out, so the problem should be gone if you build current m-c.
Comment 2•12 years ago
|
||
I'm getting a similar error when configuring twice (first one failed for a different reason), with new VS2012 and mozilla-build install.
mchew@MOZILLA-10915 /c/mozilla-source/mozilla-central
$ ./mach build
0:00.95 C:/mozilla-build/msys/bin/sh.exe -c c:/mozilla-build/python/python.exe
c:/mozilla-source/mozilla-central/build/pymake/make.py -f client.mk -s
0:03.17 Adding client.mk options from c:/mozilla-source/mozilla-central/.mozcon
fig:
0:03.17 FOUND_MOZCONFIG := c:/mozilla-source/mozilla-central/.mozconfig
0:04.23 Clobber not needed.
0:04.28 cd obj-i686-pc-mingw32
0:04.31 c:/mozilla-source/mozilla-central/configure
0:04.59 Adding configure options from c:/mozilla-source/mozilla-central/.mozcon
fig:
0:04.59 --disable-webgl
0:04.99 loading cache ./config.cache
0:06.13 checking host system type... i686-pc-mingw32
0:06.60 checking target system type... i686-pc-mingw32
0:07.05 checking build system type... i686-pc-mingw32
0:07.08 checking for mawk... no
0:07.11 checking for gawk... gawk
0:07.22 checking for python2.7... /c/mozilla-build/python/python2.7
0:07.30 Creating Python environment
0:07.44 checking Python environment is Mozilla virtualenv... Traceback (most re
cent call last):
0:07.44 File "c:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\_virtuale
nv\lib\site.py", line 703, in <module>
0:07.44 main()
0:07.44 File "c:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\_virtuale
nv\lib\site.py", line 670, in main
0:07.44 virtual_install_main_packages()
0:07.44 File "c:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\_virtuale
nv\lib\site.py", line 611, in virtual_install_main_packages
0:07.44 if os.path.exists(tk_dir):
0:07.44 File "c:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\_virtuale
nv\lib\genericpath.py", line 18, in exists
0:07.44 os.stat(path)
0:07.44 TypeError: must be encoded string without NULL bytes, not str
0:07.44 configure: error: Python environment does not appear to be sane.
0:07.44 ------ config.log ------
0:07.49 This file contains any messages produced by compilers while
0:07.49 running configure, to aid debugging if configure makes a mistake.
0:07.49
0:07.49 configure:1195: checking host system type
0:07.49 configure:1216: checking target system type
0:07.49 configure:1234: checking build system type
0:07.49 configure:1309: checking for mawk
0:07.49 configure:1309: checking for gawk
0:07.49 configure:1395: checking for python2.7
0:07.49 configure:1505: checking Python environment is Mozilla virtualenv
0:07.49 configure: error: Python environment does not appear to be sane.
0:07.49 *** Fix above errors and then restart with\
0:07.49 "c:/mozilla-build/python/python.exe c:/mozilla-source/mo
zilla-central/build/pymake/pymake/../make.py -f client.mk build"
0:07.50 c:\mozilla-source\mozilla-central\client.mk:365:0: command 'cd obj-i686
-pc-mingw32 && MAKE='c:/mozilla-build/python/python.exe c:/mozilla-source/mozil
la-central/build/pymake/pymake/../make.py' c:/mozilla-source/mozilla-central/co
nfigure \
0:07.50 || ( echo '*** Fix above errors and then restart with\
0:07.50 "c:/mozilla-build/python/python.exe c:/mozilla-source/mo
zilla-central/build/pymake/pymake/../make.py -f client.mk build"' && exit 1 )' f
ailed, return code 1
0:07.50 c:\mozilla-source\mozilla-central\client.mk:377:0: command 'c:/mozilla-
build/python/python.exe c:/mozilla-source/mozilla-central/build/pymake/pymake/..
/make.py -f c:/mozilla-source/mozilla-central/client.mk configure' failed, retur
n code 2
0:07.50 c:\mozilla-source\mozilla-central\client.mk:185:0: command 'c:/mozilla-
build/python/python.exe c:/mozilla-source/mozilla-central/build/pymake/pymake/..
/make.py -f c:/mozilla-source/mozilla-central/client.mk realbuild' failed, retur
n code 2
0:07.61 0 compiler warnings present.
2
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 3•12 years ago
|
||
Monica: You likely stumbled across a different issue. I'll file a new bug for you.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 12 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•