Closed Bug 1256355 Opened 8 years ago Closed 8 years ago

Bug 1253203 seems to have broken builds on Mac OS X with homebrew's autoconf213.

Categories

(Firefox Build System :: General, defect)

defect
Not set
critical

Tracking

(firefox48 fixed)

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: bwinton, Assigned: bwinton)

References

Details

Attachments

(1 file, 1 obsolete file)

I specify:
  mk_add_options AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213
in my .mozconfig, and get the error:
  js/src> Could not find autoconf 2.13

There's also a typo on https://hg.mozilla.org/mozilla-central/rev/e654e71b61b5#l4.53
  if find:
should be
  if fink:

Patch incoming.
Attached patch A typo fix and homebrew support. (obsolete) — Splinter Review
This fixes it for me, fwiw…
Attachment #8730259 - Flags: review?(mh+mozilla)
Attachment #8730259 - Flags: review?(gps)
Comment on attachment 8730259 [details] [diff] [review]
A typo fix and homebrew support.

Review of attachment 8730259 [details] [diff] [review]:
-----------------------------------------------------------------

Bonus points if you throw in a "if not os.path.exists(autoconf): error(...)" check to verify the fink and brew code actually finds a file. Currently, we're assuming the file exists.
Attachment #8730259 - Flags: review?(mh+mozilla)
Attachment #8730259 - Flags: review?(gps)
Attachment #8730259 - Flags: review+
Comment on attachment 8730326 [details]
MozReview Request: Bug 1256355 - Look for homebrew's autoconf213, and fix a typo.  r=gps.

https://reviewboard.mozilla.org/r/39801/#review36413

Thanks for following up!
Attachment #8730326 - Flags: review?(gps) → review+
Assignee: nobody → bwinton
Attachment #8730259 - Attachment is obsolete: true
That still leaves why setting AUTOCONF in your mozconfig failed in the first place.
Flags: needinfo?(bwinton)
I'm not sure, but from the error message, it looked like the mozconfig wasn't being passed in to the autoconf function when it was called from the js/src directory.  (By which I mean when I tried to print it, it was null, iirc. ;)
Flags: needinfo?(bwinton)
Blocks: 1256528
https://hg.mozilla.org/mozilla-central/rev/77d0e430eaab
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: