Hi Chamika,
Were you able to fix the error? The error occurred when executing the
script at python/mozbuild/mozbuild/mozconfig_loader. Can you try running
this line to see if you get some output?
./python/mozbuild/mozbuild/mozconfig_loader . .mozconfig
It seems to be a problem with permissions, which might indicate a bad
clone of the repository.
Cheers,
Jim
On 11/13/14 10:45 AM, Chamika Weerasinghe wrote:
Hi,
Permission for .mozconfig file
-rw-rw-r-- 1 chamika chamika 331 Nov 13 21:11 .mozconfig
.mozconfig file content
# Add the correct paths here:
ac_add_options --with-android-ndk="$HOME/Android/android-ndk-r10c"
ac_add_options
--with-android-sdk="$HOME/Android/android-sdk-linux/platforms/android-21"
# android options
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-ccache
Sorry I forgot to turn off digest mode and couldn't directly reply to
earlier message.
Best Regards,
Chamika Weerasinghe
On Thu, Nov 13, 2014 at 1:45 PM, Chamika Weerasinghe <[email protected]>
wrote:
Hi,
I tried to build Fennec Android App according to the tutorial given by
wiki (https://wiki.mozilla.org/Mobile/Fennec/Android)
When I run "./mach build" following error occurred and will not continue.
Is there any specific python version I should install or any other python
module need to run "mach"?
I've downgraded python-psutil 1.0.0 to avoid a bug (
https://bugzilla.mozilla.org/show_bug.cgi?id=930808#c16)
OS: Kubuntu 14.10 64-bit
Java: 1.7.0_67
Python: 2.7.8
chamika@chamika-Inspiron:~/source/Firefox/src$ ./mach build
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:
OSError: [Errno 13] Permission denied
File "/home/chamika/source/Firefox/src/python/mach/mach/main.py", line
344, in run
return self._run(argv)
File "/home/chamika/source/Firefox/src/python/mach/mach/main.py", line
432, in _run
instance = cls(context)
File
"/home/chamika/source/Firefox/src/python/mozbuild/mozbuild/base.py", line
583, in __init__
detect_virtualenv_mozinfo=detect_virtualenv_mozinfo)
File
"/home/chamika/source/Firefox/src/python/mozbuild/mozbuild/base.py", line
165, in from_environment
config = loader.read_mozconfig(mozconfig,
moz_build_app=current_project)
File
"/home/chamika/source/Firefox/src/python/mozbuild/mozbuild/mozconfig.py",
line 224, in read_mozconfig
cwd=self.topsrcdir, env=env)
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
Best Regards,
Chamika Weerasinghe
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev