Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

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

  • 2 yanıt
  • 2 kişi bu sorunu yaşıyor
  • 31 gösterim
  • Son yanıtı yazan: Kevin

diğer seçenekler

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.

Tüm Yanıtlar (2)

diğer seçenekler

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.

diğer seçenekler

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 tarafından tarihinde düzenlendi