MozillaBuild should ensure that MACHTYPE, OSTYPE, HOSTTYPE, and SHELL are set

RESOLVED FIXED

Status

RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: bhearsum, Assigned: bhearsum)

Tracking

Details

Attachments

(1 attachment)

When we deployed MozillaBuild 1.4 we discovered that it no longers has MACHTYPE set as an environment variable. Rather, it is set as a shell variable. Buildbot makes a decision based on the presence and value of this variable, so if it isn't set, chaos ensues with Windows builds done through Buildbot. We've fixed it by add 'export MACHTYPE=$MACHTYPE' to /etc/profile, but it would nice to have this upstream for other consumers as well.
OS: Mac OS X → Windows Server 2003
(Assignee)

Updated

10 years ago
Summary: MozillaBuild should ensure that MACHTYPE is set → MozillaBuild should ensure that MACHTYPE, OSTYPE, HOSTTYPE, and SHELL are set
Assignee: nobody → bhearsum
Created attachment 395876 [details] [diff] [review]
[checked in] explicitly export the vars

I also renamed profile-extrapaths.sh to profile-extravars.sh to reflect what's going on that file.
Attachment #395876 - Flags: review?
Attachment #395876 - Flags: review? → review?(ted.mielczarek)
Attachment #395876 - Flags: review?(ted.mielczarek) → review+
Comment on attachment 395876 [details] [diff] [review]
[checked in] explicitly export the vars

pushed, changeset:   85:81d2e3866fb8
Attachment #395876 - Attachment description: explicitly export the vars → [checked in] explicitly export the vars
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Updated

9 years ago
Blocks: 570473
You need to log in before you can comment on or make changes to this bug.