Quick update on this, zhsj on IRC pointed out upstream changed their import path, so that fixed most of the import problems. We're left with:
github.com/v2fly/BrowserBridge/handler github.com/v2fly/ss-bloomring inet.af/netaddr make[1]: Entering directory '/<<PKGBUILDDIR>>' DH_GOPKG="github.com/v2fly/v2ray-core/main" dh_auto_build -- -ldflags "-s -w -buildid= -X v2ray.com/core.codename=user -X v2ray.com/core.build=20220505-203716 -X v2ray.com/core.version=4.45.0" cd obj-x86_64-linux-gnu && go install -trimpath -v -p 2 -ldflags "-s -w -buildid= -X v2ray.com/core.codename=user -X v2ray.com/core.build=20220505-203716 -X v2ray.com/core.version=4.45.0" github.com/v2fly/v2ray-core/main github.com/v2fly/v2ray-core/main/confloader github.com/v2fly/v2ray-core/main/confloader/external github.com/v2fly/v2ray-core/main/distro/all github.com/v2fly/v2ray-core/main/distro/debug github.com/v2fly/v2ray-core/main/json github.com/v2fly/v2ray-core/main/jsonem src/github.com/v2fly/v2ray-core/app/browserforwarder/forwarder.go:14:2: cannot find package "github.com/v2fly/BrowserBridge/handler" in any of: /usr/lib/go-1.18/src/github.com/v2fly/BrowserBridge/handler (from $GOROOT) /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/v2fly/BrowserBridge/handler (from $GOPATH) src/github.com/v2fly/v2ray-core/common/antireplay/bloomring.go:6:2: cannot find package "github.com/v2fly/ss-bloomring" in any of: /usr/lib/go-1.18/src/github.com/v2fly/ss-bloomring (from $GOROOT) /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/v2fly/ss-bloomring (from $GOPATH) src/github.com/v2fly/v2ray-core/app/router/condition_geoip.go:7:2: cannot find package "inet.af/netaddr" in any of: /usr/lib/go-1.18/src/inet.af/netaddr (from $GOROOT) /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/inet.af/netaddr (from $GOPATH) make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 2 -ldflags "-s -w -buildid= -X v2ray.com/core.codename=user -X v2ray.com/core.build=20220505-203716 -X v2ray.com/core.version=4.45.0" github.com/v2fly/v2ray-core/main github.com/v2fly/v2ray-core/main/confloader github.com/v2fly/v2ray-core/main/confloader/external github.com/v2fly/v2ray-core/main/distro/all github.com/v2fly/v2ray-core/main/distro/debug github.com/v2fly/v2ray-core/main/json github.com/v2fly/v2ray-core/main/jsonem returned exit code 1 ... I guess those would need to be packaged as well. Or vendored? Opinions on that? -- Non qui parum habet, sed qui plus cupit, pauper est. It is not the man who has too little, but the man who craves more, that is poor. - Lucius Annaeus Seneca (65 AD)