Commit Graph

398 Commits

Author SHA1 Message Date
Tooru Fujisawa
0c58650a99 Bug 1494287 - followup: Fix undefined variable in fallback path. r=me 2018-10-12 08:24:04 +09:00
Tooru Fujisawa
c5cbf8d38f Bug 1494287 - Check existing cbindgen version and update if necessary. r=ted 2018-10-12 07:59:22 +09:00
Jan Beich
9bfc52ba08 Bug 1496708 - Install node as system package. f=gaston r=Build r=froydnj
Mozilla binaries (including toolchain artifacts) aren't available on BSDs.
2018-10-05 05:37:00 +03:00
Jan Beich
4737c23ba2 Bug 1496708 - Install cbindgen as system package. f=gaston r=Build r=froydnj
cargo build is no longer called, so bootstrap will be faster.
All dependencies (including cbindgen) are usually up-to-date on BSDs
because there's no fallback to Mozilla binaries.
2018-10-05 05:37:00 +03:00
Jan Beich
c6dd37c2bc Bug 1496733 - Explicitly install libXt on FreeBSD. r=Build r=froydnj 2018-10-05 07:02:00 +03:00
Chris Manchester
de165d4dba Bug 1490145 - Download rustc 1.29 in mach bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D5825

--HG--
extra : moz-landing-system : lando
2018-09-14 02:21:26 +00:00
Steve Armand
1812539078 Bug 1490167 - MacPorts in bootstrap.py is out of date r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D5494

--HG--
extra : moz-landing-system : lando
2018-09-11 19:36:09 +00:00
Gabriele Svelto
d5ab0ca667 Bug 1490355 - Teach |mach bootstrap| to automatically install the latest version of the Oracle JDK r=nalexander
This patch makes the bootstrap code "ask" Gentoo's package manager for
human-readable information on how to get the latest JDK, then parses it and
locates the tarball URL on its own. The whole procedure is now fully automatic
(until the package output or Oracle web pages change).

Differential Revision: https://phabricator.services.mozilla.com/D5544

--HG--
extra : moz-landing-system : lando
2018-09-12 12:08:51 +00:00
Bas Schouten
efa3734e21 Bug 1485485 - Followup: Fix which function definition in derrived classes. r=froydnj 2018-08-28 18:24:50 +02:00
Nathan Froyd
5ba4a13346 Bug 1485485 - make bootstrap accept rustc/cargo in known-good locations; r=chmanchester
moz.configure looks for rustc/cargo on PATH and in ~/.cargo/bin.
Bootstrap only looks on PATH and not in ~/.cargo/bin, though it is smart
enough to complain if rustc/cargo can't be found on PATH and you have
them in ~/.cargo/bin.  Bootstrap should look in both places by default,
and be content if it finds them wherever they are, so long as
moz.configure can find them.
2018-08-28 09:31:48 -04:00
Panos Astithas
312fdae0eb Bug 1484243 - Detect vcs automatically in |mach vcs-setup|. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D3942

--HG--
extra : moz-landing-system : lando
2018-08-22 17:26:58 +00:00
Emilio Cobos Álvarez
fd187833dd Bug 1484485: Create state dir and install node / stylo stuff in bootstrap's non-interactive mode. r=ted
The state directory is in $HOME by default, so should be fine to just create it
if we get --no-interactive I think.

Differential Revision: https://phabricator.services.mozilla.com/D3838
2018-08-22 11:17:51 +02:00
Panos Astithas
6a01b19a19 Bug 1257478 - Turn mercurial-setup into vcs-setup and add git support. r=gps
MozReview-Commit-ID: AD6gLqFm8Nn

--HG--
extra : rebase_source : 0214cdc6f6acaaf0621e25f30cb0a2c81849063e
2018-07-04 21:48:42 +03:00
Ting-Yu Lin
1199851701 Bug 1476147 - Use path.isfile() instead of patch.exists() in which(). r=glandium
This excludes directories, and returns true only if it's an executable file.

Differential Revision: https://phabricator.services.mozilla.com/D3366

--HG--
extra : moz-landing-system : lando
2018-08-15 06:15:57 +00:00
Emilio Cobos Álvarez
818db7603f Bug 1478813 - Add cbindgen toolchain job and install via bootstrap. r=ted
And require it for taskcluster build already, because it doesn't harm and lets
me put all the yml changes in the same commit.

I gave up cross-compiling for OSX after a few tries and after realizing it
wasn't enough with cctools and such, but that I also needed the Mac SDK, for
which I don't have permission...

Differential Revision: https://phabricator.services.mozilla.com/D2664

--HG--
extra : moz-landing-system : lando
2018-08-13 10:58:22 +00:00
Dan Mosedale
b7242c9e28 Bug 1481693 - Implement no_system_changes for moz_bootstrap, r=gps
MozReview-Commit-ID: CnS94verabV
2018-08-10 19:58:03 -07:00
Dan Mosedale
ee200cd836 Bug 1481693 - Factor out install_private_packages from moz_bootstrap, r=gps
MozReview-Commit-ID: It9IumV141L
2018-08-10 19:58:03 -07:00
Dan Mosedale
98be0c2bfe Bug 1481693 - Factor out try_to_create_state_dir from mach_bootstrap, r=gps
MozReview-Commit-ID: H6DhV56n3Cc
2018-08-10 19:58:02 -07:00
Dan Mosedale
58963c546b Bug 1481693 - Add --no-system-changes argument to 'mach bootstrap', r=gps
MozReview-Commit-ID: AMYM3rAPVcl
2018-08-10 19:58:01 -07:00
Dan Mosedale
e2e43a5c7a Bug 1481693 - Teach mach bootstrap to install NodeJS from toolchain artifact, r=gps
MozReview-Commit-ID: DBUCcGXxM0a
2018-08-10 19:58:00 -07:00
Mike Hommey
f4f54e5aeb Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 09:47:41 +09:00
Bogdan Tara
347da2ba78 Backed out changeset 003838e8d110 (bug 1482330) for Adnroid build bustages on mozalloc_abort.cpp CLOSED TREE 2018-08-11 03:22:58 +03:00
Mike Hommey
ee95699e6b Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 06:50:21 +09:00
Chris Manchester
1f0dff8087 Bug 1450077 - Download rust 1.28 in mach bootstrap. r=froydnj,mshal
MozReview-Commit-ID: IBdFRyWlQTW

--HG--
extra : rebase_source : 25a75a65c70004e8849c108ba6163f421f36945c
2018-08-07 13:21:29 -07:00
Dorel Luca
e549807ade Merge mozilla-central to mozilla-inbound 2018-07-27 13:48:50 +03:00
Andreas Tolfsen
c7e21b65bc Bug 1476263 - Suggest to create mozconfig if it does not exist. r=gps
A frequent question when mentoring new contributors is what "your
mozconfig file" is.  By suggesting to create the file if it does
not exist, we can hopefully alleviate some new contributor frustration.

This change does unfortunately not take into account that the
mozconfig file can be named .mozconfig or even be in a designated
location defined by the MOZCONFIG environment variable, but it
seems reasonable to assume that developers who already know about
those alternatives will know which file to edit, and that what we
should optimise for during the bootstrapping process is to get new
contributors up and running quickly.
2018-07-27 11:15:16 +01:00
Aniket Kadam
3cad808ba6 Bug 1460355 - Fix: Change how the packages are sent to the sdkmanager to install, avoid missing argument. r=nalexander
The argument --package_file was removed in the latest sdkmanager by Google's Android. But the docs for it say
packages can also be sent by putting them in quotes and calling the sdk manager with them as individual args.
So now instead of sending the file directly with the --package_file argument, the package names are read from
the file and the sdk manager is called with them as individual args.
Historically this has been thought of as a bug that happens with the wrong version of the JDK, but this can be
reproduced with just java 1.8.0_181 and the most up to date version of sdkmanager currently 26.1.1
Important note, the mach bootstrap command downloads an older version of the sdk and this bug is not present in
the older version.
Since the way of updating packages I'm proposiing to use is backwards compatible, there shouldn't be any problem
in any version of the sdkamanger.
This is a simpler fix than trying the --package_file argument, particularly because it would involve capturing
output (to detect this particular bug) that's also supposed to be shown to the user because this also happens
when the user is supposed to be interacting with the install.

MozReview-Commit-ID: L7VhCVKJNIf
***
Formatting changes to satisfy the linter.

--HG--
extra : rebase_source : f67d2cb85a4136eb8ad5c3053f5436a8870ab528
2018-07-24 20:06:21 +05:30
Tudor-Gabriel Vîjială
7034598959 Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp
MozReview-Commit-ID: LR1OWncvuwt

--HG--
extra : rebase_source : 6de8f8927e801789d559a7c361c7b434ae1f74c4
2018-07-17 13:20:19 +01:00
Tooru Fujisawa
457a074699 Bug 1475443 - Properly detect Xcode licence agreement issue in bootstrap.py; r=gps
--HG--
extra : amend_source : 7287bcedc11089e08c96318913c6f5a5e6b003f7
2018-07-13 12:32:45 +09:00
Chris Manchester
04c4288d0d Bug 1472857 - Require rustc 1.27 to build. r=glandium
MozReview-Commit-ID: 5WsP4EQxSil

--HG--
extra : rebase_source : e4506f9c4dfcccdf691fb944270e1a508edc02d5
2018-07-03 15:27:20 -07:00
Rok Garbas
2a544047c6 Bug 1471541 - switch to new tooltool url, r=jlund
--HG--
extra : rebase_source : 85cd6f1e78ec293d5c9fba8d41b31b5ca8bc521e
2018-07-03 15:35:58 -07:00
Mike Hommey
993aa6d00f Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.

--HG--
extra : rebase_source : a17aa496bf3d4af4d1349d69a637c686c6817d0f
2018-06-26 18:05:23 +09:00
Gregory Szorc
ff2bb5e8f2 Bug 1469441 - Support fetching bootstrap files from an arbitrary revision; r=glandium
By making the archive URL dynamic, we can fetch an old version of the
bootstrap files. This will make it easier to test the bootstrapper in
CI.

Differential Revision: https://phabricator.services.mozilla.com/D1698

--HG--
extra : rebase_source : 9ba582cf3c138dba433e2bb354650f14b3f16aa7
extra : amend_source : 8a515bb755187e7f0d87b90a25a99f3803ea9e0f
extra : source : 1dcd43dd2a7b04e2bb714349033a456ea5158f3e
2018-06-27 12:15:44 -07:00
Gregory Szorc
f0815b582e Bug 1469441 - Use working yasm rpm URLs; r=glandium
The previously listed server wasn't working. This has likely been
broken for years (I initially authored this commit in November 2016).

Differential Revision: https://phabricator.services.mozilla.com/D1697
2018-06-26 08:11:51 +00:00
Bogdan Tara
ee8db3bbe1 Backed out 2 changesets (bug 1447116) for debug reftests failures CLOSED TREE
Backed out changeset 0c8c7b025aee (bug 1447116)
Backed out changeset 82dc9159f28d (bug 1447116)
2018-06-27 05:17:03 +03:00
Mike Hommey
1ad0baf79f Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.

--HG--
extra : rebase_source : c788ef4f7da9949b81df2f0577af6f6039ea63d8
2018-06-26 18:05:23 +09:00
James Graham
0fdad07d90 Bug 1345875 - Reduce the amount of text about artifact mode, r=nalexander
Reduce the amount of text so that the options are more likely to be
visible and people are more likely to read it.

--HG--
extra : rebase_source : 95eacc8b6b09a82dfb1bec0e837bc70057c5cef1
2017-03-09 14:38:06 +00:00
Gabriele Svelto
f79b3e0dab Bug 1462444 - Make |mach bootstrap| use the latest version of Oracle's JDK when bootstrapping Fennec on Gentoo; r=nalexander
The previous version was removed from Gentoo's portage repository making it
impossible to bootstrap correctly.

MozReview-Commit-ID: HTao6D3g61L

--HG--
extra : rebase_source : 57be7946b105289e662dc2f687bb1b2b9056a3f2
2018-05-17 21:44:26 +02:00
Jan Henning
2417c8160f Bug 1352015 - Part 2: Build with Android O SDK. r=nalexander
MozReview-Commit-ID: BhqwL4nyj6J

--HG--
extra : rebase_source : 95a111c221b01a2d2243fb451c9bd3ec97967ac6
2018-05-06 17:38:22 +02:00
Gregory Szorc
4e54ff754e Bug 1458627 - Bump MODERN_MERCURIAL_VERSION to 4.3.3; r=sheehan
We bump the Mercurial version after a new Mercurial release. 4.6 was
just released. So...

MozReview-Commit-ID: LQ49eVCDuGG

--HG--
extra : rebase_source : 6b213a62216d1b8a9ec4f303d05d01e0609734a1
2018-05-07 18:11:28 -07:00
Jan Beich
639ed8fb3e Bug 1457765 - Install python3 as required on FreeBSD. r=froydnj,mshal
MozReview-Commit-ID: BSyDzVphdW1

--HG--
extra : rebase_source : 1908d9dc977302d891082e77188d8b56586cac72
2018-04-29 12:54:45 +00:00
Chris Manchester
ac074614a7 Backed out rust 1.25 in mach bootstrap (bug 1450077)
MozReview-Commit-ID: 6TXbyDvWGEP
2018-04-24 12:07:50 -07:00
Gregory Szorc
15ac1ad656 Bug 1451065 - Attempt to install Python 3 on Debian distros; r=mshal
Not all distros will have a "python3" package. But the modern ones
should.

Because many people install Python via other means, we only install
the system packages if a Python 3 executable can't be found.

MozReview-Commit-ID: 2ni7Ha92cRD

--HG--
extra : rebase_source : 681085855f785b4857ac1b569c2b0dc4ffb68cad
2018-04-03 10:57:07 -07:00
Gregory Szorc
8b3a5e4dd1 Bug 1451065 - Install Python 3 on Arch; r=mshal
MozReview-Commit-ID: Gg7gn72Xev9

--HG--
extra : rebase_source : c61fca33e29721b6a6f7c1281186f6935da193b7
2018-04-03 10:46:47 -07:00
Chris Manchester
d27e8e527c Bug 1450077 - Download rust 1.25 in mach bootstrap. r=mshal
MozReview-Commit-ID: IrU4Pzn9Iz

--HG--
extra : rebase_source : ddd68550303569a70d983e3c4922213733148fd4
2018-03-30 10:16:09 -07:00
Jeff Gilbert
d4045513ea Bug 1428214 - Prune unnecessary packages from mozboot bootstrappers. - r=gps
MozReview-Commit-ID: GwNfUFFwkBQ

--HG--
extra : rebase_source : d6a464d6591de3a171984882b2729b18a33092a4
2018-01-04 15:51:45 -08:00
Gabriele Svelto
a41a01a61f Bug 1444881 - Make |mach bootstrap| use the latest version of Oracle's JDK when bootstrapping Fennec on Gentoo; r=nalexander
MozReview-Commit-ID: BnRJC95sSEr

--HG--
extra : rebase_source : 82db88a83191f7e837c000d3701df8b3ee941259
2018-03-12 14:31:05 +01:00
Kevin Brosnan
a7f87eaf46 Kevin Brosnan - Bug 1441579 - Install ncurses-compat-libs for Fedora as part of mach bootstrap r=nalexander
MozReview-Commit-ID: 6TsufMMzjIc

--HG--
extra : rebase_source : 569d4f50184cc2134e0b12b65abb99ad5fd4391f
2018-02-28 08:23:39 -08:00
Nick Alexander
5e6cdade8e Bug 1440428 - Fix: Don't install Proguard JAR in |mach bootstrap|. r=jchen
MozReview-Commit-ID: EOvKSE5z28P
2018-02-26 11:37:41 -08:00
Ralph Giles
07d65e6e07 Bug 1430928 - mozboot: install rust 1.24. r=froydnj DONTBUILD
Have `./mach boostrap` update users to at least rust 1.24.0,
which is the current stable release.

MozReview-Commit-ID: 2sma2p3BktJ
2018-02-15 17:07:37 -08:00
Nick Alexander
e15e1e942d Bug 1437201 - Part 2: Install llvm on macOS when bootstrapping mobile/android. r=froydnj
This was just an oversight when adding Stylo bindgen support to |mach
bootstrap| (I assume).

MozReview-Commit-ID: 89N6omXGUdy

--HG--
extra : rebase_source : bcc4fc72ce49390e1200eb5efbe6ee14fccd016c
2018-02-09 14:33:30 -08:00
Dorel Luca
23a5631163 Backed out 2 changesets (bug 1437201) for Android build bustage on a CLOSED TREE
Backed out changeset 1a206d390b01 (bug 1437201)
Backed out changeset 04e61046bb44 (bug 1437201)
2018-02-10 02:40:11 +02:00
Nick Alexander
98deb790f4 Bug 1437201 - Part 2: Install llvm on macOS when bootstrapping mobile/android. r=froydnj
This was just an oversight when adding Stylo bindgen support to |mach
bootstrap| (I assume).

MozReview-Commit-ID: 89N6omXGUdy

--HG--
extra : rebase_source : 8055d69eea317d83d64d481708f2d77e544db688
2018-02-09 14:33:30 -08:00
Nick Alexander
60bae57dc0 Bug 1427790 - Bootstrap caskroom/versions/java8 for macOS+brew+mobile/android. r=froydnj
Two things have changed.  One, Brew's java package became Java 9,
which doesn't work for building on Android.  Two, Brew's cask system
also changed, requiring some small updates.

In order to actually use the install java toolchain, we need to use
the --with-java-bin-path configure option, which required some small
tweaks to the suggested mozconfigs.

MozReview-Commit-ID: JlZpdqaOkp0

--HG--
extra : rebase_source : c2828139843b6e0b8d2f0c3141d4d9e5b0b83b4f
2018-02-09 11:30:28 -08:00
Nathan Froyd
a65d0b5a21 Bug 1412006 - part 2 - add an --ndk-only option to mozboot/android.py; r=nalexander
This option will be useful for our NDK repackaging task.
2018-02-01 09:59:23 -05:00
Nathan Froyd
900fb3a463 Bug 1412006 - part 1 - have a single point of truth for the NDK version; r=nalexander
...at least in mozboot/android.py.
2018-02-01 09:59:23 -05:00
Nick Alexander
edf219ba3b Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Sylvestre Ledru
61536137bd Bug 1432892 - Comment the npm package dependency until Debian brings it back r=standard8
MozReview-Commit-ID: BeWtC943jw7

--HG--
extra : rebase_source : 5bb8b3315674b5c63e22c8ebbb486bc04b6267ed
2018-01-26 13:53:19 +01:00
Jan Beich
9f9d8720a3 Bug 1433395 - FreeBSD bootstrap: install LLVM as Mesa dependency. r=froydnj
Firefox generally supports the same range of LLVM versions as Mesa.
Instead of regularly updating it just pull Mesa drivers which will
be required by WebRender, anyway.

MozReview-Commit-ID: DiK4TD9tWe0

--HG--
extra : rebase_source : 5dd9c8c46ae79deee8f2fd887b27fddbc30fc22d
2018-01-25 10:27:51 +00:00
Jan Beich
d3df765835 Bug 1433036 - OpenBSD bootstrap: node-devel package doesn't exist. r=froydnj,gaston
lang/node aka node package is what actually installs node and npm executables.
https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/node/pkg/PLIST?rev=HEAD

MozReview-Commit-ID: H9lZGcHmEuR

--HG--
extra : rebase_source : 31a6259c3c6890f77f3f65054c21a13af2d3aff2
2018-01-25 07:05:22 +00:00
Jan Beich
0a1567442d Bug 1433036 - FreeBSD bootstrap: add npm for linting after bug 1433036. r=froydnj
Downstream npm package already depends node package, no need to
specify it explicitly. Also, node package refers to the latest NodeJS
but npm package can be built against an older version.

MozReview-Commit-ID: KeuSFEKeStw

--HG--
extra : rebase_source : ac3ab14519f4edd8bcb5b77cad64eeaed16d2751
2018-01-25 07:02:44 +00:00
Ralph Giles
0f7ccae18e Bug 1430934 - mozboot: Update to rust 1.23.0. r=nalexander
Have `./mach boostrap` update users to at least rust 1.23.0,
which is the current stable release.

MozReview-Commit-ID: 7ukx7shu07e

--HG--
extra : rebase_source : 82ea7fd65901f0e9e00e961d157cf113d82b1d4e
2018-01-16 15:07:14 -08:00
Gabriele Svelto
2981b63774 Bug 1432954 - Make |mach bootstrap| use the latest version of Oracle's JDK when bootstrapping Fennec on Gentoo; r=nalexander
MozReview-Commit-ID: 40xYQqpMy9O

--HG--
extra : rebase_source : 84b3f8832b5f393a25357354d94ec94c9d7e53ed
2018-01-24 22:56:36 +01:00
Gregory Szorc
e9cbe9727b Bug 1431226 - Reference proper function and allow loading hgrc; r=nalexander
This fixes a regression in 195e88aab631 (bug 1429094).

When I reviewed that changeset, I didn't realize there were callers
of the renamed function outside the file.

The other caller (changed in this commit) needs to interact with the
repository. This may require loading extensions. So we can no longer
unconditionally disable the loading of hgrc. We add an argument to
control the loading of hgrc to support this.

MozReview-Commit-ID: 8AkPhvtC1VH

--HG--
extra : rebase_source : b2bf3dcc52ac6bdeb86ea56923b9eaea0771739e
2018-01-17 14:29:13 -08:00
Tiberius Oros
92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Ryan VanderMeulen
ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Michael Froman
77619aeb6e Bug 1415922 - "Stylo packages not installed during mach bootstrap if .hgrc file has alias for log set to log -G" [r=gps] 2018-01-11 07:27:00 +02:00
Ralph Giles
986d51d49a Bug 1430933 - mozboot: Start with rustup 1.9.0. r=gps
When bootstraping the development environment on a machine without
rustup installed, download and install rustup version 1.9.0,
released 2018 January 4, instead of the older 1.5.0.

This saves a self-upgrade step in the short term and reduces the
chance of lost support failures in the long term.

MozReview-Commit-ID: H8ouRszLMsP

--HG--
extra : rebase_source : 0eacfff2fa3e21e64dbbc998aee91600f5bb5d68
2018-01-16 15:11:51 -08:00
Julien Wajsberg
13daca8c84 Bug 1429094 - Define the environment variable HGRCPATH to ignore any .hgrc that may exist r=gps
By ignoring existing .hgrc we make sure we don't try to load extensions
and have a consistent output. Especially we won't have error messages
that could confuse us into extracting a wrong version number.

MozReview-Commit-ID: FwrfcbY8QpN

--HG--
extra : rebase_source : 1b8c63830eb81832c8eaad86afc8520266c3ffc8
2018-01-09 16:48:24 +01:00
Julien Wajsberg
eb54839b21 Bug 1429096 - Bump the minimal mercurial version to be considered modern r=gps
This version needs to stay synchronized with version-control-tools.

MozReview-Commit-ID: BN4h9XOntjD

--HG--
extra : rebase_source : 24a0593742000b1d0dde7e23aa5b042fe92ba2b9
2018-01-10 19:21:43 +01:00
Gabriele Svelto
2d89dbfabf Bug 1430788 - Fix the 'nodejs' package name when bootstraping on Gentoo; r=nalexander
MozReview-Commit-ID: 3NzJezE1cVV

--HG--
extra : rebase_source : 554c5a6d15f6d5d7fab1c03e819d77e9f5adbec8
2018-01-16 16:58:31 +01:00
Nick Alexander
47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Dorel Luca
ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Nick Alexander
e820c8ca18 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 5a5730b4b9ce84af40a7c73c4f1abba017103f02
2017-10-26 11:00:36 -07:00
Mark Banner
feaa8433c8 Bug 1424921 - Support Lint dependencies in bootstrap. r=froydnj
- Add node as a dependency on Linux and Mac
- Add python3 for Mac only (linux generally has it installed already).

MozReview-Commit-ID: EpNWFTI9UXc

--HG--
extra : rebase_source : 755e8575e6e6c261c1ccaf9e5fe08e66502a4c3c
2018-01-03 21:11:44 +00:00
Pierre Bertran
057b85f2b3 Bug 1427790 - Ensure that Java8 is bootstrapped on Mac to maintain Android SDK compatibility. r=nalexander
--HG--
extra : rebase_source : 72d0e4aeb9e9c0132d77f22abdcda60a0b5b3503
2018-01-03 08:32:00 -05:00
Mike Hommey
6994b7e8fd Bug 1427450 - bootstrap: Don't install mesa, libiw and libnotify development files. r=froydnj
mesa is not necessary as of bug 938489 (there was even a bootstrap patch
that never landed)
libiw is not necessary as of bug 799391.
libnotify is not necessary as of bug 783765.

--HG--
extra : rebase_source : f6ecc18e50f8f92cb02ed16c87a6192800ea250d
2017-12-31 09:15:44 +09:00
Ralph Giles
751b02f86b Bug 1424439 - mozboot: Update to rust 1.22.0. r=nalexander
Since bug 1421097, rust 1.22.0 is required to build, but
mozboot was still considering 1.21.0 sufficiently new.
bumpt the version there as well so `./mach bootstap`
will update to the required version.

MozReview-Commit-ID: moYo0KSsU

--HG--
extra : rebase_source : 900a962f5742b24ccd6ce3decc0242ff4fe36456
2017-12-08 16:42:28 -08:00
Jan Beich
460920cc90 Bug 1420330 - FreeBSD bootstrap: add aarch64 and testing dependencies. r=nalexander
- aarch64 has GNU-free toolchain thus /usr/bin/as is N/A by default
  but GNU as is required to build bundled ICU.
- Downstream Python splits sqlite3 C module into a separate package
  to reduce optional dependencies but _sqlite3 is used by mozprofile.

MozReview-Commit-ID: Lh2ktcqh16f

--HG--
extra : rebase_source : bbcbe437132ecfce0f3e6e7b2005d0e8eac65836
2017-11-24 03:24:57 +00:00
James Willcox
fba83f012e Bug 1412677 - Install NDK r15c as part of 'mach bootstrap' r=froydnj
MozReview-Commit-ID: A1aEUTWSDVm

--HG--
extra : rebase_source : e7ca7917fd418f0ea01c4fc043c57b3cc98e339f
2017-10-30 08:51:15 -05:00
Nathan Froyd
b0c38fc250 Backout 8d9d8d96e403 (bug 1411680) because not finding toolchains with local changes is expected; r=me 2017-10-26 10:54:11 -04:00
Nathan Froyd
6a25f52bd6 Bug 1411680 - fix clang toolchain downloaded by mach bootstrap on Linux; r=nalexander
We renamed this toolchain a while back, but never updated bootstrap.
2017-10-25 15:10:31 -04:00
Gabriele Svelto
d2bf4663bd Bug 1411196 - Make |mach bootstrap| on Gentoo use the latest version of Oracle's JDK for Fennec builds; r=froydnj
MozReview-Commit-ID: 7bUtundkBZU

--HG--
extra : source : dc1e64ab4995a17b52181ab703d9e0f5aea71d75
2017-10-24 11:15:16 +02:00
Steve Armand
2f063d0a37 Bug 1410752 - MacPorts in bootstrap.py is out of date, and fails on Sierra and High Sierra r=gps
MozReview-Commit-ID: gNjwQ26sZh

--HG--
extra : rebase_source : e0e6ab8e2e69afeeb4483d0c84e4155db92f35a6
2017-10-22 21:40:29 -04:00
Andrew Halberstadt
6e3d5384d5 Bug 1410454 - Fix ImportError regression in mozboot, r=nalexander
This fixes a regression from bug 1408365. Ideally these imports would
be defined at the top of the file, then the py2 linter would have caught
them. Even more ideally, mozboot would have some tests that hit these
code paths.

MozReview-Commit-ID: BWvIwAdUBF4

--HG--
extra : rebase_source : 6472f730a5cd12aa98af7a21f958d1ad2400f995
2017-10-20 14:31:47 -04:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Geoff Brown
4d79215673 Bug 1390606 - Include emulator in android sdk installation from 'mach bootstrap'; r=nalexander 2017-10-18 15:30:43 -06:00
Nick Alexander
ca7be79cec Bug 1406572 - Install Proguard JAR as part of |mach bootstrap|. r=rillian
I think we're approaching an inflection point for the bootstrapper,
one where it no longer is possible to bootstrap without a source
checkout.  For now, however, let's just do the simplest thing and
install the Proguard JAR along the happy path.

MozReview-Commit-ID: xUY37eE6oR

--HG--
extra : rebase_source : 31549ab3b6d662d84761c2a260cd236a5809c8ac
2017-10-17 15:48:32 -07:00
Nick Alexander
af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Steve Armand
82b69a173f Bug 1408365 - Enable flake8/py2/py3 linters on python/mozboot. r=ahal
MozReview-Commit-ID: 3koZq509bjP

--HG--
extra : rebase_source : 9accfc2b727fd7c1f4fad97d1a244d62f4fae714
2017-10-13 23:33:00 -04:00
Ralph Giles
5bbd8ade03 Bug 1408565 - mozboot: Upgrade to rust 1.21.0. r=nalexander
We expect to start requiring rust 1.21 soon, so have
./mach bootstrap upgrade users to it to consolidate
churn between now and then.

MozReview-Commit-ID: HEnXm25duUr

--HG--
extra : rebase_source : d05071ee5c2852eb69da22e80623f21ca8c6f7cb
2017-10-13 14:11:01 -07:00
Nick Alexander
754043c133 Bug 1407872 - Use Python yes-like pipe for --no-interactive in |mach bootstrap|. r=gbrown
The old system was simply in place because I couldn't figure out how
to pipe `yes | ...` in Python.  This is good enough to replace it, and
much less fragile since the license hashes change frequently.

MozReview-Commit-ID: AhJJPqMKfUh

--HG--
extra : rebase_source : 86289e692d646181d545457fc953610e165ee2df
2017-10-13 11:48:52 -07:00
André Reinald
5516cf8a4c Bug 1405389 - Change port name from py27-readline to py27-gnureadline to enable mach bootstrap on current macports. r=nfroyd
MozReview-Commit-ID: E9AlS8RCSp9

--HG--
extra : amend_source : 1d50db24437832978a5c793978cdb8c91c5c599d
2017-10-10 11:17:24 +02:00
Jan Beich
85fcc3246e Bug 1401166 - Skip Stylo dependency with ./mach bootstrap on OpenBSD. r=rillian f=gaston
MozReview-Commit-ID: E8FTcQkAI9M

--HG--
extra : rebase_source : d50a62faf8b600bb6017a1ae1cb528f27fd76aea
2017-09-19 12:19:40 +00:00
Jan Beich
06d2f5f41f Bug 1401166 - Simplify llvm40 dependency for ./mach bootstrap on FreeBSD. r=rillian
GCC isn't safe to use on architectures that switched to Clang because
libstdc++ and libc++ aren't very compatible. Newer LLVM and Clang are
often already installed as a dependency for Mesa packages. So, always
require llvm* package.

MozReview-Commit-ID: 8651mz5tiIp

--HG--
extra : rebase_source : 7713e167b34f14a18fd5bf9c5ec33e926b2b929c
2017-09-19 12:10:30 +00:00
Jan Beich
f4716e6e78 Bug 1401166 - Drop obsolete cargo dependency from ./mach bootstrap on BSDs. r=rillian
MozReview-Commit-ID: LbbhRwXSEJN

--HG--
extra : rebase_source : af123f55e5441ea37c248f638a0c29780d22b1ad
2017-09-19 12:07:53 +00:00
SingingTree
51faf6041e Bug 1385241 - Remove mozilla-build specific rust install. r=ted.mielczarek
The MozillaBuildBootstrapper specific rust install code in not needed as
mozbase already includes genertic code to achieve the same outcome. The
mozilla-build specific code also leads to issues where it tries to add already
existing targets and fails the bootstrap. This changeset removes the
mozilla-build specific step.

MozReview-Commit-ID: G0BqKZrF40A

--HG--
extra : rebase_source : 60e9638afff744c937a9665d6fd5830187835ea4
2017-09-07 17:37:53 +12:00
Gabriele Svelto
80ff657d2a Bug 1398935 - Make |mach bootstrap| support 'mobile/android' builds on Gentoo; r=froydnj
This also passes the '--noreplace' option to all the emerge invocations thus
preventing already installed packages from being rebuilt from scratch.

MozReview-Commit-ID: 4JBuptmgS3Y

--HG--
extra : rebase_source : e581607d4a2e997e7d79c7c4496d13b8e9b10e50
2017-09-11 23:42:53 +02:00
Mike Conley
c2e06b25fc Bug 1397279 - Have mach bootstrap install rustup 1.6.0. r=froydnj
MozReview-Commit-ID: LeabPgl8TTZ

--HG--
extra : rebase_source : e800ea1263bf371431a64eccf1b60b90cbdfe1d8
2017-09-06 09:59:45 -04:00
Henri Kemppainen
9edda378b4 Bug 1395768 - Use absolute path to mach. r=gps 2017-09-01 03:15:45 +03:00