* Package: sys-fs/ocfs2-tools-1.8.2-r1 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ocfs2-tools-1.8.2.tar.xz to /var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work >>> Source unpacked in /var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work >>> Preparing source in /var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2 ... * Applying ocfs2-tools-1.6.4-asneeded.patch ... [ ok ] * Applying ocfs2-tools-recent-kernels.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2' ... * Running aclocal -I . ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf -I . --force ... [ ok ] * Running elibtoolize in: ocfs2-tools-1.8.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2 ... * econf: updating ocfs2-tools-1.8.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ocfs2-tools-1.8.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-debug --disable-debugexe --disable-ocfs2console --enable-dynamic-fsck --enable-dynamic-ctl configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for debugging... skipped, CFLAGS is set checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for ar... /usr/bin/ar checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 printw 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.50.2) 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... no configure: WARNING: libcrmcluster not found, pacemaker support will not be built checking for cman_replyto_shutdown in -lcman... yes checking libcman.h usability... yes checking libcman.h presence... yes checking for libcman.h... yes checking corosync/cpg.h usability... no checking corosync/cpg.h presence... no checking for corosync/cpg.h... no checking openais/cpg.h usability... no checking openais/cpg.h presence... no checking for openais/cpg.h... no configure: WARNING: openais/cpg.h 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 checking for dlmc_fs_connect in -ldlmcontrol... no configure: WARNING: libdlmcontrol not found, ocfs2_controld will not be built checking libdlm.h usability... no checking libdlm.h presence... no checking for libdlm.h... no configure: WARNING: libdlm.h not found, fsdlm support will not be built 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}/lib64/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 checking whether to build ocfs2console... no configure: creating ./config.status config.status: creating Config.make config.status: WARNING: 'Config.make.in' seems to ignore the --datarootdir setting config.status: creating o2cb.pc config.status: creating o2dlm.pc config.status: creating ocfs2.pc 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 o2cb_ctl/o2cb.8 config.status: creating ocfs2_hb_ctl/ocfs2_hb_ctl.8 config.status: creating tunefs.ocfs2/tunefs.ocfs2.8 config.status: creating tunefs.ocfs2/o2cluster.8 config.status: creating o2image/o2image.8 config.status: creating o2info/o2info.1 config.status: creating libo2cb/o2cb.7 config.status: creating o2monitor/o2hbmonitor.8 config.status: creating o2cb_ctl/ocfs2.cluster.conf.5 config.status: creating vendor/common/o2cb.sysconfig.5 config.status: creating libocfs2/ocfs2.7 config.status: creating vendor/common/ocfs2-tools.spec-generic >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2 ... make -j1 -j1 make -C include make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include' make -C tools-internal make[2]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/tools-internal' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/tools-internal' make -C ocfs2-kernel make[2]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/ocfs2-kernel' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/ocfs2-kernel' make -C o2dlm make[2]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/o2dlm' make -C ../../libo2dlm o2dlm_err.h make[3]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2dlm' compile_et o2dlm_err.et make[3]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2dlm' cp ../../libo2dlm/o2dlm_err.h o2dlm_err.h make[2]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/o2dlm' make -C o2cb make[2]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/o2cb' make -C ../../libo2cb o2cb_err.h make[3]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2cb' compile_et o2cb_err.et make[3]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2cb' cp ../../libo2cb/o2cb_err.h o2cb_err.h make[2]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/o2cb' make -C ocfs2 make[2]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/ocfs2' make -C ../../libocfs2 ocfs2_err.h make[3]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libocfs2' compile_et ocfs2_err.et make[3]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libocfs2' cp ../../libocfs2/ocfs2_err.h ocfs2_err.h make[2]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include/ocfs2' make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/include' make -C libtools-internal make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libtools-internal' x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.8.2\" -MD -MP -MF ./.verbose.d -o verbose.o -c verbose.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.8.2\" -MD -MP -MF ./.progress.d -o progress.o -c progress.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.8.2\" -MD -MP -MF ./.utils.d -o utils.o -c utils.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -DVERSION=\"1.8.2\" -MD -MP -MF ./.scandisk.d -o scandisk.o -c scandisk.c scandisk.c: In function ‘lsdev’: scandisk.c:251:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] (devlisthead, &sb, newpath) < 0) ^ scandisk.c: In function ‘sysfs_is_dev’: scandisk.c:488:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d:%d", maj, min); ^ scandisk.c: In function ‘sysfs_is_removable’: scandisk.c:516:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &i); ^ scandisk.c: In function ‘sysfs_is_disk’: scandisk.c:598:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &i); ^ rm -f libtools-internal.a /usr/bin/ar r libtools-internal.a verbose.o progress.o utils.o scandisk.o /usr/bin/ar: creating libtools-internal.a x86_64-pc-linux-gnu-ranlib libtools-internal.a make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libtools-internal' make -C libo2dlm make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2dlm' ln -s libdlm-compat.h libdlm.h x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -MD -MP -MF ./.o2dlm.d -o o2dlm.o -c o2dlm.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -MD -MP -MF ./.capabilities.d -o capabilities.o -c capabilities.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I. -I../include -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 x86_64-pc-linux-gnu-ranlib libo2dlm.a make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2dlm' make -C libo2cb make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2cb' x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/o2cb/o2cb.h:51:0, from o2cb_abi.c:41: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 x86_64-pc-linux-gnu-ranlib libo2cb.a make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libo2cb' make -C libocfs2 make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libocfs2' x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.alloc.d -o alloc.o -c alloc.c In file included from ../include/ocfs2/ocfs2.h:53:0, from alloc.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.bitmap.d -o bitmap.o -c bitmap.c In file included from ../include/ocfs2/ocfs2.h:53:0, from bitmap.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.bitops.d -o bitops.o -c bitops.c x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.blockcheck.d -o blockcheck.o -c blockcheck.c In file included from ../include/ocfs2/ocfs2.h:53:0, from blockcheck.c:33: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.blocktype.d -o blocktype.o -c blocktype.c In file included from ../include/ocfs2/ocfs2.h:53:0, from blocktype.c:26: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from cached_inode.c:30: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.chain.d -o chain.o -c chain.c In file included from ../include/ocfs2/ocfs2.h:53:0, from chain.c:30: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.chainalloc.d -o chainalloc.o -c chainalloc.c In file included from ../include/ocfs2/ocfs2.h:53:0, from chainalloc.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.checkhb.d -o checkhb.o -c checkhb.c In file included from ../include/ocfs2/ocfs2.h:53:0, from checkhb.c:41: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.closefs.d -o closefs.o -c closefs.c In file included from ../include/ocfs2/ocfs2.h:53:0, from closefs.c:31: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dirblock.d -o dirblock.o -c dirblock.c In file included from ../include/ocfs2/ocfs2.h:53:0, from dirblock.c:34: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from dir_iterate.c:33: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from dir_scan.c:31: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.dlm.d -o dlm.o -c dlm.c In file included from ../include/ocfs2/ocfs2.h:53:0, from dlm.c:29: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.fileio.d -o fileio.o -c fileio.c In file included from ../include/ocfs2/ocfs2.h:53:0, from fileio.c:35: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.freefs.d -o freefs.o -c freefs.c In file included from ../include/ocfs2/ocfs2.h:53:0, from freefs.c:33: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.expanddir.d -o expanddir.o -c expanddir.c In file included from ../include/ocfs2/ocfs2.h:53:0, from expanddir.c:38: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from extend_file.c:36: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.extents.d -o extents.o -c extents.c In file included from ../include/ocfs2/ocfs2.h:53:0, from extents.c:36: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from extent_map.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.getsectsize.d -o getsectsize.o -c getsectsize.c In file included from ../include/ocfs2/ocfs2.h:53:0, from getsectsize.c:40: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.getsize.d -o getsize.o -c getsize.c In file included from ../include/ocfs2/ocfs2.h:53:0, from getsize.c:70: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.heartbeat.d -o heartbeat.o -c heartbeat.c In file included from ../include/ocfs2/ocfs2.h:53:0, from heartbeat.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.inode.d -o inode.o -c inode.c In file included from ../include/ocfs2/ocfs2.h:53:0, from inode.c:35: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from inode_scan.c:31: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.ismounted.d -o ismounted.o -c ismounted.c In file included from ../include/ocfs2/ocfs2.h:53:0, from ismounted.c:41: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ 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); ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.link.d -o link.o -c link.c In file included from ../include/ocfs2/ocfs2.h:53:0, from link.c:33: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.lookup.d -o lookup.o -c lookup.c In file included from ../include/ocfs2/ocfs2.h:53:0, from lookup.c:35: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.memory.d -o memory.o -c memory.c In file included from ../include/ocfs2/ocfs2.h:53:0, from memory.c:36: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from mkjournal.c:35: mkjournal.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.namei.d -o namei.o -c namei.c In file included from ../include/ocfs2/ocfs2.h:53:0, from namei.c:37: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.openfs.d -o openfs.o -c openfs.c In file included from ../include/ocfs2/ocfs2.h:53:0, from openfs.c:42: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from slot_map.c:25: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.sysfile.d -o sysfile.o -c sysfile.c In file included from ../include/ocfs2/ocfs2.h:53:0, from sysfile.c:30: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.truncate.d -o truncate.o -c truncate.c In file included from ../include/ocfs2/ocfs2.h:53:0, from truncate.c:35: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from unix_io.c:52: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.unlink.d -o unlink.o -c unlink.c In file included from ../include/ocfs2/ocfs2.h:53:0, from unlink.c:35: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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:106:21: 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); ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from lockid.c:26: lockid.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from backup_super.c:27: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 In file included from ../include/ocfs2/ocfs2.h:53:0, from feature_string.c:26: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.quota.d -o quota.o -c quota.c In file included from ../include/ocfs2/ocfs2.h:53:0, from quota.c:28: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.image.d -o image.o -c image.c In file included from ../include/ocfs2/ocfs2.h:53:0, from image.c:40: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.xattr.d -o xattr.o -c xattr.c In file included from ../include/ocfs2/ocfs2.h:53:0, from xattr.c:21: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from extent_tree.c:24: extent_tree.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include -MD -MP -MF ./.refcount.d -o refcount.o -c refcount.c In file included from ../include/ocfs2/ocfs2.h:53:0, from refcount.c:31: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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:759:42: warning: variable ‘new_list’ set but not used [-Wunused-but-set-variable] struct ocfs2_dx_entry_list *orig_list, *new_list, *tmp_list; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from dir_indexed.c:16: dir_indexed.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -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 blocktype.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 x86_64-pc-linux-gnu-ranlib libocfs2.a make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/libocfs2' make -C fsck.ocfs2 make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/fsck.ocfs2' generating prompt-codes.h by parsing fsck.ocfs2.checks.8.in x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.fsck.d -o fsck.o -c fsck.c fsck.c: In function ‘show_stats’: fsck.c:417:11: warning: variable ‘dir_links’ set but not used [-Wunused-but-set-variable] uint32_t dir_links, num_links; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from fsck.c:60: fsck.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.dirblocks.d -o dirblocks.o -c dirblocks.c In file included from ../include/ocfs2/ocfs2.h:53:0, from dirblocks.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.dirparents.d -o dirparents.o -c dirparents.c In file included from ../include/ocfs2/ocfs2.h:53:0, from dirparents.c:33: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -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:407: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 " ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from extent.c:40: extent.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.icount.d -o icount.o -c icount.c In file included from ../include/ocfs2/ocfs2.h:53:0, from icount.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.journal.d -o journal.o -c journal.c In file included from ../include/ocfs2/ocfs2.h:53:0, from journal.c:40: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.pass0.d -o pass0.o -c pass0.c In file included from ../include/ocfs2/ocfs2.h:53:0, from pass0.c:53: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.pass1.d -o pass1.o -c pass1.c In file included from ../include/ocfs2/ocfs2.h:53:0, from pass1.c:61: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -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 " ^ In file included from include/extent.h:23:0, from pass1b.c:72: include/fsck.h:132:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] printf("%s:%d | " fmt, __FUNCTION__, __LINE__, args);\ ^ pass1b.c:392:4: note: in expansion of macro ‘verbosef’ verbosef("Marking multiply-claimed cluster %"PRIu32 ^ 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: 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, ^ 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: 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, ^ 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 " ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from pass1b.c:67: pass1b.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -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" " ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ 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" " ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from pass2.c:38: pass2.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.pass3.d -o pass3.o -c pass3.c In file included from ../include/ocfs2/ocfs2.h:53:0, from pass3.c:36: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.pass4.d -o pass4.o -c pass4.c In file included from ../include/ocfs2/ocfs2.h:53:0, from pass4.c:32: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.pass5.d -o pass5.o -c pass5.c In file included from pass5.c:42:0: pass5.c: In function ‘o2fsck_check_data_blk’: pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:244:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Duplicate %s quota structure for id %" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:262:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found %s quota structure for id %"PRIu32 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:281:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found corrupted %s quota structure for id" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:281:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found corrupted %s quota structure for id" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:281:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found corrupted %s quota structure for id" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ pass5.c:281:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Found corrupted %s quota structure for id" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from pass5.c:36: pass5.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.problem.d -o problem.o -c problem.c In file included from ../include/ocfs2/ocfs2.h:53:0, from problem.c:39: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.refcount.d -o refcount.o -c refcount.c In file included from ../include/ocfs2/ocfs2.h:53:0, from refcount.c:24: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.slot_recovery.d -o slot_recovery.o -c slot_recovery.c In file included from ../include/ocfs2/ocfs2.h:53:0, from include/icount.h:27, from include/fsck.h:29, from include/util.h:28, from slot_recovery.c:21: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.strings.d -o strings.o -c strings.c In file included from ../include/ocfs2/ocfs2.h:53:0, from strings.c:31: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.util.d -o util.o -c util.c util.c: In function ‘o2fsck_print_resource_track’: util.c:320:10: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] printf(" Cache size: %uMB\n", ^ util.c:323:9: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=] printf(" I/O read disk/cache: %lluMB / %lluMB, write: %lluMB, " ^ util.c:323:9: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=] util.c:323:9: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=] x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -Iinclude -DVERSION=\"1.8.2\" -MD -MP -MF ./.xattr.d -o xattr.o -c xattr.c In file included from xattr.c:26:0: xattr.c: In function ‘check_xattr_entry’: xattr.c:251:9: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] "Extended attribute entry in %s #%" ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ xattr.c:288:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__le64 {aka long long unsigned int}’ [-Wformat=] "Extended attribute entry in %s #%"PRIu64 ^ include/problem.h:47:40: note: in definition of macro ‘prompt’ _ret = prompt_input(ost, flags, code, fmt); \ ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from xattr.c:21: xattr.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -Wl,-O1 -Wl,--as-needed -o fsck.ocfs2 fsck.o dirblocks.o dirparents.o extent.o icount.o journal.o pass0.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o problem.o refcount.o slot_recovery.o strings.o util.o xattr.o ../libocfs2/libocfs2.a ../libo2dlm/libo2dlm.a ../libo2cb/libo2cb.a ../libtools-internal/libtools-internal.a -L../libocfs2 -locfs2 -laio -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb -L../libtools-internal -ltools-internal -lcom_err make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/fsck.ocfs2' make -C mkfs.ocfs2 make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/mkfs.ocfs2' x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -I. -DVERSION=\"1.8.2\" -MD -MP -MF ./.mkfs.d -o mkfs.o -c mkfs.c mkfs.c: In function ‘is_cluster_info_valid’: mkfs.c:166:6: warning: unused variable ‘len’ [-Wunused-variable] int len = 0; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from mkfs.h:47, from mkfs.c:21: mkfs.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -I. -DVERSION=\"1.8.2\" -MD -MP -MF ./.check.d -o check.o -c check.c In file included from ../include/ocfs2/ocfs2.h:53:0, from mkfs.h:47, from check.c:26: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -Wl,-O1 -Wl,--as-needed -o mkfs.ocfs2 mkfs.o check.o ../libocfs2/libocfs2.a ../libo2dlm/libo2dlm.a ../libo2cb/libo2cb.a -L../libocfs2 -locfs2 -laio -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb -lcom_err -luuid make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/mkfs.ocfs2' make -C mounted.ocfs2 make[1]: Entering directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/mounted.ocfs2' x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -I../include -MD -MP -MF ./.mounted.d -o mounted.o -c mounted.c mounted.c: In function ‘build_partition_list’: mounted.c:301:7: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration] makedev(major, minor), &devname); ^ mounted.c: In function ‘populate_sb_info’: mounted.c:412:29: warning: variable ‘rocompat’ set but not used [-Wunused-but-set-variable] uint32_t compat, incompat, rocompat; ^ mounted.c:412:11: warning: variable ‘compat’ set but not used [-Wunused-but-set-variable] uint32_t compat, incompat, rocompat; ^ In file included from ../include/ocfs2/ocfs2.h:53:0, from mounted.c:42: mounted.c: At top level: ../include/ocfs2-kernel/ocfs2_fs.h:409:22: warning: ‘ocfs2_type_by_mode’ defined but not used [-Wunused-variable] static unsigned char ocfs2_type_by_mode[S_IFMT >> S_SHIFT] = { ^ x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -Wl,-O1 -Wl,--as-needed -o mounted.ocfs2 mounted.o ../libocfs2/libocfs2.a ../libo2dlm/libo2dlm.a ../libo2cb/libo2cb.a ../libtools-internal/libtools-internal.a -L../libocfs2 -locfs2 -laio -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb ../libtools-internal/libtools-internal.a -lcom_err -luuid mounted.o: In function `build_partition_list': mounted.c:(.text+0x556): undefined reference to `makedev' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:30: mounted.ocfs2] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2/mounted.ocfs2' make: *** [Postamble.make:54: mounted.ocfs2] Error 2 * ERROR: sys-fs/ocfs2-tools-1.8.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/ocfs2-tools-1.8.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/ocfs2-tools-1.8.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:ocfs2-tools-1.8.2-r1:20161221-090530.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2' * S: '/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2-r1/work/ocfs2-tools-1.8.2'