Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zfs-fuse.spec'], chrootPath='/var/lib/mock/f40-build-797781-141515/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zfs-fuse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/zfs-fuse-0.7.2.2-30.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zfs-fuse.spec'], chrootPath='/var/lib/mock/f40-build-797781-141515/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zfs-fuse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ragr2N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zfs-fuse-0.7.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zfs-fuse-0.7.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zfs-fuse-0.7.2.2 + rm -rf /builddir/build/BUILD/zfs-fuse-0.7.2.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/zfs-fuse-0.7.2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (zfs-fuse-0.7.2.2-stack.patch): + echo 'Patch #0 (zfs-fuse-0.7.2.2-stack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SConstruct Patch #1 (zfs-fuse-0.7.2.2-python3.patch): + echo 'Patch #1 (zfs-fuse-0.7.2.2-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SConstruct Patch #2 (tirpc.patch): + echo 'Patch #2 (tirpc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SConstruct patching file src/cmd/zfs/zfs_main.c patching file src/lib/libnvpair/nvpair.c patching file src/lib/libsolcompat/getmntany.c patching file src/lib/libsolkerncompat/vfs.c patching file src/lib/libsolkerncompat/vnode.c patching file src/SConstruct patching file src/zfs-fuse/zfs_operations.c Patch #3 (common.patch): + echo 'Patch #3 (common.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SConstruct Patch #4 (gcc.patch): + echo 'Patch #4 (gcc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cmd/mount_zfs/mount_zfs.c patching file src/cmd/zfs/zfs_main.c patching file src/cmd/zfs/zfs_util.h patching file src/cmd/zpool/zpool_main.c patching file src/cmd/zpool/zpool_util.h patching file src/lib/libsolcompat/include/sys/utsname.h patching file src/lib/libsolkerncompat/main.c patching file src/lib/libzfs/libzfs_zfsfuse.c patching file src/SConstruct patching file src/zfs-fuse/zfs_vnops.c Patch #5 (zfs-fuse-c99.patch): + echo 'Patch #5 (zfs-fuse-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/lib/libsolcompat/include/sys/time.h patching file src/lib/libumem/configure patching file src/lib/libumem/malloc.c patching file src/lib/libumem/umem_fail.c patching file src/lib/libumem/umem_impl.h patching file src/lib/libumem/umem_test.c patching file src/lib/libumem/umem_test2.c + f=LICENSE + mv LICENSE LICENSE.iso88591 + iconv -o LICENSE -f iso88591 -t utf8 LICENSE.iso88591 + rm -f LICENSE.iso88591 + chmod -x contrib/test-datasets + chmod -x contrib/find-binaries + chmod -x contrib/solaris/fixfiles.py + chmod -x contrib/zfsstress.py + cp -f /usr/lib/rpm/redhat/config.guess /usr/lib/rpm/redhat/config.sub src/lib/libumem/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aAbLLg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS ~/build/BUILD/zfs-fuse-0.7.2.2/src ~/build/BUILD/zfs-fuse-0.7.2.2 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zfs-fuse-0.7.2.2 + export 'CCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + CCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe '\''-Wall'\'' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + pushd src + scons debug=2 'optim=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' scons: Reading SConscript files ... /builddir/build/BUILD/zfs-fuse-0.7.2.2/src/SConstruct:76: SyntaxWarning: invalid escape sequence '\d' if re.compile('i\d86').match(arch): scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/mount_zfs/mount_zfs.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe '-Wall' -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -Wall -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include cmd/mount_zfs/mount_zfs.c In file included from lib/libsolcompat/include/sys/types.h:30, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from cmd/mount_zfs/mount_zfs.c:28: lib/libsolcompat/include/sys/isa_defs.h:575:2: error: #error "ISA not supported" 575 | #error "ISA not supported" | ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:65, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:9: warning: "howmany" redefined 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | ^~~~~~~ In file included from lib/libsolcompat/include/sys/param.h:30, from lib/libsolcompat/include/sys/types.h:34: /usr/include/sys/param.h:90:10: note: this is the location of the previous definition 90 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:218:9: warning: "roundup" redefined 218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ^~~~~~~ /usr/include/sys/param.h:93:10: note: this is the location of the previous definition 93 | # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ | ^~~~~~~ lib/libsolcompat/include/sys/sysmacros.h:364:2: error: #error One of _BIT_FIELDS_LTOH or _BIT_FIELDS_HTOL must be defined 364 | #error One of _BIT_FIELDS_LTOH or _BIT_FIELDS_HTOL must be defined | ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:70: lib/libsolcompat/include/sys/uio.h:86:9: error: unknown type name 'lloff_t'; did you mean 'loff_t'? 86 | lloff_t _uio_offset; /* file offset */ | ^~~~~~~ | loff_t lib/libsolcompat/include/sys/uio.h:90:9: error: unknown type name 'lloff_t'; did you mean 'loff_t'? 90 | lloff_t _uio_limit; /* u-limit (maximum byte offset) */ | ^~~~~~~ | loff_t lib/libsolcompat/include/sys/uio.h:112:9: error: unknown type name 'lloff_t'; did you mean 'loff_t'? 112 | lloff_t _uio_offset; /* file offset */ | ^~~~~~~ | loff_t lib/libsolcompat/include/sys/uio.h:116:9: error: unknown type name 'lloff_t'; did you mean 'loff_t'? 116 | lloff_t _uio_limit; /* u-limit (maximum byte offset) */ | ^~~~~~~ | loff_t In file included from lib/libzfscommon/include/sys/dnode.h:33, from lib/libzfscommon/include/sys/dsl_pool.h:33, from lib/libzfscommon/include/sys/dsl_deleg.h:30, from lib/libzfscommon/include/sys/zfs_ioctl.h:32, from lib/libzfs/include/libzfs_impl.h:32, from cmd/mount_zfs/mount_zfs.c:34: lib/libzfscommon/include/sys/refcount.h:67:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 67 | int64_t refcount_add(refcount_t *rc, const const void *holder_tag); | ^~~~~ scons: *** [cmd/mount_zfs/mount_zfs.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.aAbLLg (%build) Bad exit status from /var/tmp/rpm-tmp.aAbLLg (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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