Closed Bug 1588396 Opened 6 years ago Closed 3 years ago

Add support for PureOS to bootstrap.py

Categories

(Firefox Build System :: Bootstrap Configuration, enhancement)

60 Branch
enhancement
Not set
normal

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: cmmarusich, Assigned: botond)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

In order to install the dependencies required for building Firefox, I ran bootstrap.py as recommended here:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation

Actual results:

The invocation "python bootstrap.py" failed because the system is a PureOS system, and PureOS is not currently supported.

$ python bootstrap.py
Traceback (most recent call last):
File "bootstrap.py", line 194, in <module>
sys.exit(main(sys.argv))
File "bootstrap.py", line 184, in main
vcs=options.vcs)
File "/tmp/tmpM6SptA/mozboot/bootstrap.py", line 278, in init

NotImplementedError: Bootstrap support for this Linux distro not yet available: PureOS

Expected results:

I expected bootstrap.py to install the dependencies. I was able to work around the issue by manually installing the dependencies by hand.

PureOS is a derivative of Debian, so it might be fairly easy to support in bootstrap.py. Here is some more information about PureOS:

https://puri.sm/posts/what-is-pureos-and-how-is-it-built/
https://pureos.net/

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Bootstrap Configuration
Product: Firefox → Firefox Build System

I ran into this as well, trying to bootstrap Firefox on a Purism Librem.

It seems that simply adding "pureos" to DEBIAN_DISTROS is sufficient.

Verified to work on Purism Librem running PureOS 10 (Byzantium).

Assignee: nobody → botond
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/292b26b20ace Add 'pureos' to DEBIAN_DISTROS. r=mhentges
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: