Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xfsdump.spec'], chrootPath='/var/lib/mock/dist-an23-build-166812-58810/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xfsdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1509667200 Wrote: /builddir/build/SRPMS/xfsdump-3.1.7-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xfsdump.spec'], chrootPath='/var/lib/mock/dist-an23-build-166812-58810/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xfsdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1509667200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y7cvUf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xfsdump-3.1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xfsdump-3.1.7.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xfsdump-3.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-xfsdump-Revert-xfsdump-handle-bind-mount-targets.patch):' Patch #0 (0001-xfsdump-Revert-xfsdump-handle-bind-mount-targets.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dump/content.c Hunk #1 succeeded at 1381 (offset -1 lines). Hunk #2 succeeded at 1397 (offset -1 lines). Patch #1 (0002-xfsdump-intercept-bind-mount-targets.patch): + echo 'Patch #1 (0002-xfsdump-intercept-bind-mount-targets.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dump/content.c Hunk #1 succeeded at 510 (offset -1 lines). Hunk #2 succeeded at 1447 (offset -1 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dhwx56 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xfsdump-3.1.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2017-08-19 07:04:46.000000000 +0800 +++ ./configure 2022-11-24 10:19:01.831726241 +0800 @@ -1733,7 +1733,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-11-24 10:19:01.831726241 +0800 +++ ./configure 2022-11-24 10:19:01.845726799 +0800 @@ -13991,7 +13991,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./ltmain.sh + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-Anolis-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-Anolis-linux-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for x86_64-Anolis-linux-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for gmake... /usr/bin/gmake checking for tar... /bin/tar checking for gzip... /bin/gzip checking whether gcc -MM is supported... yes checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for rpm... /bin/rpm checking for rpmbuild... /usr/bin/rpmbuild checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for uuid_compare... no checking for uuid_compare in -luuid... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_mutex_init in -lpthread... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for initscr in -lncurses... yes checking for bad glibc/ncurses header interaction... ok checking xfs/xfs.h usability... yes checking xfs/xfs.h presence... yes checking for xfs/xfs.h... yes checking xfs/handle.h usability... yes checking xfs/handle.h presence... yes checking for xfs/handle.h... yes checking for open_by_fshandle in -lhandle... yes checking attr/attributes.h usability... yes checking attr/attributes.h presence... yes checking for attr/attributes.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking macros in attr/attributes.h... ok checking for attr_get in -lattr... yes configure: creating ./config.status config.status: creating include/builddefs config.status: creating include/config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j64 Building include Building librmt Building common Building inventory Building m4 Building man Building doc Building po Building debian [LTDEP] [LTDEP] gcc: fatal error: no input files compilation terminated. [ZIP] CHANGES.gz Building man8 [GETTXT] xfsdump.pot [MSGFMT] de.mo [MSGFMT] pl.mo 763 translated messages. 767 translated messages. [CC] isrmt.lo [CC] rmtclose.lo [CC] rmtdev.lo [CC] rmtisatty.lo [CC] rmtread.lo [CC] rmtabort.lo [CC] rmtcommand.lo [CC] rmtfstat.lo [CC] rmtlseek.lo [CC] rmtstatus.lo [CC] rmtaccess.lo [CC] rmtcreat.lo [CC] rmtioctl.lo [CC] rmtopen.lo [CC] rmtwrite.lo [CC] rmtmsg.lo rmtopen.c: In function '_rmt_open': rmtopen.c:230:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | dup(_rmt_Ptc[i][0]); | ^~~~~~~~~~~~~~~~~~~ rmtopen.c:233:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | dup(_rmt_Ctp[i][1]); | ^~~~~~~~~~~~~~~~~~~ rmtopen.c:235:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | (void) setuid (getuid ()); | ^~~~~~~~~~~~~~~~~~ rmtopen.c:236:24: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | (void) setgid (getgid ()); | ^~~~~~~~~~~~~~~~~~ [LD] librmt.la Building invutil Building dump Building restore [LN] arch_xlate.h [LN] global.h [LN] arch_xlate.h [LN] mlog.h [LN] cldmgr.h [LN] content.h [LN] cldmgr.h [LN] timeutil.h [LN] content_common.h [LN] types.h [LN] content.h [LN] timeutil.c [LN] content_inode.h [LN] content_inode.h [LN] dlog.h [LN] dlog.h [LN] inventory.h [LN] drive.h [LN] drive.h [LN] inv_priv.h [LN] exit.h [LN] exit.h [LN] fs.h [LN] fs.h [LN] inv_files.c [LN] getdents.h [LN] getdents.h [LN] global.h [LN] global.h [LN] hsmapi.h [LN] hsmapi.h [LN] lock.h [LN] media.h [LN] media.h [LN] lock.h [LN] mlog.h [LN] mlog.h [LN] openutil.h [LN] openutil.h [LN] path.h [LN] path.h [LN] qlock.h [DEP] [LN] qlock.h [LN] rec_hdr.h [LN] ring.h [LN] ring.h [LN] stream.h [LN] stream.h [LN] timeutil.h [LN] ts_mtio.h [LN] timeutil.h [LN] types.h [LN] ts_mtio.h [LN] util.h [LN] types.h [LN] util.h [LN] rec_hdr.h [LN] arch_xlate.c [LN] cldmgr.c [LN] arch_xlate.c [LN] cldmgr.c [LN] dlog.c [LN] content_common.c [LN] dlog.c [LN] drive.c [LN] drive.c [LN] drive_scsitape.c [LN] drive_simple.c [LN] drive_scsitape.c [LN] drive_minrmt.c [LN] fs.c [LN] drive_simple.c [LN] drive_minrmt.c [LN] fs.c [LN] getdents.c [LN] getdents.c [LN] global.c [LN] hsmapi.c [LN] global.c [LN] lock.c [LN] hsmapi.c [LN] main.c [LN] lock.c [LN] main.c [LN] mlog.c [LN] mlog.c [LN] openutil.c [LN] openutil.c [LN] path.c [LN] qlock.c [LN] qlock.c [LN] ring.c [LN] path.c [LN] ring.c [LN] stream.c [LN] stream.c [LN] timeutil.c [LN] timeutil.c [LN] util.c [LN] util.c [LN] inventory.h [LN] inventory.h [LN] inv_priv.h [LN] inv_priv.h [LN] inv_api.c [LN] inv_core.c [LN] inv_api.c [LN] inv_core.c [LN] inv_files.c [LN] inv_files.c [LN] inv_fstab.c [LN] inv_fstab.c [LN] inv_idx.c [LN] inv_mgr.c [LN] inv_idx.c [LN] inv_stobj.c [LN] inv_mgr.c [LN] inv_stobj.c [DEP] [DEP] [CC] arch_xlate.o [CC] cldmgr.o [CC] content_common.o [CC] dlog.o [CC] drive.o [CC] drive_scsitape.o [CC] drive_simple.o [CC] fs.o [CC] drive_minrmt.o [CC] getdents.o [CC] global.o [CC] hsmapi.o [CC] lock.o [CC] main.o [CC] mlog.o [CC] openutil.o [CC] qlock.o [CC] path.o [CC] ring.o [CC] stream.o [CC] timeutil.o [CC] util.o [CC] inv_api.o [CC] inv_core.o [CC] inv_files.o [CC] inv_fstab.o [CC] inv_idx.o [CC] inv_mgr.o [CC] inv_stobj.o [CC] content.o [CC] inomap.o [CC] var.o In file included from arch_xlate.h:23, from arch_xlate.c:26: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from arch_xlate.c:22: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from drive.c:29: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive.c:25: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | drive.c: In function 'drive_init1': drive.c:112:41: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 112 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:36:1: note: include '' or provide a declaration of 'calloc' 35 | #include "drive.h" +++ |+#include 36 | drive.c:112:41: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 112 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:112:41: note: include '' or provide a declaration of 'calloc' drive.c:174:41: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 174 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:174:41: note: include '' or provide a declaration of 'calloc' drive.c: In function 'drive_alloc': drive.c:361:31: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 361 | drivep = ( drive_t * )calloc( 1, sizeof( drive_t )); | ^~~~~~ drive.c:361:31: note: include '' or provide a declaration of 'calloc' drive.c: In function 'drive_allochdrs': drive.c:402:36: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 402 | grhdrp = ( global_hdr_t * )calloc( 1, sizeof( global_hdr_t )); | ^~~~~~ drive.c:402:36: note: include '' or provide a declaration of 'calloc' In file included from fs.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from fs.c:31: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from drive_scsitape.c:38: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive_scsitape.c:34: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from drive_minrmt.c:38: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive_minrmt.c:34: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | fs.c: In function 'fs_getid': fs.c:207:9: error: unknown type name 'xfs_fsop_geom_v1_t'; did you mean 'xfs_fsop_resblks_t'? 207 | xfs_fsop_geom_v1_t geo; | ^~~~~~~~~~~~~~~~~~ | xfs_fsop_resblks_t fs.c:221:29: error: request for member 'uuid' in something not a structure or union 221 | uuid_copy( *idb, geo.uuid ); | ^ gmake[2]: *** [../include/buildrules:46: fs.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from content_common.c:32: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from content_common.c:28: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inv_core.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_core.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inv_api.c:37: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_api.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from global.c:31: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from global.c:25: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from mlog.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from mlog.c:30: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from global.c:32: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t In file included from inv_mgr.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_mgr.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ In file included from var.c:29: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from var.c:25: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from inv_idx.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_idx.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ In file included from main.c:44: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from main.c:39: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inomap.c:33: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inomap.c:28: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inv_stobj.c:37: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_stobj.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inomap.c:34: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t In file included from hsmapi.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from hsmapi.c:27: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t gmake[2]: *** [../include/buildrules:46: global.o] Error 1 In file included from drive_simple.c:39: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from drive_simple.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t hsmapi.c:273:9: error: unknown type name 'xfs_bstat_t' 273 | const xfs_bstat_t *statp, | ^~~~~~~~~~~ hsmapi.c:270:1: error: conflicting types for 'HsmEstimateFileSpace'; have 'int(hsm_fs_ctxt_t *, hsm_f_ctxt_t *, const int *, off64_t *, int)' {aka 'int(void *, void *, const int *, long int *, int)'} 270 | HsmEstimateFileSpace( | ^~~~~~~~~~~~~~~~~~~~ util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t In file included from hsmapi.c:37: hsmapi.h:94:1: note: previous declaration of 'HsmEstimateFileSpace' with type 'int(hsm_fs_ctxt_t *, hsm_f_ctxt_t *, const struct xfs_bstat *, off64_t *, int)' {aka 'int(void *, void *, const struct xfs_bstat *, long int *, int)'} 94 | HsmEstimateFileSpace( | ^~~~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmEstimateFileSpace': hsmapi.c:303:69: warning: passing argument 2 of 'HsmInitFileContext' from incompatible pointer type [-Wincompatible-pointer-types] 303 | if (HsmInitFileContext((hsm_f_ctxt_t *)&dmf_f_ctxt, statp)) { | ^~~~~ | | | const int * hsmapi.h:184:34: note: expected 'const struct xfs_bstat *' but argument is of type 'const int *' 184 | const struct xfs_bstat *statp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ hsmapi.c:321:27: error: request for member 'bs_mode' in something not a structure or union 321 | if ((statp->bs_mode & S_IFMT) != S_IFREG) { | ^~ hsmapi.c:324:27: error: request for member 'bs_xflags' in something not a structure or union 324 | if ((statp->bs_xflags & XFS_XFLAG_HASATTR) == 0) { | ^~ hsmapi.c:327:27: error: request for member 'bs_dmevmask' in something not a structure or union 327 | if ((statp->bs_dmevmask & DMF_EV_BITS) == 0) { | ^~ hsmapi.c: At top level: hsmapi.c:356:9: error: unknown type name 'xfs_bstat_t' 356 | const xfs_bstat_t *statp, | ^~~~~~~~~~~ hsmapi.c:354:1: error: conflicting types for 'HsmEstimateFileOffset'; have 'int(hsm_fs_ctxt_t *, const int *, off64_t, off64_t *)' {aka 'int(void *, const int *, long int, long int *)'} 354 | HsmEstimateFileOffset( | ^~~~~~~~~~~~~~~~~~~~~ hsmapi.h:118:1: note: previous declaration of 'HsmEstimateFileOffset' with type 'int(hsm_fs_ctxt_t *, const struct xfs_bstat *, off64_t, off64_t *)' {aka 'int(void *, const struct xfs_bstat *, long int, long int *)'} 118 | HsmEstimateFileOffset( | ^~~~~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmEstimateFileOffset': hsmapi.c:370:61: warning: passing argument 2 of 'HsmInitFileContext' from incompatible pointer type [-Wincompatible-pointer-types] 370 | if (HsmInitFileContext((hsm_f_ctxt_t *)&dmf_f_ctxt, statp)) { | ^~~~~ | | | const int * hsmapi.h:184:34: note: expected 'const struct xfs_bstat *' but argument is of type 'const int *' 184 | const struct xfs_bstat *statp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ hsmapi.c:377:36: error: request for member 'bs_size' in something not a structure or union 377 | *byteoffset = statp->bs_size; | ^~ hsmapi.c: At top level: hsmapi.c:461:9: error: unknown type name 'xfs_bstat_t' 461 | const xfs_bstat_t *statp) | ^~~~~~~~~~~ hsmapi.c:459:1: error: conflicting types for 'HsmInitFileContext'; have 'int(hsm_f_ctxt_t *, const int *)' {aka 'int(void *, const int *)'} 459 | HsmInitFileContext( | ^~~~~~~~~~~~~~~~~~ hsmapi.h:182:1: note: previous declaration of 'HsmInitFileContext' with type 'int(hsm_f_ctxt_t *, const struct xfs_bstat *)' {aka 'int(void *, const struct xfs_bstat *)'} 182 | HsmInitFileContext( | ^~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmInitFileContext': hsmapi.c:473:19: error: request for member 'bs_mode' in something not a structure or union 473 | if ((statp->bs_mode & S_IFMT) != S_IFREG) { | ^~ hsmapi.c:476:19: error: request for member 'bs_xflags' in something not a structure or union 476 | if ((statp->bs_xflags & XFS_XFLAG_HASATTR) == 0) { | ^~ hsmapi.c:479:19: error: request for member 'bs_dmevmask' in something not a structure or union 479 | if ((statp->bs_dmevmask & DMF_EV_BITS) == 0 ) { | ^~ In file included from drive_simple.c:40: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ In file included from util.c:33: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from util.c:28: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | hsmapi.c:495:33: error: 'xfs_bstat_t' undeclared (first use in this function); did you mean 'xfs_bstat'? 495 | (xfs_bstat_t *)statp, | ^~~~~~~~~~~ | xfs_bstat util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t hsmapi.c:495:33: note: each undeclared identifier is reported only once for each function it appears in hsmapi.c:495:46: error: expected expression before ')' token 495 | (xfs_bstat_t *)statp, | ^ hsmapi.c:494:17: error: too few arguments to function 'jdm_attr_multi' 494 | error = jdm_attr_multi(dmf_f_ctxtp->fsys.fshanp, | ^~~~~~~~~~~~~~ In file included from hsmapi.c:30: /usr/include/xfs/jdm.h:42:1: note: declared here 42 | jdm_attr_multi( jdm_fshandle_t *fshp, | ^~~~~~~~~~~~~~ hsmapi.c:529:46: error: request for member 'bs_size' in something not a structure or union 529 | dmf_f_ctxtp->filesize = statp->bs_size; | ^~ util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ hsmapi.c: At top level: hsmapi.c:556:9: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 556 | xfs_bstat_t *statp) | ^~~~~~~~~~~ | xfs_bstime_t In file included from util.c:34: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t hsmapi.c: In function 'HsmBeginRestoreFile': hsmapi.c:802:17: warning: 'attr_setf' is deprecated: Use fsetxattr instead [-Wdeprecated-declarations] 802 | rv = attr_setf(fd, | ^~ In file included from hsmapi.c:28: /usr/include/attr/attributes.h:143:12: note: declared here 143 | extern int attr_setf (int __fd, const char *__attrname, | ^~~~~~~~~ hsmapi.c: In function 'HsmEndRestoreFile': hsmapi.c:874:17: warning: 'attr_removef' is deprecated: Use fremovexattr instead [-Wdeprecated-declarations] 874 | rv = attr_removef( fd, DMF_ATTR_NAME , ATTR_ROOT ); | ^~ /usr/include/attr/attributes.h:155:12: note: declared here 155 | extern int attr_removef (int __fd, const char *__attrname, int __flags) | ^~~~~~~~~~~~ util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t gmake[2]: *** [../include/buildrules:46: hsmapi.o] Error 1 util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t In file included from inv_fstab.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_fstab.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ inomap.c:82:42: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 82 | static int cb_count_inogrp( void *, int, xfs_inogrp_t *); | ^~~~~~~~~~~~ | xfs_ino_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:83:40: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 83 | static int cb_add_inogrp( void *, int, xfs_inogrp_t * ); | ^~~~~~~~~~~~ | xfs_ino_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ inomap.c:84:51: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 84 | static int cb_add( void *, jdm_fshandle_t *, int, xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:92:29: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 92 | xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:96:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 96 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ inomap.c:98:51: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 98 | static off64_t quantity2offset( jdm_fshandle_t *, xfs_bstat_t *, off64_t ); | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:99:37: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 99 | static off64_t estimate_dump_space( xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t In file included from hsmapi.h:22, from content.c:46: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from content.c:34: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.c:122:15: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 122 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t inomap.c:113:37: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 113 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:118:39: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 118 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t util.c:128:15: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 128 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:122:36: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 122 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t In file included from content.c:52: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.c:257:14: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 257 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:147:15: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 147 | xfs_bstat_t *rootstatp, | ^~~~~~~~~~~ | xfs_bstime_t util.c:277:33: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 277 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.c:278:14: error: expected ';', ',' or ')' before 'void' 278 | void * arg1, | ^~~~ util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t inomap.c:491:40: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 491 | cb_count_inogrp( void *arg1, int fsfd, xfs_inogrp_t *inogrp ) | ^~~~~~~~~~~~ | xfs_ino_t inomap.c:508:9: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 508 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t util.c:342:10: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 342 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:694:15: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 694 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.c:346:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 346 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.c:348:10: error: expected ';', ',' or ')' before 'void' 348 | void *arg1, | ^~~~ util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:815:13: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 815 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ gmake[2]: *** [../include/buildrules:46: util.o] Error 1 inomap.c:1119:38: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 1119 | cb_add_inogrp( void *arg1, int fsfd, xfs_inogrp_t *inogrp ) | ^~~~~~~~~~~~ | xfs_ino_t util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ inomap.c:1475:20: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 1475 | xfs_bstat_t *rootstatp, | ^~~~~~~~~~~ | xfs_bstime_t gmake[2]: *** [../include/buildrules:46: drive_simple.o] Error 1 [CC] timeutil.o inomap.c:1516:23: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 1516 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t [CC] inv_files.o [CC] invutil.o [CC] cmenu.o inomap.c:1599:21: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 1599 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t [CC] fstab.o [CC] invidx.o inomap.c:1627:45: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 1627 | quantity2offset( jdm_fshandle_t *fshandlep, xfs_bstat_t *statp, off64_t qty ) | ^~~~~~~~~~~ | xfs_bstime_t [CC] list.o [CC] menu.o [CC] screen.o [CC] stobj.o content.c:264:24: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 264 | xfs_bstat_t *bstatbufp, | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:1702:22: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 1702 | estimate_dump_space( xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t content.c:270:23: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 270 | xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t inomap.c:1167:1: warning: 'inomap_add' defined but not used [-Wunused-function] 1167 | inomap_add( void *contextp, xfs_ino_t ino, gen_t gen, int state ) | ^~~~~~~~~~ inomap.c:785:1: warning: 'cb_spinit' defined but not used [-Wunused-function] 785 | cb_spinit( void ) | ^~~~~~~~~ inomap.c:772:1: warning: 'cb_accuminit_sz' defined but not used [-Wunused-function] 772 | cb_accuminit_sz( void ) | ^~~~~~~~~~~~~~~ inomap.c:667:1: warning: 'cb_inoresumed' defined but not used [-Wunused-function] 667 | cb_inoresumed( xfs_ino_t ino ) | ^~~~~~~~~~~~~ inomap.c:642:1: warning: 'cb_inoinresumerange' defined but not used [-Wunused-function] 642 | cb_inoinresumerange( xfs_ino_t ino ) | ^~~~~~~~~~~~~~~~~~~ inomap.c:485:1: warning: 'cb_context_free' defined but not used [-Wunused-function] 485 | cb_context_free( void ) | ^~~~~~~~~~~~~~~ inomap.c:448:1: warning: 'cb_context' defined but not used [-Wunused-function] 448 | cb_context( bool_t last, | ^~~~~~~~~~ inomap.c:135:17: warning: 'inomap_exclude_skipattr' defined but not used [-Wunused-variable] 135 | static uint64_t inomap_exclude_skipattr = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ inomap.c:134:17: warning: 'inomap_exclude_filesize' defined but not used [-Wunused-variable] 134 | static uint64_t inomap_exclude_filesize = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ inomap.c:133:18: warning: 'inomap_statdonep' defined but not used [-Wunused-variable] 133 | static size64_t *inomap_statdonep; | ^~~~~~~~~~~~~~~~ inomap.c:132:14: warning: 'inomap_statpassp' defined but not used [-Wunused-variable] 132 | static ix_t *inomap_statpassp; | ^~~~~~~~~~~~~~~~ inomap.c:131:14: warning: 'inomap_statphasep' defined but not used [-Wunused-variable] 131 | static ix_t *inomap_statphasep; | ^~~~~~~~~~~~~~~~~ gmake[2]: *** [../include/buildrules:46: inomap.o] Error 1 content.c:274:24: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 274 | xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t content.c:279:28: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 279 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t content.c:284:29: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 284 | xfs_bstat_t * ); | ^~~~~~~~~~~ | xfs_bstime_t content.c:287:27: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 287 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t content.c:298:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 298 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t content.c:304:40: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 304 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t content.c:309:32: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 309 | xfs_bstat_t *, | ^~~~~~~~~~~ | xfs_bstime_t content.c:354:28: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 354 | xfs_bstat_t *statp); | ^~~~~~~~~~~ | xfs_bstime_t content.c:358:32: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 358 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t content.c:362:40: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 362 | static char *dump_extattr_buildrecord( xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from menu.c:24: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from menu.c:22: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:371:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 371 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t content.c:434:8: error: unknown type name 'xfs_bstat_t' 434 | static xfs_bstat_t *sc_rootxfsstatp = 0; | ^~~~~~~~~~~ [CC] arch_xlate.o [CC] cldmgr.o [CC] dlog.o [CC] drive.o [CC] drive_scsitape.o content.c: In function 'content_init': content.c:1459:27: error: 'xfs_bstat_t' undeclared (first use in this function); did you mean 'xfs_bstat'? 1459 | ( xfs_bstat_t * )calloc( 1, sizeof( xfs_bstat_t )); | ^~~~~~~~~~~ | xfs_bstat content.c:1459:27: note: each undeclared identifier is reported only once for each function it appears in content.c:1459:41: error: expected expression before ')' token 1459 | ( xfs_bstat_t * )calloc( 1, sizeof( xfs_bstat_t )); | ^ [CC] drive_simple.o [CC] drive_minrmt.o [CC] fs.o [CC] getdents.o [CC] global.o [CC] hsmapi.o content.c:1462:21: warning: implicit declaration of function 'bigstat_one' [-Wimplicit-function-declaration] 1462 | if (bigstat_one(sc_fsfd, rootstat.st_ino, sc_rootxfsstatp) < 0) { | ^~~~~~~~~~~ [CC] lock.o [CC] main.o content.c:1508:28: warning: passing argument 3 of 'inomap_build' from incompatible pointer type [-Wincompatible-pointer-types] 1508 | sc_rootxfsstatp, | ^~~~~~~~~~~~~~~ | | | int * In file included from content.c:67: inomap.h:52:47: note: expected 'struct xfs_bstat *' but argument is of type 'int *' 52 | struct xfs_bstat *rootstatp, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ [CC] mlog.o In file included from cmenu.h:21, from list.c:24: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from list.c:21: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | [CC] openutil.o [CC] path.o content.c:1573:55: error: request for member 'bs_ino' in something not a structure or union 1573 | scwhdrtemplatep->cih_rootino = sc_rootxfsstatp->bs_ino; | ^~ In file included from invutil.c:33: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from invutil.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c: In function 'content_stream_dump': [CC] qlock.o content.c:2167:9: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 2167 | xfs_bstat_t *bstatbufp; | ^~~~~~~~~~~ | xfs_bstime_t [CC] ring.o invutil.c: In function 'CheckAndPruneFstab': invutil.c:580:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 580 | ftruncate(fd, | ^~~~~~~~~~~~~ 581 | sizeof(invt_counter_t) + (sizeof(invt_fstab_t) * fstabEntries)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] stream.o invutil.c: In function 'CheckAndPruneInvIndexFile': invutil.c:686:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 686 | ftruncate( fd, | ^~~~~~~~~~~~~~ 687 | sizeof(invt_counter_t) + (validEntries * sizeof(invt_entry_t)) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] timeutil.o invutil.c: In function 'CheckAndPruneStObjFile': content.c:2178:23: error: 'xfs_bstat_t' undeclared (first use in this function); did you mean 'xfs_bstat'? 2178 | bstatbufp = ( xfs_bstat_t * )calloc( bstatbuflen, | ^~~~~~~~~~~ | xfs_bstat invutil.c:870:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 870 | fgets( response, GEN_STRLEN, stdin ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ content.c:2178:37: error: expected expression before ')' token 2178 | bstatbufp = ( xfs_bstat_t * )calloc( bstatbuflen, | ^ [CC] util.o [CC] inv_api.o In file included from invidx.c:31: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from invidx.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | [CC] inv_core.o [CC] inv_files.o In file included from cmenu.h:21, from screen.c:27: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from screen.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:2382:30: warning: implicit declaration of function 'dump_dirs' [-Wimplicit-function-declaration] 2382 | rv = dump_dirs( strmix, | ^~~~~~~~~ [CC] inv_fstab.o In file included from fstab.c:30: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from fstab.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from arch_xlate.h:23, from arch_xlate.c:26: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from arch_xlate.c:22: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | [CC] inv_idx.o content.c:2426:32: warning: implicit declaration of function 'bigstat_iter' [-Wimplicit-function-declaration] 2426 | rval = bigstat_iter( sc_fshandlep, | ^~~~~~~~~~~~ [CC] inv_mgr.o [CC] inv_stobj.o content.c:2430:48: error: 'bstat_cbfp_t' undeclared (first use in this function); did you mean 'bstat_seekfp_t'? 2430 | ( bstat_cbfp_t )dump_file, | ^~~~~~~~~~~~ | bstat_seekfp_t content.c:2430:62: error: expected ')' before 'dump_file' 2430 | ( bstat_cbfp_t )dump_file, | ^~~~~~~~~ | ) content.c:2426:44: note: to match this '(' 2426 | rval = bigstat_iter( sc_fshandlep, | ^ invidx.c: In function 'close_invidx': invidx.c:1081:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1081 | ftruncate(invidx_file[idx].fd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1082 | sizeof(invt_counter_t) + (nEntries * sizeof(invt_entry_t)) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fstab.c: In function 'close_fstab': fstab.c:433:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 433 | ftruncate(fstab_file[fidx].fd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | sizeof(invt_counter_t) + (sizeof(invt_fstab_t) * fstabentries)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ content.c:2496:30: warning: implicit declaration of function 'dump_filehdr'; did you mean 'dump_extenthdr'? [-Wimplicit-function-declaration] 2496 | rv = dump_filehdr( drivep, | ^~~~~~~~~~~~ | dump_extenthdr In file included from drive.c:29: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive.c:25: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | drive.c: In function 'drive_init1': drive.c:112:41: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 112 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:36:1: note: include '' or provide a declaration of 'calloc' 35 | #include "drive.h" +++ |+#include 36 | drive.c:112:41: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 112 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:112:41: note: include '' or provide a declaration of 'calloc' drive.c:174:41: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 174 | drivepp = ( drive_t ** )calloc( drivecnt, sizeof( drive_t * )); | ^~~~~~ drive.c:174:41: note: include '' or provide a declaration of 'calloc' drive.c: In function 'drive_alloc': drive.c:361:31: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 361 | drivep = ( drive_t * )calloc( 1, sizeof( drive_t )); | ^~~~~~ drive.c:361:31: note: include '' or provide a declaration of 'calloc' [CC] bag.o drive.c: In function 'drive_allochdrs': drive.c:402:36: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 402 | grhdrp = ( global_hdr_t * )calloc( 1, sizeof( global_hdr_t )); | ^~~~~~ drive.c:402:36: note: include '' or provide a declaration of 'calloc' content.c: At top level: [CC] content.o content.c:2854:12: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 2854 | xfs_bstat_t *bstatbufp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from stobj.c:30: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from stobj.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | [CC] dirattr.o content.c:2976:11: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 2976 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t [CC] inomap.o In file included from drive_minrmt.c:38: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive_minrmt.c:34: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from cmenu.c:30: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from cmenu.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:3217:16: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3217 | xfs_bstat_t *statp) | ^~~~~~~~~~~ | xfs_bstime_t [CC] mmap.o In file included from drive_simple.c:39: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from drive_simple.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | [CC] namreg.o [CC] node.o [CC] tree.o content.c:3317:20: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3317 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from drive_simple.c:40: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t [CC] win.o In file included from fs.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from fs.c:31: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from global.c:31: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from global.c:25: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:3620:27: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3620 | dump_extattr_buildrecord( xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t In file included from global.c:32: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t In file included from mlog.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from mlog.c:30: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from drive_scsitape.c:38: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from drive_scsitape.c:34: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:3703:18: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3703 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t fs.c: In function 'fs_getid': fs.c:207:9: error: unknown type name 'xfs_fsop_geom_v1_t'; did you mean 'xfs_fsop_resblks_t'? 207 | xfs_fsop_geom_v1_t geo; | ^~~~~~~~~~~~~~~~~~ | xfs_fsop_resblks_t fs.c:221:29: error: request for member 'uuid' in something not a structure or union 221 | uuid_copy( *idb, geo.uuid ); | ^ util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t content.c:3760:12: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3760 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ gmake[2]: *** [../include/buildrules:46: fs.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ content.c:3990:16: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 3990 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ In file included from hsmapi.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from hsmapi.c:27: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from main.c:44: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from main.c:39: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:4211:17: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 4211 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t In file included from inv_idx.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_idx.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | hsmapi.c:273:9: error: unknown type name 'xfs_bstat_t' 273 | const xfs_bstat_t *statp, | ^~~~~~~~~~~ hsmapi.c:270:1: error: conflicting types for 'HsmEstimateFileSpace'; have 'int(hsm_fs_ctxt_t *, hsm_f_ctxt_t *, const int *, off64_t *, int)' {aka 'int(void *, void *, const int *, long int *, int)'} 270 | HsmEstimateFileSpace( | ^~~~~~~~~~~~~~~~~~~~ In file included from hsmapi.c:37: hsmapi.h:94:1: note: previous declaration of 'HsmEstimateFileSpace' with type 'int(hsm_fs_ctxt_t *, hsm_f_ctxt_t *, const struct xfs_bstat *, off64_t *, int)' {aka 'int(void *, void *, const struct xfs_bstat *, long int *, int)'} 94 | HsmEstimateFileSpace( | ^~~~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmEstimateFileSpace': hsmapi.c:303:69: warning: passing argument 2 of 'HsmInitFileContext' from incompatible pointer type [-Wincompatible-pointer-types] 303 | if (HsmInitFileContext((hsm_f_ctxt_t *)&dmf_f_ctxt, statp)) { | ^~~~~ | | | const int * hsmapi.h:184:34: note: expected 'const struct xfs_bstat *' but argument is of type 'const int *' 184 | const struct xfs_bstat *statp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ hsmapi.c:321:27: error: request for member 'bs_mode' in something not a structure or union 321 | if ((statp->bs_mode & S_IFMT) != S_IFREG) { | ^~ hsmapi.c:324:27: error: request for member 'bs_xflags' in something not a structure or union 324 | if ((statp->bs_xflags & XFS_XFLAG_HASATTR) == 0) { | ^~ hsmapi.c:327:27: error: request for member 'bs_dmevmask' in something not a structure or union 327 | if ((statp->bs_dmevmask & DMF_EV_BITS) == 0) { | ^~ hsmapi.c: At top level: hsmapi.c:356:9: error: unknown type name 'xfs_bstat_t' 356 | const xfs_bstat_t *statp, | ^~~~~~~~~~~ hsmapi.c:354:1: error: conflicting types for 'HsmEstimateFileOffset'; have 'int(hsm_fs_ctxt_t *, const int *, off64_t, off64_t *)' {aka 'int(void *, const int *, long int, long int *)'} 354 | HsmEstimateFileOffset( | ^~~~~~~~~~~~~~~~~~~~~ hsmapi.h:118:1: note: previous declaration of 'HsmEstimateFileOffset' with type 'int(hsm_fs_ctxt_t *, const struct xfs_bstat *, off64_t, off64_t *)' {aka 'int(void *, const struct xfs_bstat *, long int, long int *)'} 118 | HsmEstimateFileOffset( | ^~~~~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmEstimateFileOffset': hsmapi.c:370:61: warning: passing argument 2 of 'HsmInitFileContext' from incompatible pointer type [-Wincompatible-pointer-types] 370 | if (HsmInitFileContext((hsm_f_ctxt_t *)&dmf_f_ctxt, statp)) { | ^~~~~ | | | const int * hsmapi.h:184:34: note: expected 'const struct xfs_bstat *' but argument is of type 'const int *' 184 | const struct xfs_bstat *statp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ hsmapi.c:377:36: error: request for member 'bs_size' in something not a structure or union 377 | *byteoffset = statp->bs_size; | ^~ hsmapi.c: At top level: hsmapi.c:461:9: error: unknown type name 'xfs_bstat_t' 461 | const xfs_bstat_t *statp) | ^~~~~~~~~~~ hsmapi.c:459:1: error: conflicting types for 'HsmInitFileContext'; have 'int(hsm_f_ctxt_t *, const int *)' {aka 'int(void *, const int *)'} 459 | HsmInitFileContext( | ^~~~~~~~~~~~~~~~~~ hsmapi.h:182:1: note: previous declaration of 'HsmInitFileContext' with type 'int(hsm_f_ctxt_t *, const struct xfs_bstat *)' {aka 'int(void *, const struct xfs_bstat *)'} 182 | HsmInitFileContext( | ^~~~~~~~~~~~~~~~~~ hsmapi.c: In function 'HsmInitFileContext': hsmapi.c:473:19: error: request for member 'bs_mode' in something not a structure or union 473 | if ((statp->bs_mode & S_IFMT) != S_IFREG) { | ^~ hsmapi.c:476:19: error: request for member 'bs_xflags' in something not a structure or union 476 | if ((statp->bs_xflags & XFS_XFLAG_HASATTR) == 0) { | ^~ hsmapi.c:479:19: error: request for member 'bs_dmevmask' in something not a structure or union 479 | if ((statp->bs_dmevmask & DMF_EV_BITS) == 0 ) { | ^~ content.c:4325:28: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 4325 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t hsmapi.c:495:33: error: 'xfs_bstat_t' undeclared (first use in this function); did you mean 'xfs_bstat'? 495 | (xfs_bstat_t *)statp, | ^~~~~~~~~~~ | xfs_bstat hsmapi.c:495:33: note: each undeclared identifier is reported only once for each function it appears in hsmapi.c:495:46: error: expected expression before ')' token 495 | (xfs_bstat_t *)statp, | ^ hsmapi.c:494:17: error: too few arguments to function 'jdm_attr_multi' 494 | error = jdm_attr_multi(dmf_f_ctxtp->fsys.fshanp, | ^~~~~~~~~~~~~~ In file included from hsmapi.c:30: /usr/include/xfs/jdm.h:42:1: note: declared here 42 | jdm_attr_multi( jdm_fshandle_t *fshp, | ^~~~~~~~~~~~~~ hsmapi.c:529:46: error: request for member 'bs_size' in something not a structure or union 529 | dmf_f_ctxtp->filesize = statp->bs_size; | ^~ mmap.c: In function 'mmap_autogrow': content.c:4388:20: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 4388 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t fstab.c: In function 'fstab_highlight': fstab.c:167:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=] 167 | snprintf(txt, sizeof(txt), "device: %s", fstabentry->ft_devpath); | ^~ mmap.c:41:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | (void)write(fd, nul_buffer, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from /usr/include/xfs/linux.h:15: In function 'snprintf', inlined from 'fstab_highlight' at fstab.c:167:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gmake[2]: *** [../include/buildrules:46: global.o] Error 1 hsmapi.c: At top level: hsmapi.c:556:9: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 556 | xfs_bstat_t *statp) | ^~~~~~~~~~~ | xfs_bstime_t hsmapi.c: In function 'HsmBeginRestoreFile': hsmapi.c:802:17: warning: 'attr_setf' is deprecated: Use fsetxattr instead [-Wdeprecated-declarations] 802 | rv = attr_setf(fd, | ^~ In file included from hsmapi.c:28: /usr/include/attr/attributes.h:143:12: note: declared here 143 | extern int attr_setf (int __fd, const char *__attrname, | ^~~~~~~~~ hsmapi.c: In function 'HsmEndRestoreFile': hsmapi.c:874:17: warning: 'attr_removef' is deprecated: Use fremovexattr instead [-Wdeprecated-declarations] 874 | rv = attr_removef( fd, DMF_ATTR_NAME , ATTR_ROOT ); | ^~ /usr/include/attr/attributes.h:155:12: note: declared here 155 | extern int attr_removef (int __fd, const char *__attrname, int __flags) | ^~~~~~~~~~~~ In file included from inv_api.c:37: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_api.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inv_core.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_core.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from inv_fstab.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_fstab.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | content.c:4980:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 4980 | copy_xfs_bstat(bstat_t *dst, xfs_bstat_t *src) | ^~~~~~~~~~~ | xfs_bstime_t gmake[2]: *** [../include/buildrules:46: hsmapi.o] Error 1 content.c:5011:15: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 5011 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t invidx.c: In function 'invidx_highlight': content.c:5134:14: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 5134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t invidx.c:704:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 704 | snprintf(txt, sizeof(txt), "path: %s", invtentry->ie_filename); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from /usr/include/xfs/linux.h:15: In function 'snprintf', inlined from 'invidx_highlight' at invidx.c:704:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 263 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from util.c:33: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from util.c:28: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from util.c:34: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t gmake[2]: *** [../include/buildrules:46: drive_simple.o] Error 1 In file included from dirattr.c:46: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from dirattr.c:29: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t In file included from dirattr.c:47: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t In file included from inv_mgr.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_mgr.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ stobj.c: In function 'stobjstrm_highlight': stobj.c:227:58: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 230 and 231 [-Wformat-truncation=] 227 | snprintf(txt, sizeof(txt), "interrupted: %s, cmdarg: %s", | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from /usr/include/xfs/linux.h:15: In function 'snprintf', inlined from 'stobjstrm_highlight' at stobj.c:227:5: util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 26 and 282 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ util.c:122:15: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 122 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t content.c: In function 'save_quotas': util.c:128:15: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 128 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t content.c:6697:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 6697 | read(fd, &tmp, 1); | ^~~~~~~~~~~~~~~~~ util.c:257:14: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 257 | xfs_bstat_t *statp ) | ^~~~~~~~~~~ | xfs_bstime_t In file included from inv_stobj.c:37: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inv_stobj.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | In file included from namreg.c:34: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from namreg.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.c:277:33: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 277 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.c:278:14: error: expected ';', ',' or ')' before 'void' 278 | void * arg1, | ^~~~ util.c:342:10: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 342 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from node.c:32: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from node.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.c:346:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 346 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.c:348:10: error: expected ';', ',' or ')' before 'void' 348 | void *arg1, | ^~~~ content.c: In function 'Media_mfile_begin': stobj.c: In function 'stobjsess_highlight': stobj.c:199:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=] 199 | snprintf(txt, sizeof(txt), "mountpt: %s, fsid: %s", stobjses->s_mountpt, uuidstr); | ^~ In function 'snprintf', inlined from 'stobjsess_highlight' at stobj.c:199:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 18 and 309 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stobj.c: In function 'stobjsess_highlight': stobj.c:203:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=] 203 | snprintf(txt, sizeof(txt), "device: %s, sesid: %s", stobjses->s_devpath, uuidstr); | ^~ In function 'snprintf', inlined from 'stobjsess_highlight' at stobj.c:203:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 310 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ content.c:6014:12: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 6014 | system(media_change_alert_program); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from inomap.c:36: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | gmake[2]: *** [../include/buildrules:46: util.o] Error 1 In file included from /usr/include/xfs/linux.h:8, from /usr/include/xfs/xfs.h:9, from inomap.c:19: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | gmake[2]: *** [../include/buildrules:46: dirattr.o] Error 1 In file included from inomap.c:37: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t content.c: At top level: util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t content.c:5507:1: warning: 'write_pad' defined but not used [-Wunused-function] 5507 | write_pad( drive_t *drivep, size_t sz ) | ^~~~~~~~~ content.c:5060:1: warning: 'dump_extenthdr' defined but not used [-Wunused-function] 5060 | dump_extenthdr( drive_t *drivep, | ^~~~~~~~~~~~~~ content.c:4380:1: warning: 'cleanup_extent_group_context' defined but not used [-Wunused-function] 4380 | cleanup_extent_group_context( extent_group_context_t *gcp ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t In file included from tree.c:42: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from tree.c:37: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t gmake[2]: *** [../include/buildrules:46: content.o] Error 1 In file included from content.c:44: types.h:38: warning: "UUID_STR_LEN" redefined 38 | #define UUID_STR_LEN 36 | In file included from content.c:38: /usr/include/uuid/uuid.h:66: note: this is the location of the previous definition 66 | #define UUID_STR_LEN 37 | util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t In file included from content.c:46: util.h:90:34: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 90 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ util.h:99:31: error: unknown type name 'bstat_cbfp_t'; did you mean 'bstat_seekfp_t'? 99 | bstat_cbfp_t fp, | ^~~~~~~~~~~~ | bstat_seekfp_t util.h:105:31: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 105 | xfs_bstat_t *buf, | ^~~~~~~~~~~ | xfs_bstime_t util.h:110:30: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 110 | xfs_bstat_t *statp ); | ^~~~~~~~~~~ | xfs_bstime_t util.h:115:49: error: unknown type name 'xfs_inogrp_t'; did you mean 'xfs_ino_t'? 115 | xfs_inogrp_t *inogrp ), | ^~~~~~~~~~~~ | xfs_ino_t util.h:116:30: error: expected ';', ',' or ')' before 'void' 116 | void * arg1, | ^~~~ util.h:134:26: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 134 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:138:46: error: unknown type name 'xfs_bstat_t'; did you mean 'xfs_bstime_t'? 138 | xfs_bstat_t *statp, | ^~~~~~~~~~~ | xfs_bstime_t util.h:140:26: error: expected ';', ',' or ')' before 'void' 140 | void *arg1, | ^~~~ gmake[2]: *** [../include/buildrules:46: inomap.o] Error 1 content.c: In function 'setextattr': content.c:8875:9: warning: 'attr_set' is deprecated: Use setxattr or lsetxattr instead [-Wdeprecated-declarations] 8875 | rval = attr_set( path, | ^~~~ In file included from content.c:27: /usr/include/attr/attributes.h:139:12: note: declared here 139 | extern int attr_set (const char *__path, const char *__attrname, | ^~~~~~~~ content.c: In function 'Media_mfile_next': content.c:4797:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 4797 | system(media_change_alert_program); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ content.c: In function 'restore_extent': content.c:8633:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 8633 | ftruncate(fd, bstatp->bs_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [../include/buildrules:46: content.o] Error 1 invidx.c: In function 'invidx_commit': invidx.c:252:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=] 252 | snprintf(cmd, sizeof(cmd), "cp %s %s", stobjfile, dst_stobjfile); | ^~ ~~~~~~~~~~~~~ In function 'snprintf', inlined from 'invidx_commit' at invidx.c:252:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 5 or more bytes (assuming 4100) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ invidx.c: In function 'invidx_commit': invidx.c:322:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=] 322 | snprintf(cmd, sizeof(cmd), "cp %s %s", stobjfile, dst_stobjfile); | ^~ ~~~~~~~~~~~~~ In function 'snprintf', inlined from 'invidx_commit' at invidx.c:322:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 5 or more bytes (assuming 4100) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [LD] xfsinvutil gmake[1]: *** [include/buildrules:23: dump] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: *** [include/buildrules:23: restore] Error 2 make: *** [Makefile:53: default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.dhwx56 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dhwx56 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xfsdump.spec