From 6e5cb0cfc13e73e54bab648344ab20665ca254b4 Mon Sep 17 00:00:00 2001
From: Sertonix <sertonix@posteo.net>
Date: Fri, 11 Oct 2024 23:30:01 +0200
Subject: [PATCH] abuild: fix go not creating GOTMPDIR on it's own

Fixes #10156
---
 abuild.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/abuild.in b/abuild.in
index 9177ab71..6ac7176a 100644
--- a/abuild.in
+++ b/abuild.in
@@ -703,6 +703,8 @@ runpart() {
 					export GOCACHE="${GOCACHE:-"$tmpdir/go"}"
 					export GOMODCACHE="${GOCACHE:-"$tmpdir/gomod"}"
 					export GOTMPDIR="${GOTMPDIR:-"$tmpdir"}"
+					# https://github.com/golang/go/issues/32320
+					mkdir -p "$GOTMPDIR"
 					export CARGO_HOME="${CARGO_HOME:-"$tmpdir/cargo"}"
 				fi
 
-- 
GitLab