I'm trying to build this PKGBUILD from ArchLinux but against git master sources.
Until a few years ago it was necessary to set fake $GOROOT and $GOPATH in every Go PKGBUILD. Now I've seemed to hit that issue again:
libwg.go:19:2: cannot find package "github.com/nymtech/nym-vpn-client/wireguard/libwg/container" in any of:
/usr/lib/go/src/github.com/nymtech/nym-vpn-client/wireguard/libwg/container (from $GOROOT)
./src/github.com/nymtech/nym-vpn-client/wireguard/libwg/container (from $GOPATH)
libwg_default.go:24:2: cannot find package "github.com/nymtech/nym-vpn-client/wireguard/libwg/logging" in any of:
/usr/lib/go/src/github.com/nymtech/nym-vpn-client/wireguard/libwg/logging (from $GOROOT)
./src/github.com/nymtech/nym-vpn-client/wireguard/libwg/logging (from $GOPATH)
libwg_default.go:20:2: cannot find package "golang.zx2c4.com/wireguard/conn" in any of:
/usr/lib/go/src/golang.zx2c4.com/wireguard/conn (from $GOROOT)
./src/golang.zx2c4.com/wireguard/conn (from $GOPATH)
libwg.go:20:2: cannot find package "golang.zx2c4.com/wireguard/device" in any of:
/usr/lib/go/src/golang.zx2c4.com/wireguard/device (from $GOROOT)
./src/golang.zx2c4.com/wireguard/device (from $GOPATH)
libwg_default.go:22:2: cannot find package "golang.zx2c4.com/wireguard/tun" in any of:
/usr/lib/go/src/golang.zx2c4.com/wireguard/tun (from $GOROOT)
./src/golang.zx2c4.com/wireguard/tun (from $GOPATH)
Since I'm building from scratch I can't yet have any installed package under
/usr/lib/go/src/github.com/nymtech/nym-vpn-client/wireguard/libwg/container (from $GOROOT)
I'm trying to build this PKGBUILD from ArchLinux but against git master sources.
Until a few years ago it was necessary to set fake $GOROOT and $GOPATH in every Go PKGBUILD. Now I've seemed to hit that issue again:
Since I'm building from scratch I can't yet have any installed package under /usr/lib/go/src/github.com/nymtech/nym-vpn-client/wireguard/libwg/container (from $GOROOT)