cmd/go: repeatable builds with _cgo_gotypes.go #47256
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
We're trying to reproduce all packages over at reproducible.archlinux.org and noticed multiple packages fail due to _cgo_gotypes.go path differences.
What did you expect to see?
Packages are reproducible/the build is repeatable.
What did you see instead?
There are full paths included in the binary, this is usually not a problem in Arch Linux but for _cgo_gotypes.go files this path contains a random temporary directory name.
go-ipfs (built with 1.16.5): https://reproducible.archlinux.org/api/v0/builds/137190/diffoscope
wallutils (built with 1.16): https://reproducible.archlinux.org/api/v0/builds/120436/diffoscope
The differences look like this:
This issue might be similar to #19964.
The text was updated successfully, but these errors were encountered: