Closed
Bug 969885
Opened 12 years ago
Closed 12 years ago
mozbuild.mozconfig.MozconfigFindException: MOZCONFIG environment variable refers to a path that does not exist: .mozconfig-opt
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 969085
People
(Reporter: ehsan.akhgari, Unassigned)
Details
STR:
$ export MOZCONFIG=.mozconfig-opt
$ ./mach build
...
0:07.11 creating ./config.status
0:07.26 Traceback (most recent call last):
0:07.26 File "./config.status", line 899, in <module>
0:07.26 config_status(**args)
0:07.26 File "/Users/ehsan/moz/src/python/mozbuild/mozbuild/config_status.py", line 81, in config_status
0:07.26 write_mozinfo(os.path.join(topobjdir, 'mozinfo.json'), env, os.environ)
0:07.26 File "/Users/ehsan/moz/src/python/mozbuild/mozbuild/mozinfo.py", line 99, in write_mozinfo
0:07.26 build_conf = build_dict(config, env)
0:07.26 File "/Users/ehsan/moz/src/python/mozbuild/mozbuild/mozinfo.py", line 30, in build_dict
0:07.26 the_mozconfig = mozconfig.MozconfigLoader(config.topsrcdir).find_mozconfig(env)
0:07.26 File "/Users/ehsan/moz/src/python/mozbuild/mozbuild/mozconfig.py", line 102, in find_mozconfig
0:07.26 'does not exist: ' + env_path)
0:07.26 mozbuild.mozconfig.MozconfigFindException: MOZCONFIG environment variable refers to a path that does not exist: .mozconfig-opt
0:07.27 *** Fix above errors and then restart with "/Applications/Xcode.app/Contents/Developer/usr/bin/make -f client.mk build"
0:07.27 make[2]: *** [configure] Error 1
0:07.27 make[1]: *** [/Users/ehsan/moz/src/obj-ff-opt/Makefile] Error 2
0:07.27 make: *** [build] Error 2
0:07.32 0 compiler warnings present.
The .mozconfig-opt file does exist in my source dir.
Workaround:
$ export MOZCONFIG=$PWD/.mozconfig-opt
$ ./mach build
Comment 1•12 years ago
|
||
Almost certainly a dupe of bug 969085.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
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
•