+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/zfs-fuse.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kgxY7x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zfs-fuse-0.7.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/zfs-fuse-0.7.2.2.tar.gz + /usr/bin/tar -xof - + 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 -p0 --fuzz=0 patching file src/SConstruct + 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/config.guess /usr/lib/rpm/config.sub src/lib/libumem/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CwP76B + umask 022 + cd /builddir/build/BUILD + cd zfs-fuse-0.7.2.2 + export 'CCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + pushd src ~/build/BUILD/zfs-fuse-0.7.2.2/src ~/build/BUILD/zfs-fuse-0.7.2.2 + scons debug=2 'optim=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/mount_zfs/mount_zfs.o -c -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 -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:0, 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" #error "ISA not supported" ^~~~~ In file included from lib/libzpool/include/sys/zfs_context.h:65:0, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:217:0: warning: "howmany" redefined #define howmany(x, y) (((x)+((y)-1))/(y)) In file included from lib/libsolcompat/include/sys/param.h:30:0, 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:0: note: this is the location of the previous definition # define howmany(x, y) (((x) + ((y) - 1)) / (y)) In file included from lib/libzpool/include/sys/zfs_context.h:65:0, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:218:0: warning: "roundup" redefined #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) In file included from lib/libsolcompat/include/sys/param.h:30:0, 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:93:0: note: this is the location of the previous definition # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \ In file included from lib/libzpool/include/sys/zfs_context.h:65:0, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/sysmacros.h:364:2: error: #error One of _BIT_FIELDS_LTOH or _BIT_FIELDS_HTOL must be defined #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:0, from cmd/mount_zfs/mount_zfs.c:32: lib/libsolcompat/include/sys/uio.h:86:2: error: unknown type name 'lloff_t' lloff_t _uio_offset; /* file offset */ ^~~~~~~ lib/libsolcompat/include/sys/uio.h:90:2: error: unknown type name 'lloff_t' lloff_t _uio_limit; /* u-limit (maximum byte offset) */ ^~~~~~~ lib/libsolcompat/include/sys/uio.h:112:2: error: unknown type name 'lloff_t' lloff_t _uio_offset; /* file offset */ ^~~~~~~ lib/libsolcompat/include/sys/uio.h:116:2: error: unknown type name 'lloff_t' lloff_t _uio_limit; /* u-limit (maximum byte offset) */ ^~~~~~~ In file included from lib/libzfscommon/include/sys/dnode.h:33:0, 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] 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.CwP76B (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CwP76B (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff