Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 20:55:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 269701] Mk/Uses/go.mk: USES=go fails to build databases/dolt
Message-ID:  <bug-269701-42334-lZ93SaAOrv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269701-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269701-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269701

--- Comment #3 from Dmitri Goutnik <dmgk@freebsd.org> ---
Created attachment 240293
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240293&action=
=3Dedit
Makefile

With attached Makefile, this ports sort of "attempts" to build for me in
Poudriere (see below).

- go.mod manual fetch is needed because this module is not listed on
proxy.golang.org (go.mod needs to be in the module root, but it isn't)
- go.mk cannot handle go.mod's that have replace directives referencing loc=
al
filesystem path, so eventsapi's go.mod is also manually fetched

This gets us to the build stage, which eventually fails with

# github.com/dolthub/go-mysql-server/internal/sockstate
vendor/github.com/dolthub/go-mysql-server/internal/sockstate/sockstate.go:3=
7:16:
undefined: tcpSocks

which is likely caused by the lack of awareness of FreeBSD existence in
https://github.com/dolthub/go-mysql-server/blob/main/internal/sockstate/net=
stat_unix.go
and probably needs to be reported upstream.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269701-42334-lZ93SaAOrv>