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

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 2 件の返信
  • 2 人がこの問題に困っています
  • 17 回表示
  • 最後の返信者: 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 により に変更されました