Re: [oi-dev] Error building a zrepl package for OI

2022-04-27 Thread Gary Mills
On Tue, Apr 26, 2022 at 09:06:32PM +0300, Toomas Soome via oi-dev wrote: > > Old pool *may* contribute to trigger the issue, but such crash is > program error. That was my assumption. I've submitted the entire error message to the zrepl developers. While I'm waiting for a response, I'll move

Re: [oi-dev] Error building a zrepl package for OI

2022-04-26 Thread Toomas Soome via oi-dev
> On 26. Apr 2022, at 20:52, Gary Mills wrote: > > On Fri, Apr 15, 2022 at 07:16:02PM +0100, Peter Tribble wrote: > >> The common pattern in oi-userland (see eg >> components/sysutils/chezmoi/Makefile) >> is >> COMPONENT_BUILD_ENV += GOPATH="$(SOURCE_DIR)/gopath" >>

Re: [oi-dev] Error building a zrepl package for OI

2022-04-26 Thread Gary Mills
On Fri, Apr 15, 2022 at 07:16:02PM +0100, Peter Tribble wrote: >The common pattern in oi-userland (see eg >components/sysutils/chezmoi/Makefile) >is >COMPONENT_BUILD_ENV += GOPATH="$(SOURCE_DIR)/gopath" >COMPONENT_INSTALL_ENV += GOPATH="$(SOURCE_DIR)/gopath" Thanks. That got

Re: [oi-dev] Error building a zrepl package for OI

2022-04-15 Thread Joshua M. Clulow via oi-dev
On Fri, 15 Apr 2022 at 13:23, Gary Mills wrote: > On Fri, Apr 15, 2022 at 07:16:02PM +0100, Peter Tribble wrote: > > > >The environment variable GOPATH is set to the root of the zrepl source. > >Any other value will work. If unset, then ~/go, but that's not always > >ideal. > >

Re: [oi-dev] Error building a zrepl package for OI

2022-04-15 Thread Gary Mills
On Fri, Apr 15, 2022 at 07:16:02PM +0100, Peter Tribble wrote: > >The environment variable GOPATH is set to the root of the zrepl source. >Any other value will work. If unset, then ~/go, but that's not always >ideal. Thanks. I assumed it had to exist. It's the opposite: it had to

Re: [oi-dev] Error building a zrepl package for OI

2022-04-15 Thread Peter Tribble
On Fri, Apr 15, 2022 at 6:53 PM Gary Mills wrote: > 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-dev] Error building a zrepl package for OI

2022-04-15 Thread Gary Mills
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