Commit Graph
943 Commits
Author SHA1 Message Date
ahochheiden 88349d67c9 Bug 1866711 - On Windows, check that topsrcdir is on a ReFS drive (Dev Drive) during bootstrap r=firefox-build-system-reviewers,nalexander
The use of input() to pause the text scrolling is intentional. Users
might otherwise not see the message. It ensures the user makes an
informed decision and either switches to a Dev Drive, or hides the
recommendation.

Differential Revision: https://phabricator.services.mozilla.com/D194716
2024-05-15 17:32:29 +00:00
Ryan VanderMeulen ae27b0d46c Bug 1895621 - Update Android bundletool to version 1.16.0. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D209763
2024-05-13 20:37:00 +00:00
Mike Hommey 62ab835bfe Bug 1890935 - Bump the minimum version of Rust to 1.76. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D207239
2024-04-30 07:29:43 +00:00
Ryan VanderMeulen 21c58a0027 Bug 1892371 - Update to JDK 17.0.11. r=geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D208279
2024-04-23 21:19:48 +00:00
serge-sans-paille e4edb9b9d7 Bug 1891778 - Move mozilla_build_version out of mozbuild/util.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207594
2024-04-19 09:08:57 +00:00
Stanca Serban c0ab8af0e7 Backed out 2 changesets (bug 1890935, bug 1882209) for causing Android build bustages. CLOSED TREE
Backed out changeset 05cb55554fc0 (bug 1882209)
Backed out changeset 67b0625e2cfa (bug 1890935)
2024-04-19 08:07:52 +03:00
Mike Hommey 124eaa8688 Bug 1890935 - Bump the minimum version of Rust to 1.76. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D207239
2024-04-19 04:21:20 +00:00
Connor Sheehan 9d38061e64 Bug 1889954: set HGRCPATH=! when updating v-c-t r=firefox-build-system-reviewers,glandium
`HGPLAIN` disables configuration settings that change the default Mercurial
output, whereas `HGRCPATH=!` disables all extensions entirely. Since we are
updating v-c-t to update custom Mercurial extensions, we should disable all
extensions to avoid hitting bugs that would be fixed by updating v-c-t.

Differential Revision: https://phabricator.services.mozilla.com/D206918
2024-04-09 03:14:40 +00:00
Paul Adenot 4e6631ce7e Bug 1883061 - Don't attempt to install the package with sudo apt-get if they are all already installed on debian. r=glandium
This saves typing a password the majority of the time.

Differential Revision: https://phabricator.services.mozilla.com/D203281
2024-03-07 09:37:11 +00:00
Norisz Fay 83b61eed51 Bug 1882186 - Fix black lint failure in bootstrap.py r=fix CLOSED TREE 2024-02-27 05:05:40 +02:00
Mike Hommey f13445a5a0 Bug 1882186 - Disambiguate that we are checking out a branch, not a file. r=firefox-build-system-reviewers,ahochheiden
If for some reason the branch doesn't exist, git will complain about a
file with that name not being found. (see e.g. bug 1880502 for an
example of how that may happen)

Differential Revision: https://phabricator.services.mozilla.com/D202762
2024-02-27 02:38:48 +00:00
Mike Hommey e3364b3106 Bug 1882186 - Set fetch.prune=true during git clone. r=firefox-build-system-reviewers,ahochheiden
The bootstrap script sets it after the clone, but not having it set
during the clone makes git-cinnabar show a message about setting it,
which is kind of useless since we're doing it for the user already.

Differential Revision: https://phabricator.services.mozilla.com/D202761
2024-02-27 02:38:47 +00:00
Ryan VanderMeulen 84df51cd03 Bug 1881351 - Update to JDK 17.0.10. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202346
2024-02-22 13:47:35 +00:00
Ryan VanderMeulen 732e9a487e Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-20 14:10:07 +00:00
Ryan VanderMeulen e964ab4759 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-20 14:10:06 +00:00
Cristian Tuns 646e6b331d Backed out 5 changesets (bug 1822171) for causing Android failures with "Uncaught exception: Traceback (most recent call last)" CLOSED TREE
Backed out changeset cedd2977706a (bug 1822171)
Backed out changeset ba5550494437 (bug 1822171)
Backed out changeset 126552a59648 (bug 1822171)
Backed out changeset 072153b2a9fe (bug 1822171)
Backed out changeset 577745e56c02 (bug 1822171)
2024-02-19 15:05:47 -05:00
Sebastian Hengst 01ebe15220 Backed out changeset bef8b1b461b8 (bug 1822171) for causing frequent connection issues to Android in testing. CLOSED TREE 2024-02-19 19:11:05 +01:00
Ryan VanderMeulen 9546b0c1a2 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-19 16:09:51 +00:00
Ryan VanderMeulen d2aa9dff31 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-19 16:09:51 +00:00
Kershaw Chang 932553fc95 Bug 1880110 - Bump the minimum version of Rust to 1.74.0, r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D201947
2024-02-19 14:33:05 +00:00
ahochheiden 89eb6c797b Bug 1877348 - Remove the try/except wrappers that end up calling distutils.core.setup r=firefox-build-system-reviewers,glandium
This is one of the last references to `distutils` within `mach`, so
let's get rid of it to be thorough.

Differential Revision: https://phabricator.services.mozilla.com/D199951
2024-02-08 21:07:27 +00:00
Jeff Muizelaar f6edb18439 Bug 1865886. Add an android-31 emulator package and add google_apis. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199254
2024-01-29 15:04:15 +00:00
Noemi Erli 4f7979bd11 Backed out 4 changesets (bug 1865886) for causing python failures CLOSED TREE
Backed out changeset 7cc03b5ce4a9 (bug 1865886)
Backed out changeset e2529b2ccc91 (bug 1865886)
Backed out changeset df1b87110c9d (bug 1865886)
Backed out changeset 7bf33179c4b8 (bug 1865886)
2024-01-27 01:39:25 +02:00
Jeff Muizelaar 54d9af7a06 Bug 1865886. Add an android-31 emulator package and add google_apis. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199254
2024-01-26 22:18:17 +00:00
Julian Nagele 87c1a78f62 Bug 1869093 - When bootstrapping on Arch Linux check if packages are already installed before try to install them. r=ahochheiden,firefox-build-system-reviewers,sergesanspaille
pacman_install() uses sudo pacman -S to install packages, which requires the user to enter their password for sudo even if there's nothing to do. Checking for installed packages using pacman -Q allows us to skip calling sudo when all packages are  already installed.

Differential Revision: https://phabricator.services.mozilla.com/D199242
2024-01-23 17:46:15 +00:00
mcarare bcebf4d8b1 Bug 1873677 - GeckoView Android API 34 (Android 14) r=jgraham,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D198175
2024-01-16 08:21:36 +00:00
Michael Froman 892c6bfe2c Bug 1870874 - use expanduser() when comparing extension paths in bootstrap.py r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D196994
2023-12-21 16:31:06 +00:00
Ryan VanderMeulen 2fd9d142b0 Bug 1870252 - Pull the JDK 17.0.9+9.1 build when bootstrapping on Windows. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D196587
2023-12-18 01:40:31 +00:00
ahochheiden 4f801ac229 Bug 1870175 - Only run check_for_hgrc_state_dir_mismatch() if hg is installed r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D196507
2023-12-15 20:50:52 +00:00
Kagami Sascha Rosylight 38f50f03a6 Bug 1870318 - Remove remaining warning about targeting Android on Windows r=nalexander DONTBUILD
The followup after D185162. This is the last mention of the bug 1169873 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D196595
2023-12-15 19:08:45 +00:00
Mike Hommey 3ba0f55202 Bug 1868680 - Stop prewarming the ARM AVD. r=geckoview-reviewers,owlish
prewarming the AVDs was done for CI, where AVDs are used only once in
each task using them, and the cost of first use is high. Prewarming
reduces that overhead.

However, the ARM AVD is not used on CI (anymore?), so we don't need
them prewarmed. This unblocks the situation wrt the failure to run
the emulator on CI, while not addressing the underlying issues, so that
CoT keys can be rotated without waiting for the full situation to be
resolved.

Differential Revision: https://phabricator.services.mozilla.com/D195820
2023-12-12 22:15:37 +00:00
ahochheiden 0f3841d860 Bug 1842692 - Check if the paths for extensions in the hg config are referencing the current .mozbuild directory r=firefox-build-system-reviewers,sheehan,glandium
Setting `MOZBUILD_STATE_PATH` and/or moving the `state_dir` can cause
problems with installed hg extensions due to stale references in the
mercurial.ini file. Doing this check should allow the user the fix
the problem without having to deciper the confusing errors that
appear as a result.

An environment variable (MACH_IGNORE_HGRC_STATE_DIR_MISMATCH) was
added to ignore this check if for some reason a user intentionally wants
to use extensions installed elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D183210
2023-12-12 22:02:47 +00:00
Joel Maher 93a74ef1b8 Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196124
2023-12-12 17:40:03 +00:00
ahochheiden a7840606de Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-12-12 03:52:00 +00:00
Andrew Halberstadt 255518ea5c Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre
These were not caught due to bug 1865672.

Depends on D195431

Differential Revision: https://phabricator.services.mozilla.com/D195432
2023-12-04 14:51:39 +00:00
Mike Hommey 095a6c2481 Bug 1867189 - Make watchman optional during bootstrap. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194959
2023-11-30 08:56:53 +00:00
Mike Hommey df48973b07 Bug 1867217 - Change when we throw away old versions of git-cinnabar. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D194964
2023-11-29 21:34:25 +00:00
Paul Bone 85ad1f146f Bug 1866400 - Recognise Asahi Linux as a Fedora distro r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194587
2023-11-24 06:57:44 +00:00
Makoto Kato 44bf6e65ab Bug 1814734 - Upgrade NDK to r25c. r=geckoview-reviewers,owlish,glandium
Differential Revision: https://phabricator.services.mozilla.com/D194045
2023-11-24 02:01:34 +00:00
Cosmin Sabou 4d28b93ff6 Backed out 2 changesets (bug 1843209) for python3 related browser accessible failures. CLOSED TREE
Backed out changeset 052214d67a99 (bug 1843209)
Backed out changeset 36c5e6c2819f (bug 1843209)
2023-11-23 02:41:22 +02:00
ahochheiden 90004e9277 Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-11-22 20:07:41 +00:00
serge-sans-paille ae64441194 Bug 1858062 - Remove reference to distutils in mozboot r=saschanaz
distutils is no longer available in Python 3.12, which means we cannot
require it on bootstrap, otherwise we cannot bootstrap from Py 3.12.

We already require setuptools as part of mach's requirements, so it's
fine to depend on setuptools elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D190537
2023-11-07 07:43:07 +00:00
Andrew Halberstadt b585192419 Bug 1862515 - Add 'nobara' to FEDORA_DISTROS in 'mach bootstrap', r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192507
2023-11-02 14:02:27 +00:00
ChaseKnowlden 96b153b6e6 Bug 1858889 - [Linux] Remove dbus-glib from docs and CI. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D192088
2023-10-31 18:34:17 +00:00
Ryan VanderMeulen 26b7b9cc58 Bug 1860137 - Update to JDK 17.0.9. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D191475
2023-10-23 15:33:02 +00:00
Mike Hommey 0b4a0a2127 Bug 1857172 - Bump the minimum version of Rust to 1.70.0. r=firefox-build-system-reviewers,sergesanspaille
Strictly speaking, we could revert bug 1855619 and keep the minimum on
1.66, there are enough new goodies in 1.70, and it's old enough per
policy.

Differential Revision: https://phabricator.services.mozilla.com/D190161
2023-10-06 20:42:18 +00:00
Julien Cristau c751a9ca43 Bug 1851988 - fix some python string escape sequences r=webdriver-reviewers,perftest-reviewers,whimboo,afinder,releng-reviewers,firefox-build-system-reviewers,ahal,sergesanspaille
Use r-strings or escape backslashes to avoid a deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D187655
2023-10-04 09:49:09 +00:00
Mike Hommey dd3edae7eb Bug 1853813 - Bootstrap awk on OpenSuSE. r=firefox-build-system-reviewers,ahochheiden
For some reason, it's missing in recent OpenSuSE tumbleweed docker
images, but also is not necessarily available as an "awk" package on
other distros, so limit ourselves to OpenSuSE.

Notably, on Debian, "awk" is a virtual package provided by a set of
packages.

Differential Revision: https://phabricator.services.mozilla.com/D188698
2023-09-20 22:00:15 +00:00
Steve Fink e11bdf3e90 Bug 1853252 - Allow running mach bootstrap from more subdirs r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188302
2023-09-18 19:13:38 +00:00
Ryan VanderMeulen 71e47356f0 Bug 1844661 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,owlish
Depends on D184163

Differential Revision: https://phabricator.services.mozilla.com/D184164
2023-07-25 18:38:05 +00:00