D: [iurt_root_command] chroot warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/zfs-fuse-0.7.2.2-7.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R0fBbB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf zfs-fuse-0.7.2.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zfs-fuse-0.7.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zfs-fuse-0.7.2.2 + rm -rf /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (zfs-fuse-0.7.2.2-stack.patch):' 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 + echo 'Patch #1 (zfs-fuse-0.7.2.2-python3.patch):' 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 + echo 'Patch #2 (tirpc.patch):' 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 + echo 'Patch #3 (common.patch):' Patch #3 (common.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SConstruct + echo 'Patch #4 (attr.patch):' Patch #4 (attr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/zfs-fuse/zfs_operations.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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.STKpHX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd zfs-fuse-0.7.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + pushd src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2/src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2 + scons debug=2 'optim=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' scons: Reading SConscript files ... /home/pterjan/rpmbuild/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 -fcommon -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/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, from lib/libsolcompat/include/sys/ioctl.h:30, from lib/libsolcompat/include/unistd.h:33, from cmd/mount_zfs/mount_zfs.c:28: /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) \ | ^~~~~~~ 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); | ^~~~~ gcc -o cmd/mount_zfs/ptrace.o -c -fcommon -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/ptrace.c In file included from lib/libsolcompat/include/sys/types.h:89, from /usr/include/stdlib.h:514, from cmd/mount_zfs/ptrace.c:47: lib/libsolcompat/include/sys/time.h: In function 'gethrtime': lib/libsolcompat/include/sys/time.h:62:17: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 62 | abort(); | ^~~~~ lib/libsolcompat/include/sys/time.h:37:1: note: include '' or provide a declaration of 'abort' 36 | #include +++ |+#include 37 | scons: *** [cmd/mount_zfs/ptrace.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.STKpHX (%build) RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.STKpHX (%build) I: [iurt_root_command] ERROR: chroot