mozmake.exe no rule to make target 'gcc'

RESOLVED WORKSFORME

Status

()

Core
mach
P5
normal
RESOLVED WORKSFORME
a year ago
a year ago

People

(Reporter: Aseem Yadav, Unassigned)

Tracking

({64bit})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507

Steps to reproduce:

1. Was Using a Working Build
2. Tried updating the source code , so issued a "hg pull" command from "mozilla-central" directory.
3. Update worked fine, returned no errors.
4. Issued "mach build" after the update.
--------------------------------------------------
$ mach build
 0:01.47 c:\mozilla-build\mozmake\mozmake.EXE -f client.mk CC='distcc gcc' CXX='distcc g++' -s configure
 0:05.51 mozmake.EXE: *** No rule to make target 'gcc''.  Stop.
2
--------------------------------------------------
5. Received the above error and the command stopped right there.

NOTE: The version is selected 'unspecified' as the branch version was not provided specifically before updating.


Actual results:

Running command "mach build" gave this error.
$ mach build
 0:01.47 c:\mozilla-build\mozmake\mozmake.EXE -f client.mk CC='distcc gcc' CXX='distcc g++' -s configure
 0:05.51 mozmake.EXE: *** No rule to make target 'gcc''.  Stop.
2



Expected results:

The above error may or may not be related to the source code but possibly with the command issued when "mach build" is entered.
(Reporter)

Updated

a year ago
Severity: normal → major
Keywords: 64bit
OS: Unspecified → Windows 10
Priority: -- → P1
Hardware: Unspecified → x86_64
(Reporter)

Updated

a year ago
Severity: major → normal
Priority: P1 → P5
This is not a security issue.
Group: core-security
I don't know exactly what broke this, but you should be able to replace setting CC/CXX with `ac_add_options --with-compiler-wrapper=distcc` in your mozconfig to get the same behavior in a better-supported way.
(Reporter)

Comment 3

a year ago
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2)
> I don't know exactly what broke this, but you should be able to replace
> setting CC/CXX with `ac_add_options --with-compiler-wrapper=distcc` in your
> mozconfig to get the same behavior in a better-supported way.

Thanks Ted,

Removing the above entry with the default value did the trick. Earlier, it was changed because of some other issue so I might have forgotten to reset it.
Replaced the above value with this one:
>ac_add_options --enable-artifact-builds

Now it works fine.
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.