pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58764 (Go 1.23 uses build-time GOROOT)



The following reply was made to PR pkg/58764; it has been noted by GNATS.

From: Kimmo Suominen <kim%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58764 (Go 1.23 uses build-time GOROOT)
Date: Wed, 23 Oct 2024 01:33:22 +0300

 Hi all,
 
 I tried building once again after updating pkgsrc HEAD.  Additionally,
 I uninstalled (pkg_delete) all versions of go from the sandbox before
 rebuilding (pkg_chk -aks).
 
 This did not help: still getting the error.
 
 go: cannot find GOROOT directory: /tmp/kim/pkgsrc/lang/go123/work/go
 
 I think it is also noteworthy that somehow checking for work directory
 references in the go123 package did not catch this.
 
 The following message from Thomas Klausner provides a hacky workaround
 from a previous time there was an issue with GOROOT.
 
 https://mail-index.netbsd.org/tech-pkg/2023/11/19/msg028487.html
 
 Later in the thread Benny Siegert states that he added a patch, but
 unfortunately he does not link to the commit email.
 
 https://mail-index.netbsd.org/tech-pkg/2023/12/08/msg028584.html
 
 So I don't know what the fix was at the time, but it appeared to help,
 or at least Go packages could be built again when I tried sometime
 later.  (In other words, I don't know if additional changes were also
 committed.)
 
 Kind regards,
 + Kimmo
 


Home | Main Index | Thread Index | Old Index