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

Gary Mills gary_mills at fastmail.fm
Tue Apr 26 17:52:40 UTC 2022


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 me much further in building a package.  However,
in my first test, the daemon terminated with a segmentation fault.
I'm building zrepl-0.5.0, which I assume is the current version.
Here's part of the error message:

    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xaea33e]

This was followed by a traceback, but I didn't see anything that
revealed the origin of the error.

Could an old zpool be part of the problem?  This is part of the
output:

    $ zpool status dpool
      pool: dpool
     state: ONLINE
    status: The pool is formatted using a legacy on-disk format.  The pool can
    	still be used, but some features are unavailable.
    action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
    	pool will no longer be accessible on software that does not support feature
    	flags.


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the oi-dev mailing list