Open
Bug 1286807
Opened 10 years ago
Updated 3 years ago
mach configure: nsprpub> configure: WARNING: unrecognized [legal] options
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: ruga, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17
Steps to reproduce:
#!/bin/sh
#
# https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure
# http://developer.mozilla.org/en/docs/Build_Documentation
# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction
# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build
# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites
# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles
# https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options
#
# https://bugzilla.mozilla.org
# http://developer.mozilla.org/en/docs/Creating_a_patch
# http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree
#
umask 0000;
cwd="$PWD";
# Exit if any statement returns a non-true return value (non-zero).
set -o errexit;
# Exit on use of an uninitialized variable
set -o nounset;
CC=clang;
which clang; #> /usr/bin/clang
clang --version | head -1; #> Apple LLVM version 7.3.0 (clang-703.0.31)
CXX=clang++;
which clang++; #>/usr/bin/clang++
clang++ --version | head -1; #> Apple LLVM version 7.3.0 (clang-703.0.31)
brew update;
brew upgrade;
#brew install python; # already in place
which python; #> /usr/bin/python
python --version; #> Python 2.7.10
#brew install autoconf; # FF uses old 2.13
brew tap homebrew/versions; brew install autoconf213;
brew link autoconf213 --overwrite;
autoconf --version; #> -bash: autoconf: command not found
autoconf213 --version; #> Autoconf version 2.13
brew install mercurial;
which hg; #> /usr/local/bin/hg
hg version | head -1; #> Mercurial Distributed SCM (version 3.8.4)
brew install gawk;
which gawk; #> /usr/local/bin/gawk;
gawk --version | head -1; #> GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4-p1, GNU MP 6.1.1)
brew install ccache;
which ccache; #> /usr/local/bin/ccache
ccache --version | head -1; #> ccache version 3.2.6
brew install yasm;
which yasm; #> /usr/local/bin/yasm
yasm --version | head -1; # yasm 1.3.0
mkdir -p /opt/src/releases/mozilla-esr45;
hg init /opt/src/releases/mozilla-esr45;
cd /opt/src/releases/mozilla-esr45;
hg unbundle $HOME/Downloads/9ae12ca08d6f69dc646d10c33409b11114d0f69c.bzip2.hg;
cp $cwd/.mozilla/hgrc .hg/hgrc;
hg pull;
hg update;
./mach mercurial-setup; # creates $HOME/.mozbuild folder
./mach mercurial-setup; # triggers bitbucket error
export NO_MERCURIAL_SETUP_CHECK=1; # skips above bitbucket error
export MOZCONFIG=$cwd/mozilla/mozconfig-firefox;
./mach configure >configure-stdout.log 2>configure-stderr.log;
./mach build;
./mach run;
Actual results:
...
0:41.27 nsprpub> configure: WARNING: unrecognized options: --enable-default-toolkit, --enable-llvm-hacks, --enable-address-sanitizer, --enable-memory-sanitizer, --enable-thread-sanitizer, --enable-sandbox, --enable-content-sandbox, --enable-pie, --disable-tests, --enable-icf, --enable-install-strip, --enable-application, --enable-release, --enable-update-channel, --enable-signmar, --disable-updater, --enable-permissions, --enable-parental-controls, --disable-safe-browsing, --disable-b2g-bt, --disable-b2g-camera, --disable-gamepad, --disable-mozril-geoloc, --disable-approximate-location, --disable-necko-wifi, --disable-eme, --disable-gstreamer, --disable-ogg, --disable-pulseaudio, --disable-wave, --disable-webaudio, --disable-webrtc, --disable-webspeech, --disable-webspeechtestbackend, --disable-synth-pico, --disable-webvtt, --disable-auth, --disable-gio, --disable-universalchardet, --disable-crashreporter, --disable-webapp-runtime, --disable-system-extension-dirs, --disable-bundled-fonts, --disable-webgl, --disable-websms-backend, --disable-accessibility, --disable-maintenance-service, --disable-negotiateauth, --without-intl-api, --enable-feeds, --disable-libjpeg-turbo, --with-distribution-id, --with-app-name
...
Expected results:
recognize the legal options
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
•