D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/f2fs-tools.spec line 60: autopatch: no matching patches in range sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/f2fs-tools-1.16.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xD3n1h sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tZdO9Z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build + rm -rf f2fs-tools-1.16.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/f2fs-tools-1.16.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd f2fs-tools-1.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LSRd2J + umask 022 + cd /home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-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 f2fs-tools-1.16.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -e configure ']' + autoreconf -fi libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:67: installing 'build-aux/ar-lib' configure.ac:66: installing 'build-aux/compile' configure.ac:68: installing 'build-aux/config.guess' configure.ac:68: installing 'build-aux/config.sub' configure.ac:38: installing 'build-aux/install-sh' configure.ac:38: installing 'build-aux/missing' fsck/Makefile.am: installing 'build-aux/depcomp' + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build-aux/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build-aux/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build-aux/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build-aux/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying build-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking xargs -n works... yes checking how to create a pax tar archive... gnutar checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ldconfig... /usr/sbin/ldconfig checking for blkid_probe_all in -lblkid... yes checking for main in -llzo2... no checking for main in -llz4... no checking for getcon in -lselinux... yes checking for uuid_clear in -luuid... yes checking for clock_gettime in -lwinpthread... no checking for attr/xattr.h... no checking for blkid/blkid.h... yes checking for byteswap.h... yes checking for fcntl.h... yes checking for kernel/uapi/linux/blkzoned.h... no checking for linux/blkzoned.h... yes checking for linux/falloc.h... yes checking for linux/fiemap.h... yes checking for linux/fs.h... yes checking for linux/hdreg.h... yes checking for linux/limits.h... yes checking for linux/posix_acl.h... yes checking for linux/types.h... yes checking for linux/xattr.h... yes checking for mach/mach_time.h... no checking for mntent.h... yes checking for pthread_time.h... no checking for scsi/sg.h... yes checking for selinux/android.h... no checking for selinux/selinux.h... yes checking for sparse/sparse.h... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/acl.h... yes checking for sys/ioctl.h... yes checking for sys/mount.h... yes checking for sys/stat.h... (cached) yes checking for sys/syscall.h... yes checking for sys/sysmacros.h... yes checking for sys/utsname.h... yes checking for sys/xattr.h... yes checking for unistd.h... (cached) yes checking for uuid/uuid.h... yes checking for inline... inline checking for int32_t... yes checking for int8_t... yes checking for size_t... yes checking for library containing getmntent... none required checking for add_key... no checking for fallocate... yes checking for fsetxattr... yes checking for fstat... yes checking for fstat64... yes checking for fsync... yes checking for getgid... yes checking for getmntent... (cached) yes checking for getuid... yes checking for keyctl... no checking for llseek... no checking for lseek64... yes checking for memset... yes checking for setmntent... yes checking for clock_gettime... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether bswap_64 is declared... yes checking for CLOCK_BOOTIME... yes checking for struct blk_zone.capacity... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating lib/Makefile config.status: creating mkfs/Makefile config.status: creating fsck/Makefile config.status: creating tools/Makefile config.status: creating tools/f2fs_io/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c -o libf2fs_la-libf2fs_zoned.lo `test -f 'libf2fs_zoned.c' || echo './'`libf2fs_zoned.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c libf2fs_zoned.c -fPIC -DPIC -o .libs/libf2fs_la-libf2fs_zoned.o In file included from libf2fs_zoned.c:11: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ make[2]: *** [Makefile:477: libf2fs_la-libf2fs_zoned.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c -o libf2fs_la-libf2fs_io.lo `test -f 'libf2fs_io.c' || echo './'`libf2fs_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c libf2fs_io.c -fPIC -DPIC -o .libs/libf2fs_la-libf2fs_io.o In file included from libf2fs_io.c:42: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ make[2]: *** [Makefile:470: libf2fs_la-libf2fs_io.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c -o libf2fs_la-libf2fs.lo `test -f 'libf2fs.c' || echo './'`libf2fs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c libf2fs.c -fPIC -DPIC -o .libs/libf2fs_la-libf2fs.o In file included from libf2fs.c:12: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ make[2]: *** [Makefile:463: libf2fs_la-libf2fs.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c -o libf2fs_la-nls_utf8.lo `test -f 'nls_utf8.c' || echo './'`nls_utf8.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -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 -c nls_utf8.c -fPIC -DPIC -o .libs/libf2fs_la-nls_utf8.o In file included from nls_utf8.c:29: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ make[2]: *** [Makefile:484: libf2fs_la-nls_utf8.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/f2fs-tools-1.16.0-build/f2fs-tools-1.16.0/lib' make[1]: *** [Makefile:424: all-recursive] Error 1 make: *** [Makefile:356: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LSRd2J (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/f2fs-tools.spec line 60: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LSRd2J (%build) I: [iurt_root_command] ERROR: chroot