tech-pkg archive

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

Re: go package build problem: go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set



On Fri, 8 Dec 2023 at 16:58, Benny Siegert <bsiegert%gmail.com@localhost> wrote:
> On Fri, Dec 8, 2023 at 3:51 PM Martin Husemann <martin%duskware.de@localhost> wrote:
> > Fall back to KERN_PROC_PATHNAME ?
> > See src/tests/kernel/h_getprocpath.c for an example use.
> That's a good idea. I will send a patch upstream, hopefully for
> inclusion in Go 1.22.

I would even go as far as to suggest using that as the primary
approach (and maybe even only approach).

> I added a patch and bumped the revision; try go121-1.21.5nb1 please!

Thank you, this works for me.

Kind regards,
+ Kimmo


Home | Main Index | Thread Index | Old Index