Closed Licenser closed 7 years ago
What is the exact FreeBSD version you're using? Please paste output of the following commands: uname -a
and uname -K
Hi!
root@rpi3:/usr/src # uname -a
FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r313109M: Thu Feb 2 16:16:39 MST 2017 raspberry@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarch64/usr/src/sys/GENERIC arm64
root@rpi3:/usr/src # uname -K
1200020
is the exact one, I tried just adding a (and False
) to the related IF statement but the 2nd branch doesn't seem to work either.
Can you update to the very latest CURRENT tree and see what happens? The error you're getting is due to API incompatibility - for CURRENT builds we support only latest ZFS API/ABI.
As in compiling a new kernel? Honestly no, even fetching the /usr/src takes about 12 hours on that slow bugger I'll rather live with a hand patched version for the time being :)
Can't you cross-compile? :) Potentially, if you switch all the IF (FREEBSD_VERSION ...
statements (there are 3 IIRC) to use the other branch, it should work.
Alternatively, you can patch setup.py to set FREEBSD_VERSION to 1003508
disclaimer: I've no idea what I'm doing ;)
OK, so please do export UNAME_K=1003508
in shell before running setup.py. That should help and let you compile unmodified sources.
oh awesome that does the trick :D I have no idea why but cool! Much appriciated ^.^
Cool! When you upgrade your -CURRENT system you will be able to build py-libzfs without that hack.
Bit off a odd system but I'm trying to compile libzfs on a ARM64 (RPI3) and it fails with: