pkgsrc-Bugs archive

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

pkg/58722: Compiling GO packages fails



>Number:         58722
>Category:       pkg
>Synopsis:       Compiling GO packages fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 06 13:40:00 +0000 2024
>Originator:     Kimmo Suominen
>Release:        NetBSD 10.99.12
>Organization:
>Environment:
System: NetBSD revolutions.gw.fi 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Sat Oct 5 09:10:53 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

	Trying to compile GO packages fails like this:

	    ===> Building for fzf-0.55.0nb1
	    go telemetry: unknown command
	    Run 'go help' for usage.

	Setting GO_VERSION_DEFAULT=123 in an attempt to work around the
	issue failed with a different error, indicating some kind of
	internal inconsistency issue with the go123 compiler itself:

	    ===> Building for fzf-0.55.0nb1
	    go: cannot find GOROOT directory: /tmp/kim/pkgsrc/lang/go123/work/go
	    *** Error code 2

	The GO compiler appears to have references to the WRKOBJDIR used
	to compile it embedded in it.

>How-To-Repeat:
	cd /usr/pkgsrc/sysutils/fzf && make
>Fix:

>Unformatted:
 		pkgsrc HEAD as of 2024-10-06 10:47 UTC


Home | Main Index | Thread Index | Old Index