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

RESOLVED FIXED

Status

task
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: bhearsum, Assigned: bhearsum)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
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)

Updated

10 years ago
Assignee: nobody → bhearsum
(Assignee)

Comment 1

10 years ago
I also renamed profile-extrapaths.sh to profile-extravars.sh to reflect what's going on that file.
Attachment #395876 - Flags: review?
(Assignee)

Updated

10 years ago
Attachment #395876 - Flags: review? → review?(ted.mielczarek)
Attachment #395876 - Flags: review?(ted.mielczarek) → review+
(Assignee)

Comment 2

10 years ago
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
(Assignee)

Updated

10 years ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.