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: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: bsiegert%netbsd.org@localhost
Subject: Re: pkg/58830 (WRKDIR references in go123)
Date: Tue, 19 Nov 2024 04:12:50 +0000

 On Mon, Nov 18, 2024 at 01:35:01PM +0000, Benny Siegert via gnats wrote:
  >  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.
 
 That sounds great, but I don't immediately understand how that's
 related to WRKDIR references.
 
 There's a patch that says
    Build with debugging symbols and paths built in. Otherwise, the go tool
    needs /proc mounted to find its goroot directory.
 but go122 has the same patch and doesn't end up with WRKDIR references.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index