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-

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to