D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocfs2-tools-1.6.4-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eBOqSO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ocfs2-tools-1.6.4 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/ocfs2-tools-1.6.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocfs2-tools-1.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ocfs2-tools-1.6.4-fix-format-errors.patch):' Patch #1 (ocfs2-tools-1.6.4-fix-format-errors.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file debugfs.ocfs2/commands.c patching file debugfs.ocfs2/find_block_inode.c patching file extras/check_metaecc.c patching file fsck.ocfs2/problem.c patching file fswreck/chain.c patching file fswreck/group.c patching file mount.ocfs2/mount.ocfs2.c patching file tunefs.ocfs2/op_query.c + echo 'Patch #2 (ocfs2-tools-1.4.4-fix-linking.patch):' Patch #2 (ocfs2-tools-1.4.4-fix-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ocfs2console/ocfs2interface/Makefile patching file fsck.ocfs2/Makefile Hunk #1 succeeded at 70 (offset 12 lines). patching file o2cb_ctl/Makefile patching file ocfs2_hb_ctl/Makefile + echo 'Patch #4 (ocfs2-tools-1.6.4-umode_t.patch):' Patch #4 (ocfs2-tools-1.6.4-umode_t.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/ocfs2-kernel/ocfs2_fs.h + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RG3eTA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ocfs2-tools-1.6.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 + /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 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for debugging... skipped, CFLAGS is set checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for vendor... not found checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pkg-config... /usr/bin/pkg-config checking for com_err... yes checking COM_ERR_CFLAGS... -I/usr/include/et checking COM_ERR_LIBS... -lcom_err checking for uuid_unparse in -luuid... yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for tgetstr in -lncurses... yes checking for readline in -lreadline... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for debug executables... no checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.2.3... yes (version 2.56.1) checking whether glib and com_err can be linked statically... no checking whether to build fsck dynamically... yes checking whether to build cluster control tools dynamically... yes checking for readline in -lreadline... (cached) yes checking for readline/readline.h... (cached) yes checking for crm_get_peer in -lcrmcluster... yes checking pacemaker/crm_config.h usability... yes checking pacemaker/crm_config.h presence... yes checking for pacemaker/crm_config.h... yes checking for cman_replyto_shutdown in -lcman... no configure: WARNING: libcman not found, cman support will not be built checking corosync/cpg.h usability... yes checking corosync/cpg.h presence... yes checking for corosync/cpg.h... yes checking for cpg_initialize in -lcpg... no configure: WARNING: libcpg not found, ocfs2_controld will not be built checking for openais/saCkpt.h... no configure: WARNING: openais/saCkpt.h not found, ocfs2_controld will not be built no configure: WARNING: libSaCkpt not found, ocfs2_controld will not be built checking for dlmc_fs_connect in -ldlmcontrol... yes checking for libdlmcontrol.h... yes checking libdlm.h usability... yes checking libdlm.h presence... yes checking for libdlm.h... yes checking for dlm_create_lockspace in -ldlm_lt... yes checking for a Python interpreter with version >= 2.3... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for headers required to compile python extensions... found checking for blkid >= 1.36... yes checking BLKID_CFLAGS... -I/usr/include/blkid -I/usr/include/uuid checking BLKID_LIBS... -lblkid configure: creating ./config.status config.status: creating Config.make config.status: creating o2cb.pc config.status: creating o2dlm.pc config.status: creating ocfs2.pc config.status: creating ocfs2console/ocfs2interface/confdefs.py config.status: creating debugfs.ocfs2/debugfs.ocfs2.8 config.status: creating mkfs.ocfs2/mkfs.ocfs2.8 config.status: creating mounted.ocfs2/mounted.ocfs2.8 config.status: creating fsck.ocfs2/fsck.ocfs2.8 config.status: creating fsck.ocfs2/fsck.ocfs2.checks.8 config.status: creating mount.ocfs2/mount.ocfs2.8 config.status: creating o2cb_ctl/o2cb_ctl.8 config.status: creating ocfs2_hb_ctl/ocfs2_hb_ctl.8 config.status: creating ocfs2console/ocfs2console.8 config.status: creating tunefs.ocfs2/tunefs.ocfs2.8 config.status: creating o2image/o2image.8 config.status: creating o2info/o2info.1 config.status: creating libo2cb/o2cb.7 config.status: creating vendor/common/ocfs2-tools.spec-generic + perl -pi -e 's|^pyexecdir.*|pyexecdir = /usr/lib/python2.7/site-packages|g' Config.make + make make -C include make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include' make -C tools-internal make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/tools-internal' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/tools-internal' make -C ocfs2-kernel make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/ocfs2-kernel' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/ocfs2-kernel' make -C o2dlm make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/o2dlm' make -C ../../libo2dlm o2dlm_err.h make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2dlm' compile_et o2dlm_err.et make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2dlm' cp ../../libo2dlm/o2dlm_err.h o2dlm_err.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/o2dlm' make -C o2cb make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/o2cb' make -C ../../libo2cb o2cb_err.h make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2cb' compile_et o2cb_err.et make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2cb' cp ../../libo2cb/o2cb_err.h o2cb_err.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/o2cb' make -C ocfs2 make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/ocfs2' make -C ../../libocfs2 ocfs2_err.h make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libocfs2' compile_et ocfs2_err.et make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libocfs2' cp ../../libocfs2/ocfs2_err.h ocfs2_err.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include/ocfs2' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/include' make -C libtools-internal make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libtools-internal' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.6.4\" -MD -MP -MF ./.verbose.d -o verbose.o -c verbose.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.6.4\" -MD -MP -MF ./.progress.d -o progress.o -c progress.c rm -f libtools-internal.a /usr/bin/ar r libtools-internal.a verbose.o progress.o /usr/bin/ar: creating libtools-internal.a ranlib libtools-internal.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libtools-internal' make -C libo2dlm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2dlm' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DHAVE_FSDLM -MD -MP -MF ./.o2dlm.d -o o2dlm.o -c o2dlm.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DHAVE_FSDLM -MD -MP -MF ./.capabilities.d -o capabilities.o -c capabilities.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DHAVE_FSDLM -MD -MP -MF ./.o2dlm_err.d -o o2dlm_err.o -c o2dlm_err.c rm -f libo2dlm.a /usr/bin/ar r libo2dlm.a o2dlm.o capabilities.o o2dlm_err.o /usr/bin/ar: creating libo2dlm.a ranlib libo2dlm.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2dlm' make -C libo2cb make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2cb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -I. -MD -MP -MF ./.o2cb_abi.d -o o2cb_abi.o -c o2cb_abi.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -I. -MD -MP -MF ./.o2cb_crc32.d -o o2cb_crc32.o -c o2cb_crc32.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -I. -MD -MP -MF ./.client_proto.d -o client_proto.o -c client_proto.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -I. -MD -MP -MF ./.o2cb_err.d -o o2cb_err.o -c o2cb_err.c rm -f libo2cb.a /usr/bin/ar r libo2cb.a o2cb_abi.o o2cb_crc32.o client_proto.o o2cb_err.o /usr/bin/ar: creating libo2cb.a ranlib libo2cb.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libo2cb' make -C libocfs2 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libocfs2' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.alloc.d -o alloc.o -c alloc.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.bitmap.d -o bitmap.o -c bitmap.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.bitops.d -o bitops.o -c bitops.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.blockcheck.d -o blockcheck.o -c blockcheck.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.cached_inode.d -o cached_inode.o -c cached_inode.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.chain.d -o chain.o -c chain.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.chainalloc.d -o chainalloc.o -c chainalloc.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.checkhb.d -o checkhb.o -c checkhb.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.closefs.d -o closefs.o -c closefs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dirblock.d -o dirblock.o -c dirblock.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dir_iterate.d -o dir_iterate.o -c dir_iterate.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dir_scan.d -o dir_scan.o -c dir_scan.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dlm.d -o dlm.o -c dlm.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.fileio.d -o fileio.o -c fileio.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.freefs.d -o freefs.o -c freefs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.expanddir.d -o expanddir.o -c expanddir.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.extend_file.d -o extend_file.o -c extend_file.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.extents.d -o extents.o -c extents.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.extent_map.d -o extent_map.o -c extent_map.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.getsectsize.d -o getsectsize.o -c getsectsize.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.getsize.d -o getsize.o -c getsize.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.heartbeat.d -o heartbeat.o -c heartbeat.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.inode.d -o inode.o -c inode.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.inode_scan.d -o inode_scan.o -c inode_scan.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.ismounted.d -o ismounted.o -c ismounted.c ismounted.c: In function 'is_swap_device': ismounted.c:260:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.kernel-rbtree.d -o kernel-rbtree.o -c kernel-rbtree.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.link.d -o link.o -c link.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.lookup.d -o lookup.o -c lookup.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.memory.d -o memory.o -c memory.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.mkjournal.d -o mkjournal.o -c mkjournal.c mkjournal.c: In function 'ocfs2_write_journal_superblock': mkjournal.c:278:31: warning: variable 'jsb' set but not used [-Wunused-but-set-variable] journal_superblock_t *disk, *jsb; ^~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.namei.d -o namei.o -c namei.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.openfs.d -o openfs.o -c openfs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.slot_map.d -o slot_map.o -c slot_map.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.sysfile.d -o sysfile.o -c sysfile.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.truncate.d -o truncate.o -c truncate.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.unix_io.d -o unix_io.o -c unix_io.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.unlink.d -o unlink.o -c unlink.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.lockid.d -o lockid.o -c lockid.c In file included from ../include/ocfs2/ocfs2.h:59:0, from lockid.c:26: lockid.c: In function 'ocfs2_decode_lockres': ../include/ocfs2-kernel/ocfs2_lockid.h:36:27: warning: format '%llx' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t * {aka long unsigned int *}' [-Wformat=] #define OCFS2_LOCK_ID_PAD "000000" ^ lockid.c:102:21: note: in expansion of macro 'OCFS2_LOCK_ID_PAD' i = sscanf(l + 1, OCFS2_LOCK_ID_PAD"%016llx%08x", &b, &g); ^~~~~~~~~~~~~~~~~ lockid.c:102:45: note: format string is defined here i = sscanf(l + 1, OCFS2_LOCK_ID_PAD"%016llx%08x", &b, &g); ~~~~~~^ %016lx lockid.c:106:28: warning: format '%llx' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t * {aka long unsigned int *}' [-Wformat=] i = sscanf(l + 1, "%016llx", &p); ~~~~~~^ ~~ %016lx gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.backup_super.d -o backup_super.o -c backup_super.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.feature_string.d -o feature_string.o -c feature_string.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.quota.d -o quota.o -c quota.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.image.d -o image.o -c image.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.xattr.d -o xattr.o -c xattr.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.extent_tree.d -o extent_tree.o -c extent_tree.c extent_tree.c: In function 'ocfs2_new_path': extent_tree.c:432:12: warning: variable 'ret' set but not used [-Wunused-but-set-variable] errcode_t ret = 0; ^~~ extent_tree.c: In function 'ocfs2_rotate_subtree_right': extent_tree.c:1429:29: warning: variable 'eb' set but not used [-Wunused-but-set-variable] struct ocfs2_extent_block *eb; ^~ extent_tree.c:1425:8: warning: variable 'right_leaf_eb' set but not used [-Wunused-but-set-variable] char *right_leaf_eb; ^~~~~~~~~~~~~ extent_tree.c: In function 'ocfs2_unlink_subtree': extent_tree.c:1802:28: warning: variable 'el' set but not used [-Wunused-but-set-variable] struct ocfs2_extent_list *el; ^~ extent_tree.c: In function 'ocfs2_rotate_subtree_left': extent_tree.c:1837:8: warning: variable 'root_buf' set but not used [-Wunused-but-set-variable] char *root_buf; ^~~~~~~~ extent_tree.c: In function 'ocfs2_split_extent': extent_tree.c:3766:28: warning: variable 'rightmost_el' set but not used [-Wunused-but-set-variable] struct ocfs2_extent_list *rightmost_el; ^~~~~~~~~~~~ extent_tree.c: In function 'ocfs2_truncate_rec': extent_tree.c:4033:6: warning: variable 'wants_rotate' set but not used [-Wunused-but-set-variable] int wants_rotate = 0, is_rightmost_tree_rec = 0; ^~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.refcount.d -o refcount.o -c refcount.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dir_indexed.d -o dir_indexed.o -c dir_indexed.c dir_indexed.c: In function 'ocfs2_dx_dir_transfer_leaf': dir_indexed.c:757:42: warning: variable 'new_list' set but not used [-Wunused-but-set-variable] struct ocfs2_dx_entry_list *orig_list, *new_list, *tmp_list; ^~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.ocfs2_err.d -o ocfs2_err.o -c ocfs2_err.c rm -f libocfs2.a /usr/bin/ar r libocfs2.a alloc.o bitmap.o bitops.o blockcheck.o cached_inode.o chain.o chainalloc.o checkhb.o closefs.o dirblock.o dir_iterate.o dir_scan.o dlm.o fileio.o freefs.o expanddir.o extend_file.o extents.o extent_map.o getsectsize.o getsize.o heartbeat.o inode.o inode_scan.o ismounted.o kernel-rbtree.o link.o lookup.o memory.o mkjournal.o namei.o openfs.o slot_map.o sysfile.o truncate.o unix_io.o unlink.o lockid.o backup_super.o feature_string.o quota.o image.o xattr.o extent_tree.o refcount.o dir_indexed.o ocfs2_err.o /usr/bin/ar: creating libocfs2.a ranlib libocfs2.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/libocfs2' make -C fsck.ocfs2 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/fsck.ocfs2' generating prompt-codes.h by parsing fsck.ocfs2.checks.8.in gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.fsck.d -o fsck.o -c fsck.c fsck.c: In function 'print_label': fsck.c:372:7: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] if (isprint(label[i])) ^~~~~~~ fsck.c: In function 'main': fsck.c:804:7: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] if (toupper(getchar()) != 'Y') { ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.dirblocks.d -o dirblocks.o -c dirblocks.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.dirparents.d -o dirparents.o -c dirparents.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.extent.d -o extent.o -c extent.c In file included from extent.c:44:0: extent.c: In function 'o2fsck_check_extent_rec': extent.c:374:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__le64 {aka long long unsigned int}' [-Wformat=] "The extent record for cluster offset %"PRIu32" at block " ^ extent.c:377:48: "Clear the REFCOUNTED flag?", er->e_cpos, er->e_blkno, ~~~~~ include/problem.h:47:40: note: in definition of macro 'prompt' _ret = prompt_input(ost, flags, code, fmt); \ ^~~ In file included from extent.c:38:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.icount.d -o icount.o -c icount.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.journal.d -o journal.o -c journal.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass0.d -o pass0.o -c pass0.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass1.d -o pass1.o -c pass1.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass1b.d -o pass1b.o -c pass1b.c pass1b.c: In function 'process_dup_clusters': pass1b.c:385:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while testing cluster %"PRIu32" of inode " ^~~~~~~~~~~~~~~~~~~~~~~~~ pass1b.c:387:13: p_cpos, pc->di->i_blkno); ~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" pass1b.c:398:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while marking duplicate cluster " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1b.c:401:14: p_cpos, pc->di->i_blkno); ~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" pass1b.c: In function 'process_xattr_header': pass1b.c:505:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while processing xattrs on inode %"PRIu64, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pc->di->i_blkno); ~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" pass1b.c: In function 'process_one_bucket_list': pass1b.c:544:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while reading the xattr bucket at " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1b.c:546:12: blkno, pc->di->i_blkno); ~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" pass1b.c: In function 'process_xattr_tree': pass1b.c:607:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while processing xattrs on inode %"PRIu64, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pc->di->i_blkno); ~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" pass1b.c: In function 'process_xattr_block': pass1b.c:625:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__le64 {aka long long unsigned int}' [-Wformat=] "while allocating a buffer to read the xattr block " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1b.c:627:4: pc->di->i_xattr_loc); ~~~~~~~~~~~~~~~~~~~ In file included from pass1b.c:63:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass2.d -o pass2.o -c pass2.c In file included from pass2.c:45:0: pass2.c: In function 'fix_dir_trailer': pass2.c:240:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type '__le64 {aka long long unsigned int}' [-Wformat=] "Directory block trailer for logical block %"PRIu64" " ^ pass2.c:244:6: trailer->db_blkno)) { ~~~~~~~~~~ include/problem.h:47:40: note: in definition of macro 'prompt' _ret = prompt_input(ost, flags, code, fmt); \ ^~~ In file included from pass2.c:35:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" In file included from pass2.c:45:0: pass2.c:251:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type '__le64 {aka long long unsigned int}' [-Wformat=] "Directory block trailer for logical block %"PRIu64" " ^ pass2.c:255:6: trailer->db_parent_dinode)) { ~~~~~~~~~~ include/problem.h:47:40: note: in definition of macro 'prompt' _ret = prompt_input(ost, flags, code, fmt); \ ^~~ In file included from pass2.c:35:0: /usr/include/inttypes.h:105:34: note: format string is defined here # define PRIu64 __PRI64_PREFIX "u" gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass3.d -o pass3.o -c pass3.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.6.4\" -MD -MP -MF ./.pass4.d -o pass4.o -c pass4.c In file included from /usr/include/string.h:431:0, from ../include/ocfs2/ocfs2.h:41, from pass4.c:32: include/strings.h:37:1: error: unknown type name 'errcode_t'; did you mean 'mode_t'? errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string, ^~~~~~~~~ mode_t make[1]: *** [../Postamble.make:40: pass4.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocfs2-tools-1.6.4/fsck.ocfs2' make: *** [Postamble.make:54: fsck.ocfs2] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RG3eTA (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RG3eTA (%build) I: [iurt_root_command] ERROR: chroot