pkgsrc-Bugs archive

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

Re: pkg/58830 (WRKDIR references in go123)



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

From: Benny Siegert <bsiegert%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58830 (WRKDIR references in go123)
Date: Mon, 18 Nov 2024 14:34:18 +0100

 Yes, this is a known issue. The go tool needs to know its executable
 path so it can find the standard library files. It calls
 os.Executable(), which uses /proc on NetBSD.
 
 I sent a change upstream
 (https://go-review.googlesource.com/c/go/+/629035) to make it use
 sysctl instead, like on FreeBSD and Dragonfly. We are shortly before
 the Go 1.24 freeze, I hope it can still go in.
 
 -- 
 Benny
 


Home | Main Index | Thread Index | Old Index