Error running mach build. Exception: process ... exit code 1:['/usr/bin/python3', 'configure.py']
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: muhammadprocoder, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Steps to reproduce:
I'm trying to build Firefox from source following this (https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html). From mozilla-central.
./mach build on an updated Debian 10, failed. Issue with /usr/bin/python3
And..during ./mach bootstrap I changed the MOZ_BUILD.... value from /home/me/.mozbuild to /mnt/external_drive/mozbuild. But, ./mach bootstrap works fine.
Actual results:
Error running mach:
['build']
The error occurred in code that was called by the mach command. This is eith
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If
isn't, please use |./mach busted file build| to report it. If |./mach busted
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this erro
message.
The details of the failure are as follows:
Exception: Process executed with non-0 exit code 1: ['/usr/bin/python3', '/me.py']
File "/mnt/secondary/firefox-source/python/mozbuild/mozbuild/build_command
append_env=append_env,
File "/mnt/secondary/firefox-source/python/mozbuild/mozbuild/controller/bu
append_env=append_env,
File "/mnt/secondary/firefox-source/python/mozbuild/mozbuild/controller/bu
append_env=append_env,
File "/mnt/secondary/firefox-source/python/mozbuild/mozbuild/base.py", lin
return self.run_process(cwd=self.topobjdir, **args)
File "/mnt/secondary/firefox-source/python/mach/mach/mixin/process.py", li
"Process executed with non-0 exit code %d: %s" % (status, args)
Expected results:
./mach build should've worked fine.
Comment 1•5 years ago
•
|
||
Can you please paste the entire unabridged log from mach build? Don't cut anything out vertically or horizontally, as in the paste you've done here. You can use paste.mozilla.org if you like.
What is /mnt/secondary? I assume you've mounted a virtual/network filesystem or something similar? That's probably not supported:
Building Firefox in Linux on top of a non-native file system - for example, on a mounted NTFS partition - is explicitly not supported. While a build environment like this may succeed it may also fail while claiming to have succeeded, which can be quite difficult to diagnose and fix.
Comment 2•5 years ago
|
||
In the absence of additional info, I'm assuming that the non-native file system mount is the issue and closing. Re-open if that's not the case.
Description
•