Open Bug 992475 Opened 11 years ago Updated 2 years ago

parsing problem for mozconfig on executing ./mach build

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
Windows 7
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: ahujamoh, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36 Steps to reproduce: I just set my machine as per the build instructions, downloaded the latest source using hg clone, set up my .mozconfig in src(as defined on https://wiki.mozilla.org/Mobile/Fennec/Android#Setup_Fennec_mozconfig) It is # correct paths are set here: ac_add_options --with-android-ndk="$HOME/android-ndk-r8e" ac_add_options --with-android-sdk="$HOME/adt-bundle-linux/sdk/platforms/android-16" # android options ac_add_options --enable-application=mobile/android ac_add_options --target=arm-linux-androideab mk_add_options MOZ_OBJDIR=./objdir-droid ac_add_options --with-ccache ccache --max-size 4G and did cd src; ./mach build Actual results: Resulted in AssertionError, AssertionError File "/home/open/open_source/mozilla/src/python/mach/mach/main.py", line 313, in run return self._run(argv) File "/home/open/open_source/mozilla/src/python/mach/mach/main.py", line 399, in _run instance = cls(context) File "/home/open/open_source/mozilla/src/python/mozbuild/mozbuild/base.py", line 552, in __init__ dummy = MozbuildObject.from_environment(cwd=context.cwd) File "/home/open/open_source/mozilla/src/python/mozbuild/mozbuild/base.py", line 164, in from_environment config = loader.read_mozconfig(mozconfig) File "/home/open/open_source/mozilla/src/python/mozbuild/mozbuild/mozconfig.py", line 232, in read_mozconfig parsed = self._parse_loader_output(output) File "/home/open/open_source/mozilla/src/python/mozbuild/mozbuild/mozconfig.py", line 340, in _parse_loader_output assert current_type is not None Expected results: should have build successfully
I assume it's choking on that last line starting with "ccache". It would be nice if it told you that.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.