mach build needs to be more informative about Makefile errors

NEW
Unassigned

Status

6 years ago
8 months ago

People

(Reporter: ted, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

mach is a little too quiet for me, it makes it really hard to figure out when something is broken. For example:

 0:06.80 Generating LALR tables
 0:12.62 Makefile:60: *** invalid syntax in conditional.  Stop.
 0:12.62 make[4]: *** [export_tier_platform] Error 2
 0:12.62 make[3]: *** [tier_platform] Error 2
 0:12.62 make[2]: *** [default] Error 2
 0:12.62 make[1]: *** [realbuild] Error 2
 0:12.62 make: *** [build] Error 2
 0:12.63 399 compiler warnings present.
Finished building. Built files are in /build/mozilla-central/../debug-mozilla-central

There's an error in a Makefile there, but I cannot figure out which one from this output.

Comment 1

6 years ago
Isn't this a general fault of |make -s|?
Component: mach → Build Config
Plausibly, yes.

Comment 3

5 years ago
There was also discussion in bug 960458 about the l10n difficulties involved in doing this.

Updated

5 years ago
Duplicate of this bug: 977319

Updated

8 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.