Closed Bug 1538043 Opened 6 years ago Closed 2 years ago

Remove $PATH-altering hacks from python configure

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

Bug 1515579 removed some necessity for them, but kept a hack mentioning bug 1516228 and bug 1516253, but the former was fixed since then, and the latter is presumably fixed by bug 1524396.

However, we need to ensure that the change from bug 1537669 keeps working (cf. https://phabricator.services.mozilla.com/D24326#716073) and other things that might indirectly rely on $PATH containing the toolchain search path.

Bug 1537643 is another blocker.

Depends on: 1537643

And even though we do pass the full path for cl.exe to midl.exe, it still needs PATH alteration for mspdbcore.dll, so that makes bug 1537641 another blocker.

Depends on: 1537641
Depends on: 1537644

With the patches from bug 1537643 and bug 1537644, I was able to get successful win32 and win64 builds with the $PATH-altering hacks removed... but not for win64-aarch64, because armasm64.exe has a dependency on the x64 msvcdis140.dll.

Severity: normal → S3
Duplicate of this bug: 1802573
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/f70225b67b76 Remove Visual C++ toolchain search path from $PATH. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Status: RESOLVED → REOPENED
Flags: needinfo?(mh+mozilla)
Resolution: FIXED → ---
Target Milestone: 114 Branch → ---
Depends on: 1829262
No longer regressions: 1829262
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/d92f2fcd1bac Remove Visual C++ toolchain search path from $PATH. r=firefox-build-system-reviewers,andi
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: