Open Bug 1341674 Opened 7 years ago Updated 2 years ago

Set TZ, LC_ALL and umask to improve build reproducibility

Categories

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

defect

Tracking

(firefox54 affected)

Tracking Status
firefox54 --- affected

People

(Reporter: catlee, Unassigned)

References

(Blocks 1 open bug)

Details

We should be explicit with certain environment variables that can impact build output. Tor explicitly sets TZ=UTC, LC_ALL=C and umask 0022 [1]. I think we should do the same.

I'm filing this in Build Config initially since this could conceivably be part of mach. Alternatively, these settings could be done inside each build task in taskcluster, or specified by the Docker image, or even by the worker.

[1] https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/descriptors/linux/gitian-firefox.yml#n46
Component: Build Config → General
Priority: -- → P5
Product: Firefox → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.