#1133008 mage: please make the build reproducible

Package:
src:mage
Source:
src:mage
Submitter:
Chris Lamb
Date:
2026-04-08 18:53:03 UTC
Severity:
normal
Tags:
#1133008#5
Date:
2026-04-08 18:51:22 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
mage could not be built reproducibly.

This is because the testsuite generates a mage_output_file.go file,
so that if the tests are skipped (ie. via nocheck), then the binary
package will differ.

Patch attached that removes this file after the testsuite is run.

 [0] https://reproducible-builds.org/


Regards,