Closed Bug 1617147 Opened 5 years ago Closed 5 years ago

Windows builds fail without makensis available

Categories

(Firefox Build System :: General, defect, P3)

defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

They fail because a bunch of places do some ifdef MAKENSISU, but MAKENSISU is actually set to : when makensis is not found (idiosyncrasy from check_prog())

Also, there's a missing ifdef HAVE_MAKENSISU for maintenanceservice_installer.exe in browser/installer/package-manifest.in

Summary: Windows builds fail without maksnsis available → Windows builds fail without makensis available

This was cargo culted from the autoconf equivalent, and while it makes a
command that does "$(PROG) foo" work because it becomes ": foo", that
may or may not actually be a desirable outcome.

OTOH, we do have some places where there are some "ifdef PROG" that are
just plain wrong when PROG is always actually set.

One place I do know that does check if the value is not ":" is for
OBJCOPY, which is still set from autoconf.

All in all, looking at all the check_prog(allow_missing=True) we have in
python configure, it doesn't seem anything is checking for ":", and that
doesn't seem like the right status quo.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/b5069c471cc9 Stop setting check_prog result to : for missing programs. r=nalexander,rstewart
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: