Closed Bug 1802271 Opened 2 years ago Closed 2 years ago

Various Linux bootstrap cleanup

Categories

(Firefox Build System :: Bootstrap Configuration, task)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(8 files)

No description provided.

With psutil now coming with wheels on Linux, we don't need to be able to
build python modules out of the box.

Nowadays, we don't need to bootstrap as many packages as we used to,
thanks to the bootstrapped tools and sysroots. The first step here is to
install the common base of necessary packages. As a matter of fact, none
of the other packages are necessary anymore, but we'll clean that up in
a followup patch.

This change and the followups have been tested on base docker images of
Arch Linux, Debian 10, 11, 12, Fedora 36, 37, Gentoo, OpenSUSE Leap,
Tumbleweed, Rocky Linux 8, Ubuntu 22.04, 22.10, Void Linux, and a Live
ISO of Solus Linux, with the assumption that actual users would have at
least what those images contain (and some of them are pretty barebones,
to the point that some of the base packages listed seem would seem
ridiculous... in fact we hadn't needed to include them so far).

We don't need those anymore, as mentioned in previous change.

Also remove the long unused add_apt_architecture.

Blocks: 1245969
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/f6c7c70a0528 Remove the redundancy in code to bootstrap fix-stack and minidump-stacks. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/04b225cbda37 Stop installing python3-dev packages. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/e2d7ecbf0690 Bootstrap the same base packages on all Linux distros. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/b8678118ee18 Stop bootstrapping all sorts of packages on Linux distros. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/12dbda53c17c Remove redundant ensure_clang_static_analysis_package in the openSUSE bootstrapper. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/faff7534fad0 Avoid the duplication of the run_as_root logic in the voidlinux bootstrapper. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/8cfb5b12e2a4 Remove python 2 compatibility from bootstrap code. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/7a322394f7e6 Move dnf and apt code to the respective classes that use them. r=firefox-build-system-reviewers,andi
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: