Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Why is mach failing on mozconfig processing when I try to build fennec?

  • 2 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: Kevin

more options

I doubt I'm asking this in the right place, so a redirect to the correct forum would be as much appreciated as an answer.

I'm trying to build Fennec using OSX. I've followed (and rechecked) the instructions on MDN three times, and yet mach immediately fails with this error:

Error running mach:

   ['build']

The error occurred in mach itself. This is likely a bug in mach itself or a fundamental problem with a loaded module.

Please consider filing a bug against mach by going to the URL:

   https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=mach


If filing a bug, please include the full output of mach, including this error message.

The details of the failure are as follows:

MozconfigLoadException: Evaluation of your mozconfig exited with an error. This could be triggered by a command inside your mozconfig failing. Please change your mozconfig to not error and/or to catch errors in executed commands.

 File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mach/mach/main.py", line 265, in run
   return self._run(argv)
 File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mach/mach/main.py", line 351, in _run
   instance = cls(context)
 File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/base.py", line 528, in __init__
   dummy = MozbuildObject.from_environment(cwd=context.cwd)
 File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/base.py", line 165, in from_environment
   config = loader.read_mozconfig(mozconfig)
 File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/mozconfig.py", line 196, in read_mozconfig
   raise MozconfigLoadException(path, MOZCONFIG_BAD_EXIT_CODE, lines)

My .mozconfig is this:

ac_add_options --with-android-ndk="$HOME/intava/AndroidSDK/android-ndk-r8e" ac_add_options --with-android-sdk="$HOME/intava/AndroidSDK/sdk/platforms/android-16" ac_add_options --enable-application=mobile/android ac_add_options --target=arm-linux-androideabi ac_add_options --with-ccache

I must be making a newbie mistake, but for the life of me, I can't find it. I'm running Mavericks and got the latest XCode (5.0.1) from the app store. All my Android SDK components are versions specified in the MDN instruction page.

Thanks for any help out there.

I doubt I'm asking this in the right place, so a redirect to the correct forum would be as much appreciated as an answer. I'm trying to build Fennec using OSX. I've followed (and rechecked) the instructions on MDN three times, and yet mach immediately fails with this error: ************************** Error running mach: ['build'] The error occurred in mach itself. This is likely a bug in mach itself or a fundamental problem with a loaded module. Please consider filing a bug against mach by going to the URL: https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=mach If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: MozconfigLoadException: Evaluation of your mozconfig exited with an error. This could be triggered by a command inside your mozconfig failing. Please change your mozconfig to not error and/or to catch errors in executed commands. File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mach/mach/main.py", line 265, in run return self._run(argv) File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mach/mach/main.py", line 351, in _run instance = cls(context) File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/base.py", line 528, in __init__ dummy = MozbuildObject.from_environment(cwd=context.cwd) File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/base.py", line 165, in from_environment config = loader.read_mozconfig(mozconfig) File "/Volumes/Macintosh HD/Users/troy/mozilla-central/python/mozbuild/mozbuild/mozconfig.py", line 196, in read_mozconfig raise MozconfigLoadException(path, MOZCONFIG_BAD_EXIT_CODE, lines) **************** My .mozconfig is this: ac_add_options --with-android-ndk="$HOME/intava/AndroidSDK/android-ndk-r8e" ac_add_options --with-android-sdk="$HOME/intava/AndroidSDK/sdk/platforms/android-16" ac_add_options --enable-application=mobile/android ac_add_options --target=arm-linux-androideabi ac_add_options --with-ccache I must be making a newbie mistake, but for the life of me, I can't find it. I'm running Mavericks and got the latest XCode (5.0.1) from the app store. All my Android SDK components are versions specified in the MDN instruction page. Thanks for any help out there.

모든 댓글 (2)

more options

Feel free to hop into #mobile on irc.mozilla.org and we'll sort out your build issues there. This isn't the appropriate forum.

more options

You could also post to https://mail.mozilla.org/listinfo/mobile-firefox-dev if being on line when the Americas and Europe are awake is inconvenient.

In addition https://wiki.mozilla.org/Mobile/Fennec/Android#Mac_OS_X tends to be more up to date than DevMo.

글쓴이 Kevin 수정일시