D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/zfs-fuse-0.7.2.2-8.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jL17sv
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ test -d /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nxYIjZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-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
+ /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
+ echo 'Patch #5 (zfs-fuse-c99.patch):'
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
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XZcuAS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ pushd src
~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-build/zfs-fuse-0.7.2.2/src ~/rpmbuild/BUILD/zfs-fuse-0.7.2.2-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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" -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
cc1: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'
scons: *** [cmd/mount_zfs/mount_zfs.o] Error 1
scons: building terminated because of errors.
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XZcuAS (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XZcuAS (%build)
I: [iurt_root_command] ERROR: chroot