Golang uses $TMPDIR for it's build artifacts by default now. This could lead into issues when /tmp is RAM-backed or no-exec.
So it's better to use ${WRKDIR} as working directory, the same way most of other software does.
Differential D37567
Golang ports: use ${WRKDIR} for build artifacts lytboris_gmail.com on Nov 30 2022, 1:56 PM. Authored by Tags Referenced Files
Subscribers None
Details
Golang uses $TMPDIR for it's build artifacts by default now. This could lead into issues when /tmp is RAM-backed or no-exec. So it's better to use ${WRKDIR} as working directory, the same way most of other software does. Configure tmpfs-based /tmp with 512M quota and try to build net-mgmt/telegraf with or without patch proposed
Diff Detail
|