Closed Bug 1527016 Opened 5 years ago Closed 5 years ago

Don't install nasm on Linux if if is already installed locally

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: KaiE, Assigned: KaiE)

Details

Attachments

(1 file, 1 obsolete file)

I'm using a debian 9 for development.

The nasm available as a distribution package is too old and doesn't work with the mozilla build.

To fix that, I've locally installed nasm, and it's in the search path.

Nevertheless, whenever I run "mach bootstrap" for other reasons, it wants to install the system package again. If both system nasm and local nasm are available, then the mozilla build prefers to use the system one, and fails.

Would it be possible to change mach bootstrap to:

  • check if nasm is available in the search path (which nasm) and if the version is sufficiently new, and if yes, don't install the system package?
Attached patch 1527016-v1.patch (obsolete) — Splinter Review

This helps me.

Assignee: nobody → kaie
Attachment #9043280 - Flags: review?(ted)
Attached file Bug 1527016
Attachment #9043280 - Attachment is obsolete: true
Attachment #9043280 - Flags: review?(ted)
Pushed by kaie@kuix.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb152321cbbf
Don't install nasm on Linux if it is already installed locally, r=ted
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: