[oi-dev] Error building a zrepl package for OI
Gary Mills
gary_mills at fastmail.fm
Fri Apr 15 17:52:37 UTC 2022
I'm attempting to build a "zrepl" package for OI. Zrepl is a "go"
application. It it even possible to package go applications for OI?
On build, I'm getting this error:
make[1]: Entering directory
'.../oi-userland-gh/components/sysutils/zrepl/build/amd64'
$GOPATH/go.mod exists but should not
...
$GOPATH/go.mod exists but should not
GO111MODULE=on go build -mod=readonly -ldflags \
"-X github.com/zrepl/zrepl/version.zreplVersion=oi-20200504-2370-gd402c2588" \
-o "artifacts/zrepl-illumos-"
$GOPATH/go.mod exists but should not
make[1]: *** [Makefile:228: zrepl-bin] Error 1
make[1]: Leaving directory
'.../oi-userland-gh/components/sysutils/zrepl/build/amd64'
What causes this error, and how can I prevent it?
--
-Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-
More information about the oi-dev
mailing list