from lib/libsolcompat/include/sys/ioctl.h:30, BUILDSTDERR: from lib/libsolcompat/include/unistd.h:33, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:28: BUILDSTDERR: /usr/include/sys/param.h:90: note: this is the location of the previous definition BUILDSTDERR: # define howmany(x, y) (((x) + ((y) - 1)) / (y)) BUILDSTDERR: BUILDSTDERR: In file included from lib/libzpool/include/sys/zfs_context.h:65, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:32: BUILDSTDERR: lib/libsolcompat/include/sys/sysmacros.h:218: warning: "roundup" redefined BUILDSTDERR: #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) BUILDSTDERR: BUILDSTDERR: In file included from lib/libsolcompat/include/sys/param.h:30, BUILDSTDERR: from lib/libsolcompat/include/sys/types.h:34, BUILDSTDERR: from lib/libsolcompat/include/sys/ioctl.h:30, BUILDSTDERR: from lib/libsolcompat/include/unistd.h:33, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:28: BUILDSTDERR: /usr/include/sys/param.h:93: note: this is the location of the previous definition BUILDSTDERR: # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ BUILDSTDERR: BUILDSTDERR: In file included from lib/libzpool/include/sys/zfs_context.h:65, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:32: BUILDSTDERR: lib/libsolcompat/include/sys/sysmacros.h:364:2: error: #error One of _BIT_FIELDS_LTOH or _BIT_FIELDS_HTOL must be defined BUILDSTDERR: #error One of _BIT_FIELDS_LTOH or _BIT_FIELDS_HTOL must be defined BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/libzpool/include/sys/zfs_context.h:70, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:32: BUILDSTDERR: lib/libsolcompat/include/sys/uio.h:86:2: error: unknown type name 'lloff_t' BUILDSTDERR: lloff_t _uio_offset; /* file offset */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lib/libsolcompat/include/sys/uio.h:90:2: error: unknown type name 'lloff_t' BUILDSTDERR: lloff_t _uio_limit; /* u-limit (maximum byte offset) */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lib/libsolcompat/include/sys/uio.h:112:2: error: unknown type name 'lloff_t' BUILDSTDERR: lloff_t _uio_offset; /* file offset */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lib/libsolcompat/include/sys/uio.h:116:2: error: unknown type name 'lloff_t' BUILDSTDERR: lloff_t _uio_limit; /* u-limit (maximum byte offset) */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from lib/libzfscommon/include/sys/dnode.h:33, BUILDSTDERR: from lib/libzfscommon/include/sys/dsl_pool.h:33, BUILDSTDERR: from lib/libzfscommon/include/sys/dsl_deleg.h:30, BUILDSTDERR: from lib/libzfscommon/include/sys/zfs_ioctl.h:32, BUILDSTDERR: from lib/libzfs/include/libzfs_impl.h:32, BUILDSTDERR: from cmd/mount_zfs/mount_zfs.c:34: BUILDSTDERR: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int64_t refcount_add(refcount_t *rc, const const void *holder_tag); BUILDSTDERR: ^~~~~ BUILDSTDERR: scons: *** [cmd/mount_zfs/mount_zfs.o] Error 1 scons: building terminated because of errors. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9HXgrA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9HXgrA (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zfs-fuse.spec