Open
Bug 1148866
Opened 11 years ago
Updated 3 years ago
config.mk doesn't find autoconf correctly
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: rnewman, Unassigned)
Details
Brand new Mac, 10.10. Data, including checkouts, migrated from old machine. HomeBrew starting over from scratch.
Installed autoconf following instructions here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites
$ ./mach configure
0:00.22 /usr/bin/make -f client.mk -s MOZ_PARALLEL_BUILD=8 -s configure
0:00.86 client.mk:304: *** Could not find autoconf 2.13. Stop.
It should be doing this:
# try to find autoconf 2.13 - discard errors from 'which'
# MacOS X 10.4 sends "no autoconf*" errors to stdout, discard those via grep
AUTOCONF ?= $(shell which autoconf-2.13 autoconf2.13 autoconf213 2>/dev/null | grep -v '^no autoconf' | head -1)
On 10.10, running that multi-arg which variant:
$ which autoconf-2.13 autoconf213
autoconf-2.13 not found
/usr/local/bin/autoconf213
$ which autoconf213
/usr/local/bin/autoconf213
If I add
mk_add_options AUTOCONF=/usr/local/bin/autoconf213
to my .mozconfig, ./mach configure completes successfully.
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•