pkgsrc-Bugs archive

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

pkg/58764: Go 1.23 uses build-time GOROOT



>Number:         58764
>Category:       pkg
>Synopsis:       Go 1.23 uses build-time GOROOT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 20 15:05:00 +0000 2024
>Originator:     Kimmo Suominen
>Release:        NetBSD 10.0_STABLE / pkgsrc HEAD 2024-10-20
>Organization:
>Environment:
System: NetBSD equinoxe.x.gw.fi 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #0: Fri Oct 4 11:41:28 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

	The Go compilers appears to have embedded the build-time GOROOT
	directory in it.  It does not exist at run time.

>How-To-Repeat:

	Building Go-based packages fails:

	===> Building for gh-2.58.0
	go: cannot find GOROOT directory: /tmp/kim/pkgsrc/lang/go123/work/go

	Trying to obtain the Go compiler version fails:

	> /usr/pkg/bin/go123 version
	go: cannot find GOROOT directory: /tmp/kim/pkgsrc/lang/go123/work/go

>Fix:



Home | Main Index | Thread Index | Old Index