Closed Bug 1127565 Opened 11 years ago Closed 5 years ago

bootstrap.py not implemented for openSUSE

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: waleed.lutfi90, Assigned: smurfd)

Details

Attachments

(2 files, 5 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 2015010900 Steps to reproduce: wget -O bootstrap.py https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py /etc/os-release: NAME=openSUSE VERSION="20150127 (Tumbleweed)" VERSION_ID="20150127" PRETTY_NAME="openSUSE 20150127 (Tumbleweed) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150127" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" Actual results: It downloads bootstrap.py script but fails to run it, giving the following output: Traceback (most recent call last): File "bootstrap.py", line 154, in <module> sys.exit(main(sys.argv)) File "bootstrap.py", line 144, in main dasboot = cls() File "/tmp/tmpPdJHZT/mozboot/bootstrap.py", line 75, in __init__ return files NotImplementedError: Bootstrap support for this Linux distro not yet available.
Did you get any solution for this? I am getting the same problem now.
Flags: needinfo?(waleed.lutfi90)
Support for bootstrapping new Linux distros typically comes from someone passionate enough to implement it. The code can be found in the https://hg.mozilla.org/mozilla-central/ Mercurial repository under the python/mozboot directory. Start in python/mozboot/mozboot/bootstrap.py
Flags: needinfo?(waleed.lutfi90)
I have a proposed patch in https://reviewboard.mozilla.org/r/24383/
(In reply to Michel Normand from comment #3) > I have a proposed patch in https://reviewboard.mozilla.org/r/24383/ Gregory, I am not familiar with mozilla process. How can I make the proposed patch to be accepted in source tree ?
(In reply to Michel Normand from comment #4) > How can I make the proposed patch to be accepted in source tree ? Michel, I think the the patch and review process you are looking for is here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Attached patch Bug1127565_181006_2251.patch (obsolete) — Splinter Review
Hey, could this maby be a good starting point? I have only tested to run a "Firefox for Desktop" option on a freshly installed openSUSE Leap 15.0(ie latest stable release) with the basic GNOME desktop. If i remember correctly, i think i removed some parts of the script because i wasnt sure what it did... Is there some tests available to test this or? Saw you comment on this earlier Gregory, if someone else is better suited, please needinfo them :)
Flags: needinfo?(gps)
Attached patch Bug1127565_181103_2101.patch (obsolete) — Splinter Review
Updated with some package changes
Attachment #9015079 - Attachment is obsolete: true
Flags: needinfo?(gps)
Attachment #9022393 - Flags: review?(gps)
Comment on attachment 9022393 [details] [diff] [review] Bug1127565_181103_2101.patch Review of attachment 9022393 [details] [diff] [review]: ----------------------------------------------------------------- This looks reasonable. I'll land this shortly. Thank you for contributing openSUSE bootstrap support!
Attachment #9022393 - Flags: review?(gps) → review+
Attached patch Bug1127565_181130_2350.patch (obsolete) — Splinter Review
Aw geez, should learn to run lint before submitting a patch. Fixed the issues and assigned the bug to me if thats allright?
Assignee: nobody → smurfd
Attachment #9022393 - Attachment is obsolete: true
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(gps)
Attached patch Bug1127565_190821_2121.patch (obsolete) — Splinter Review

updated patch to now support checking for the clang statistics analasys package.

The reason i had you gps as need info btw is if you could possibly help me to review/land this.

Attachment #9029066 - Attachment is obsolete: true
Attached patch osuse-bootstrap.patch (obsolete) — Splinter Review

fixed so that mercurial is fetched via pip instead of from zypper since now a higher version of mercurial is needed than is in openSUSE Leap 15.1

Attachment #9087860 - Attachment is obsolete: true

@gps i will clear your info here, and need info you in Phabricator instead. Hope that is allright.
New patch includes usage of Python3 instead 2. also fixing to pip install a new version of Mercurial

Flags: needinfo?(gps)
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00438d37c2f7 bootstrap.py not implemented for openSUSE r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: