That port's subst in MODGO_BUILD_CMD is questionable, it seems that it's
taking a wrong path in go.port.mk. If you set MODGO_MODNAME, GO111MODULE=on
would be set automatically and some other needed changes are made. So try
that first before investigating further about git.
--
Sent from a phone, apologies for poor formatting.
On 16 May 2022 04:35:52 aisha <openbsd.po...@aisha.cc> wrote:
Hi,
? Some recent changes in go are calling the git command during the build
phase, where the building is happening inside /usr/ports/pobj (which is
the default).
I am using privsep so my /usr/ports tree is owned by my user, while the
package is being built by _pbuild and then git errors out telling you
that the tree is owned by a different user.
Not sure what a good resolution is.
I came across this problem while building step-ca (which is in
openbsd-wip for now) -
https://github.com/jasperla/openbsd-wip/tree/master/security/step-ca
Best,
Aisha