Closed
Bug 984133
Opened 10 years ago
Closed 10 years ago
comm-release build failure on moz.build during configure
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mark, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20140305 Firefox/24.0 PaleMoon/24.4.0 (Nightly/Aurora) Build ID: 20140305142843 Steps to reproduce: Trying to make a "simple seamonkey build" on Windows: 1. install prerequisites 2. pull hg comm-release branch 3. run client.py checkout 4. run python -OO mozilla/build/pymake/make.py -f client.mk to start building Build setup: VS2012, Windows 7x64, DirectX SDk installed, using start-msvc11.bat, basic .mozconfig with -j4 and project=suite, etc. Source pulled from http://hg.mozilla.org/releases/comm-release/ Actual results: Error during the configure phase: creating ./config.status Reticulating splines... Traceback (most recent call last): File "./config.status", line 881, in <module> config_status(**args) File "q:\sm\mozilla\build\ConfigStatus.py", line 97, in config_status summary = backend.consume(definitions) File "q:\sm\mozilla\python\mozbuild\mozbuild\backend\base.py", line 203, in consume for obj in objs: File "q:\sm\mozilla\python\mozbuild\mozbuild\frontend\emitter.py", line 87, in emit for out in output: File "q:\sm\mozilla\python\mozbuild\mozbuild\frontend\reader.py", line 651, in read_mozbuild raise bre mozbuild.frontend.reader.BuildReaderError: ============================== ERROR PROCESSING MOZBUILD FILE ============================== The error occurred while processing the following file: q:\sm\ldap\moz.build The error appears to be part of the mozbuild.frontend.reader Python module itself! It is possible yo u have stumbled across a legitimate bug. Traceback (most recent call last): File "q:\sm\mozilla\python\mozbuild\mozbuild\frontend\reader.py", line 647, in read_mozbuild metadata=metadata): File "q:\sm\mozilla\python\mozbuild\mozbuild\frontend\reader.py", line 687, in _read_mozbuild sandbox = MozbuildSandbox(self.config, path, metadata=metadata) File "q:\sm\mozilla\python\mozbuild\mozbuild\frontend\reader.py", line 161, in __init__ os.path.join(topobjdir, 'config.status')) File "q:\sm\mozilla\python\mozbuild\mozbuild\backend\configenvironment.py", line 161, in from_conf ig_status config = BuildConfig.from_config_status(path) File "q:\sm\mozilla\python\mozbuild\mozbuild\backend\configenvironment.py", line 54, in from_confi g_status exec(code, g, l) File "q:\sm\build-optimized-suite\config.status", line 30, in <module> substs = map(remap_subst, mozbuildcfg.substs) File "q:\sm\build-optimized-suite\config.status", line 20, in remap_subst value = value.replace('$(DEPTH)', '$(DEPTH)/mozilla') AttributeError: 'set' object has no attribute 'replace' configure: error: q:/sm/mozilla/configure failed for mozilla *** Fix above errors and then restart with "e:/mozilla-build/python/python.exe q:/sm/m ozilla/build/pymake/pymake/../make.py -f client.mk build" q:\sm\client.mk:350:0: command 'cd q:/sm/build-optimized-suite && MAKE="e:/mozilla-build/python/pyt hon.exe q:/sm/mozilla/build/pymake/pymake/../make.py" q:/sm/configure \ || ( echo "*** Fix above errors and then restart with\ \"e:/mozilla-build/python/python.exe q:/sm/mozilla/build/pymake/pymake/../make.py -f client.mk build\"" && exit 1 )' failed, return code 1 q:\sm\client.mk:362:0: command 'e:/mozilla-build/python/python.exe q:/sm/mozilla/build/pymake/pymake /../make.py -f q:/sm/client.mk configure' failed, return code 2
Comment 1•10 years ago
|
||
> q:\sm\ldap\moz.build What are the contents of this file? > AttributeError: 'set' object has no attribute 'replace' What version of Python are you using? You should have at least 2.7.3 (and less than 3.0)
Reporter | ||
Comment 2•10 years ago
|
||
Contents of the file: # vim: set filetype=python: # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. Nothing else in there, it seems to trip over the first line? >What version of Python are you using? I'm using the latest Mozilla build tools (grabbed it just yesterday): $ python -V Python 2.7.5
Comment 3•10 years ago
|
||
is this a clobber build, did you do a client.py update (to update the ldap repo), did you change any parts of your environment since the first time you tried and now? I can't say that I've seen this error before.
Reporter | ||
Comment 4•10 years ago
|
||
This is a completely new checkout I did of comm-release. Last one I built was 2.21 and I thought it was better to make a fresh clone, so there shouldn't be any leftovers from previous builds, at all. Trying to pull changes with client.py now gives me an error, as well, telling me it crosses branches...? I'll try re-cloning the entire tree again.
Reporter | ||
Comment 5•10 years ago
|
||
OK, not entirely sure what happened, but doing the *exact* same things I did a few days ago (only this time it pulled in 2.25) worked. Perhaps I cloned the repo as it was being updated (2.24->2.25) or something, causing something to go terribly wrong? If so, perhaps locking the repo during a big merge might be a good idea.
Comment 6•10 years ago
|
||
(In reply to Mark Straver from comment #5) > OK, not entirely sure what happened, but doing the *exact* same things I did > a few days ago (only this time it pulled in 2.25) worked. Perhaps I cloned > the repo as it was being updated (2.24->2.25) or something, causing > something to go terribly wrong? If so, perhaps locking the repo during a big > merge might be a good idea. I usually blame the gremlins. Closing as WORKSFORME. Cheers.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•