Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.spec'], chrootPath='/var/lib/mock/f38-build-700437-88070/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/jfsutils-1.1.15-24.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.spec'], chrootPath='/var/lib/mock/f38-build-700437-88070/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GHw2xT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jfsutils-1.1.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jfsutils-1.1.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jfsutils-1.1.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -name '*.[ch]' -exec chmod -x '{}' ';' + echo 'Patch #0 (jfsutils-1.1.15_stdint.patch):' Patch #0 (jfsutils-1.1.15_stdint.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libfs/devices.h + echo 'Patch #1 (jfsutils_format-security_ftbs.patch):' Patch #1 (jfsutils_format-security_ftbs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fscklog/display.c patching file fscklog/fscklog.c patching file logdump/helpers.c + echo 'Patch #2 (jfsutils_sysmacros.patch):' Patch #2 (jfsutils_sysmacros.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libfs/devices.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.585oIr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jfsutils-1.1.15 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2011-03-04 14:19:39.000000000 -0500 +++ ./configure 2023-03-24 07:51:21.726043666 -0400 @@ -1836,7 +1836,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 style of include used by make... GNU checking dependency style of gcc... none checking for ln... /usr/bin/ln checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for unistd.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking for getcwd... yes checking for getmntinfo... no checking for strtol... yes checking for strtoul... yes checking for posix_memalign... yes checking for memalign... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no configure: creating ./config.status config.status: creating Makefile config.status: creating libfs/Makefile config.status: creating include/Makefile config.status: creating fsck/Makefile config.status: creating fscklog/Makefile config.status: creating logdump/Makefile config.status: creating mkfs/Makefile config.status: creating tune/Makefile config.status: creating xpeek/Makefile config.status: creating jfsutils.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15' Making all in libfs make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fssubs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c unicode_to_utf8.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c devices.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c utilsubs.c utilsubs.c: In function 'prompt': utilsubs.c:60:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fgets(cmd, 81, stdin); | ^~~~~~~~~~~~~~~~~~~~~ utilsubs.c: In function 'more': utilsubs.c:76:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fgets(cmd, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~ devices.c: In function 'ujfs_rw_diskblocks': devices.c:445:86: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' {aka 'long int'} [-Wformat=] 445 | "ujfs_rw_diskblocks: %s %zd of %d bytes at offset %lld\n", | ~~~^ | | | long long int | %ld 446 | (mode == GET) ? "read" : "wrote", 447 | Bytes_Transferred, disk_count, disk_offset); | ~~~~~~~~~~~ | | | int64_t {aka long int} gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c super.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c inode.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c diskmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c message.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c uniupr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c jfs_endian.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c open_by_label.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c log_dump.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c logform.c log_dump.c: In function 'jfs_logdump': log_dump.c:333:58: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] 333 | nextaddr = logRead(logaddr, &ld, afterdata); | ^~~~~~~~~ | | | uint8_t * {aka unsigned char *} log_dump.c:167:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 167 | extern int logRead(int32_t, struct lrd *, char *); | ^~~~~~ log_dump.c: In function 'ldmp_xdump': open_by_label.c: In function 'open_check_label': open_by_label.c:72:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 72 | if (!strncmp(uuid, logsup.label, 16)) | ^~~~ | | | unsigned char * log_dump.c:652:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 652 | i = (int) saddr % 4; | ^ In file included from open_by_label.c:21: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ open_by_label.c:84:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 84 | if (!strncmp(uuid, super.s_label, 16)) | ^~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ logform.c: In function 'jfs_logform': logform.c:153:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 153 | strncpy((char *) &log_sup->label, label, sizeof (log_sup->label)); | ^ open_by_label.c: In function 'open_by_label': open_by_label.c:276:60: warning: '%s' directive writing up to 255 bytes into a region of size 86 [-Wformat-overflow=] 276 | sprintf(lv_dirname, "/proc/lvm/VGs/%s/LVs", vg_ent->d_name); | ^~ In file included from /usr/include/stdio.h:906, from open_by_label.c:20: In function 'sprintf', inlined from 'open_by_label' at open_by_label.c:276:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 19 and 274 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ open_by_label.c: In function 'open_by_label': open_by_label.c:284:55: warning: '%s' directive writing up to 255 bytes into a region of size 95 [-Wformat-overflow=] 284 | sprintf(device, "/dev/%s/%s", vg_ent->d_name, lv_ent->d_name); | ^~ In function 'sprintf', inlined from 'open_by_label' at open_by_label.c:284:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 517 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c logredo.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c log_work.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c log_read.c logredo.c: In function 'jfs_logredo': logredo.c:617:50: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] 617 | nextaddr = logRead(logaddr, &ld, afterdata); | ^~~~~~~~~ | | | uint8_t * {aka unsigned char *} logredo.c:173:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 173 | extern int logRead(int32_t, struct lrd *, char *); | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c log_map.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckmsgdef.c rm -f libfs.a ar cru libfs.a fssubs.o unicode_to_utf8.o devices.o utilsubs.o super.o inode.o diskmap.o message.o uniupr.o jfs_endian.o open_by_label.o log_dump.o logform.o logredo.o log_work.o log_read.o log_map.o fsckmsgdef.o ranlib libfs.a make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' Making all in include make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/include' Making all in fsck make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckbmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckconn.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckdire.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckdtre.c fsckbmap.c: In function 'dmap_pwmap_rebuild': fsckbmap.c:391:43: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] 391 | ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from fsckbmap.c:22: ../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' 25 | int8_t ujfs_maxbuddy(unsigned char *); | ^~~~~~~~~~~~~~~ fsckbmap.c: In function 'dmap_pmap_verify': fsckbmap.c:478:43: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] 478 | max_buddy = ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' 25 | int8_t ujfs_maxbuddy(unsigned char *); | ^~~~~~~~~~~~~~~ fsckdtre.c: In function 'dTree_key_extract_cautiously': fsckdtre.c:1641:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1641 | (unsigned short) NULL) { | ^ fsckdtre.c: In function 'dTree_key_extract_record': fsckdtre.c:1777:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1777 | (unsigned short) NULL) { | ^ fsckdire.c: In function 'dtSplitPage': fsckdire.c:940:22: warning: pointer targets in assignment from 'int8_t *' {aka 'signed char *'} to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 940 | stbl = DT_GETSTBL(rp); | ^ fsckdtre.c: In function 'reconnect_fs_inodes': fsckdtre.c:3917:63: warning: pointer targets in passing argument 2 of 'UTF8_String_To_Unicode_String' differ in signedness [-Wpointer-sign] 3917 | ino_name, | ^~~~~~~~ | | | char * In file included from fsckdtre.c:30: ../libfs/unicode_to_utf8.h:18:68: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 18 | int UTF8_String_To_Unicode_String(uint16_t * pwcs, const uint8_t * s, int maxLen); | ~~~~~~~~~~~~~~~~^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckea.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckimap.c fsckimap.c: In function 'AIS_redundancy_check': fsckimap.c:1001:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1001 | tree_offset = (int32_t) &(((struct dinode *)0)->di_btroot); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckino.c fsckino.c: In function 'validate_record_fileset_inode': fsckino.c:1844:13: warning: variable 'intermed_rc' set but not used [-Wunused-but-set-variable] 1844 | int intermed_rc = FSCK_OK; | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckmeta.c fsckdtre.c:3911:60: warning: '%s' directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] 3911 | sprintf(ino_name, "%s%06d%s", | ^~ 3912 | msg_defs[fsck_inopfx].msg_txt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3911:59: note: using the range [-2147483648, 2147483647] for directive argument 3911 | sprintf(ino_name, "%s%06d%s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:906, from xfsckint.h:21, from fsckdtre.c:21: In function 'sprintf', inlined from 'reconnect_fs_inodes' at fsckdtre.c:3911:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 610 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fsckdtre.c: In function 'reconnect_fs_inodes': fsckdtre.c:3906:60: warning: '%s' directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] 3906 | sprintf(ino_name, "%s%06d%s", | ^~ 3907 | msg_defs[fsck_dirpfx].msg_txt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3906:59: note: using the range [-2147483648, 2147483647] for directive argument 3906 | sprintf(ino_name, "%s%06d%s", | ^~~~~~~~~~ In function 'sprintf', inlined from 'reconnect_fs_inodes' at fsckdtre.c:3906:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 610 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckpfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c dirindex.c fsckpfs.c: In function 'blkmap_flush': fsckpfs.c:347:35: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] 347 | struct fsck_blk_map_page *fsck_bmpt_ptr; | ^~~~~~~~~~~~~ fsckpfs.c: In function 'blkmap_get_page': fsckpfs.c:490:35: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] 490 | struct fsck_blk_map_page *fsck_bmpt_ptr; | ^~~~~~~~~~~~~ fsckpfs.c: In function 'blktbl_dmap_get': fsckpfs.c:768:22: warning: variable 'dmap_t_ptr' set but not used [-Wunused-but-set-variable] 768 | struct dmap *dmap_t_ptr; | ^~~~~~~~~~ fsckpfs.c: In function 'blktbl_dmaps_flush': fsckpfs.c:918:22: warning: variable 'dmap_t_ptr' set but not used [-Wunused-but-set-variable] 918 | struct dmap *dmap_t_ptr; | ^~~~~~~~~~ fsckpfs.c: In function 'imapleaf_get': fsckpfs.c:2125:19: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] 2125 | xtpage_t *xtpage_t_ptr; | ^~~~~~~~~~~~ fsckpfs.c: In function 'node_get': fsckpfs.c:3090:19: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] 3090 | xtpage_t *xtpage_t_ptr; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckwsp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckxtre.c fsckwsp.c: In function 'establish_wsp_block_map_ctl.part.0': fsckwsp.c:1484:17: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 1484 | strncpy(agg_recptr->blkmp_ctlptr->hdr.eyecatcher, | ^ fsckwsp.c:1503:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] 1503 | "%d/%d/%d %d:%02d:%02d", fsck_DateTime->tm_mon + 1, | ^~ fsckwsp.c:1503:25: note: directive argument in the range [-2147481748, 2147483647] 1503 | "%d/%d/%d %d:%02d:%02d", fsck_DateTime->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from xfsckint.h:21, from fsckwsp.c:26: In function 'sprintf', inlined from 'establish_wsp_block_map_ctl.part.0' at fsckwsp.c:1502:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 14 and 72 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c xchkdsk.c xchkdsk.c: In function 'initial_processing': xchkdsk.c:1432:13: warning: variable 'iml_rc' set but not used [-Wunused-but-set-variable] 1432 | int iml_rc = FSCK_OK; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckruns.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsck_message.c fsck_message.c: In function 'fsck_record_msg': fsck_message.c:43:9: warning: 'strncpy' specified bound 510 equals destination size [-Wstringop-truncation] 43 | strncpy(msg, msg_txt, max_log_entry_length - entry_length); | ^ xchkdsk.c: In function 'main': xchkdsk.c:432:36: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] 432 | sprintf(time_stamp, "%d/%d/%d %d:%02d:%02d", | ^~ xchkdsk.c:432:29: note: directive argument in the range [-2147481748, 2147483647] 432 | sprintf(time_stamp, "%d/%d/%d %d:%02d:%02d", | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from xfsckint.h:21, from xchkdsk.c:28: In function 'sprintf', inlined from 'main' at xchkdsk.c:432:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 14 and 72 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_fsck fsckbmap.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid ../libfs/log_work.c:329:16: warning: type of 'afterdata' does not match original declaration [-Wlto-type-mismatch] 329 | extern uint8_t afterdata[LOGPSIZE]; /* buffer to read in redopage data */ | ^ ../libfs/logredo.c:154:9: note: array types have different bounds 154 | uint8_t afterdata[LOGPSIZE * 2]; /* buffer to read in redopage data */ | ^ ../libfs/logredo.c:154:9: note: 'afterdata' was previously declared here make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' Making all in fscklog make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fscklog.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c extract.c fscklog.c: In function 'parse_parms': fscklog.c:205:33: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 205 | strncpy(file_name, optarg, arg_len); | ^ fscklog.c:198:35: note: length computed here 198 | arg_len = strlen(optarg); | ^~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_fscklog fscklog.o display.o extract.o ../libfs/libfs.a make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' Making all in logdump make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c logdump.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c helpers.c gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_logdump logdump.o helpers.o ../libfs/libfs.a -luuid ../libfs/log_work.c:329:16: warning: type of 'afterdata' does not match original declaration [-Wlto-type-mismatch] 329 | extern uint8_t afterdata[LOGPSIZE]; /* buffer to read in redopage data */ | ^ ../libfs/log_dump.c:149:9: note: array types have different bounds 149 | uint8_t afterdata[LOGPSIZE * 2]; /* buffer to read in redopage data */ | ^ ../libfs/log_dump.c:149:9: note: 'afterdata' was previously declared here make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' Making all in mkfs make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c initmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c inodemap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c inodes.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c mkfs.c mkfs.c: In function 'parse_journal_opts': mkfs.c:601:61: warning: pointer targets in passing argument 1 of 'open_by_label' differ in signedness [-Wpointer-sign] 601 | open_by_label((char *) opts + 7 + 6, 1, 1, | ~~~~~~~~~~~~~~~~~~^~~ | | | char * mkfs.c:52:21: note: expected 'unsigned char *' but argument is of type 'char *' 52 | FILE *open_by_label(uuid_t, int, int, char *, int *); | ^~~~~~ mkfs.c: In function 'main': mkfs.c:898:88: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=] 898 | printf("Requested blocks exceed number of blocks on device: %lld.\n", | ~~~^ | | | long long int | %ld 899 | number_of_blocks); | ~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} mkfs.c:990:29: warning: the address of 'volume_label' will always evaluate as 'true' [-Waddress] 990 | && volume_label) { | ^~ initmap.c: In function 'dbAlloc': initmap.c:735:47: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] 735 | leafw = ujfs_maxbuddy((char *) &p1->wmap[word]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from initmap.c:34: ../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' 25 | int8_t ujfs_maxbuddy(unsigned char *); | ^~~~~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:215:2: inodes.c:476:68: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 476 | ((xtpage_t *) & (new_inode->di_DASD))->header.flag = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:215:2: inodes.c:485:73: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 485 | ((xtpage_t *) & (new_inode->di_DASD))->header.nextindex = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:215:2: inodes.c:487:72: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 487 | ((xtpage_t *) & (new_inode->di_DASD))->header.maxentry = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:231:2: inodes.c:476:68: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 476 | ((xtpage_t *) & (new_inode->di_DASD))->header.flag = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:231:2: inodes.c:485:73: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 485 | ((xtpage_t *) & (new_inode->di_DASD))->header.nextindex = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:231:2: inodes.c:487:72: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 487 | ((xtpage_t *) & (new_inode->di_DASD))->header.maxentry = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:244:2: inodes.c:476:68: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 476 | ((xtpage_t *) & (new_inode->di_DASD))->header.flag = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:244:2: inodes.c:485:73: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 485 | ((xtpage_t *) & (new_inode->di_DASD))->header.nextindex = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:244:2: inodes.c:487:72: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 487 | ((xtpage_t *) & (new_inode->di_DASD))->header.maxentry = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:286:2: inodes.c:476:68: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 476 | ((xtpage_t *) & (new_inode->di_DASD))->header.flag = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:286:2: inodes.c:485:73: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 485 | ((xtpage_t *) & (new_inode->di_DASD))->header.nextindex = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inode_table' at inodes.c:286:2: inodes.c:487:72: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 487 | ((xtpage_t *) & (new_inode->di_DASD))->header.maxentry = inodes.c: In function 'init_fileset_inode_table': inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'create_aggregate', inlined from 'main' at mkfs.c:1063:7: mkfs.c:352:24: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[5]' [-Warray-bounds=] 352 | inode_map_dscr = | ~~~~~~~~~~~~~~~^ 353 | ((xtpage_t *) & (aggr_inodes[BMAP_I].di_DASD))->xad[XTENTRYSTART]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.c: In function 'main': mkfs.c:75:22: note: at offset 1248 into object 'aggr_inodes' of size 2560 75 | static struct dinode aggr_inodes[INIT_NUM_AGGR_INODES]; | ^~~~~~~~~~~ In function 'create_aggregate', inlined from 'main' at mkfs.c:1063:7: mkfs.c:352:24: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[5]' [-Warray-bounds=] 352 | inode_map_dscr = | ~~~~~~~~~~~~~~~^ 353 | ((xtpage_t *) & (aggr_inodes[BMAP_I].di_DASD))->xad[XTENTRYSTART]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.c: In function 'main': mkfs.c:75:22: note: at offset 1248 into object 'aggr_inodes' of size 2560 75 | static struct dinode aggr_inodes[INIT_NUM_AGGR_INODES]; | ^~~~~~~~~~~ mkfs.c:522:9: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 15 [-Wstringop-truncation] 522 | strncpy(aggr_superblock.s_fpack, volume_label, LV_NAME_SIZE); | ^ mkfs.c:730:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 730 | strncpy(volume_label, optarg, 16); | ^ In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: inodes.c:448:68: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 448 | ((xtpage_t *) & (new_inode->di_DASD))->header.flag = inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: inodes.c:457:73: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 457 | ((xtpage_t *) & (new_inode->di_DASD))->header.nextindex = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 458 | XTENTRYSTART + 1; | ~~~~~~~~~~~~~~~~ inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: inodes.c:459:72: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 459 | ((xtpage_t *) & (new_inode->di_DASD))->header.maxentry = inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In file included from ../include/jfs_dinode.h:27, from ../libfs/jfs_endian.h:26, from inodes.c:26: In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: ../include/jfs_xtree.h:56:52: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 56 | #define XADlength(xad, length32) (xad)->len = __cpu_to_le24(length32) inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: ../include/jfs_xtree.h:53:22: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 53 | (xad)->addr1 = ((uint64_t)address64) >> 32;\ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ In function 'init_inode', inlined from 'init_fileset_inodes' at inodes.c:370:2: ../include/jfs_xtree.h:54:22: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 54 | (xad)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\ inodes.c: In function 'init_fileset_inodes': inodes.c:346:23: note: at offset 224 into object 'inode_buffer' of size 512 346 | struct dinode inode_buffer; | ^~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_mkfs initmap.o inodemap.o inodes.o mkfs.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' Making all in tune make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c tune.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c super.c tune.c: In function 'parse_journal_opts': tune.c:92:66: warning: pointer targets in passing argument 1 of 'open_by_label' differ in signedness [-Wpointer-sign] 92 | log_fd = open_by_label((char *) opts + 7 + 6, 1, 1, | ~~~~~~~~~~~~~~~~~~^~~ | | | char * tune.c:47:29: note: expected 'unsigned char *' but argument is of type 'char *' 47 | extern FILE * open_by_label(uuid_t, int, int, char *, int *); | ^~~~~~ tune.c:96:29: warning: the address of 'logdev' will always evaluate as 'true' [-Waddress] 96 | if (logdev) | ^~~~~~ tune.c: In function 'main': tune.c:335:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 335 | strncpy(logsup.label, new_label, sizeof (logsup.label)); | ^ tune.c:324:25: warning: 'strncpy' specified bound 11 equals destination size [-Wstringop-truncation] 324 | strncpy(sb.s_fpack, new_label, sizeof (sb.s_fpack)); | ^ tune.c:328:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 328 | strncpy(sb.s_label, new_label, sizeof (sb.s_label)); | ^ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_tune tune.o super.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' Making all in xpeek make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c alter.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c fsckcbbl.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c iag.c alter.c: In function 'alter': alter.c:87:16: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 87 | buffer = (char *) malloc(length); | ^ alter.c:44:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'display': display.c:51:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_cbblfsck': fsckcbbl.c:166:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_fsck_wsphdr': fsckcbbl.c:292:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_logsuper': fsckcbbl.c:429:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'iag': iag.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'change_iag': iag.c:161:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'display_map': iag.c:350:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c: In function 'display_ext': iag.c:382:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 382 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ iag.c:400:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c io.c fsckcbbl.c: In function 'display_cbblfsck': fsckcbbl.c:213:17: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 213 | strncpy(cbblrec->bufptr_eyecatcher, token, 8); | ^ fsckcbbl.c:177:17: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 177 | strncpy(cbblrec->eyecatcher, token, 8); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c super2.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c xpeek.c fsckcbbl.c: In function 'display_fsck_wsphdr': fsckcbbl.c:303:17: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 303 | strncpy(wp->hdr.eyecatcher, token, 8); | ^ super2.c: In function 'display_super2': super2.c:220:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_logsuper': fsckcbbl.c:477:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 477 | strncpy(lsp->label, token, 16); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c directory.c super2.c:332:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 332 | strncpy(sb->s_label, token, 16); | ^ super2.c:235:17: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 235 | strncpy(sb->s_magic, token, 4); | ^ directory.c: In function 'print_direntry': directory.c:199:39: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 199 | Unicode_String_to_UTF8_String(UTF8_Buffer, name, entry->namlen); | ^~~~~~~~~~~ | | | char * In file included from directory.c:31: ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c dmap.c directory.c: In function 'display_leaf_slots': directory.c:593:47: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 593 | Unicode_String_to_UTF8_String(UTF8_Buffer, leaf->name, leaf->namlen); | ^~~~~~~~~~~ | | | char * ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ directory.c: In function 'display_slot': directory.c:652:39: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 652 | Unicode_String_to_UTF8_String(UTF8_Buffer, slot[index].name, JFS_PATH_MAX); | ^~~~~~~~~~~ | | | char * ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ directory.c: In function 'display_internal_slots': directory.c:694:47: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 694 | Unicode_String_to_UTF8_String(UTF8_Buffer, entry->name, entry->namlen); | ^~~~~~~~~~~ | | | char * ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ directory.c: In function 'directory': directory.c:72:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'dtree': directory.c:222:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c:303:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'xtree': directory.c:410:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 410 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c:463:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_leaf_slots': directory.c:601:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 601 | fgets(cmd_line, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_internal_xtpage': directory.c:795:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 795 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c help.c dmap.c: In function 'display_dbmap': dmap.c:168:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_cpage': dmap.c:324:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_leaf': dmap.c:523:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_tree': dmap.c:721:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:745:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 745 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:796:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 796 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:826:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 826 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_agfree': dmap.c:895:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 895 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c inode.c inode.c: In function 'inode': inode.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inode.c: In function 'change_inode': inode.c:192:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c super.c super.c: In function 'display_super': super.c:229:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'xtree': directory.c:457:18: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 457 | if (xtree->header.nextindex > 2) { | ^~ In file included from xpeek.h:23, from directory.c:27: ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:491:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 491 | xtree->header.self.addr2 = strtoul(token, 0, 0); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:488:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 488 | xtree->header.self.addr1 = strtoul(token, 0, 0); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:485:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 485 | xtree->header.self.len = strtoul(token, 0, 0); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:482:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 482 | xtree->header.maxentry = strtoul(token, 0, 0); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:479:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 479 | xtree->header.nextindex = strtoul(token, 0, 0); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:476:38: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 476 | xtree->header.flag = strtoul(token, 0, 16); | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:511:18: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 511 | if (xtree->header.nextindex <= 2) | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ directory.c:514:18: warning: array subscript 'union xtpage_t[0]' is partly outside array bounds of 'union xtpage_t[0:]' [-Warray-bounds=] 514 | if (xtree->header.flag & BT_LEAF) | ^~ ../include/jfs_dinode.h:96:47: note: at offset 128 into object '_table' of size 96 96 | struct dir_table_slot _table[12]; /* 96: inline */ | ^~~~~~ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ super.c:336:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 336 | strncpy(sb->s_label, token, 16); | ^ super.c:323:17: warning: 'strncpy' specified bound 11 equals destination size [-Wstringop-truncation] 323 | strncpy(sb->s_fpack, token, 11); | ^ super.c:244:17: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 244 | strncpy(sb->s_magic, token, 4); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c ui.c dmap.c: In function 'display_leaf': dmap.c:548:20: warning: 'dmap' may be used uninitialized [-Wmaybe-uninitialized] 548 | if (dmap < LPERCTL - 1) { | ^ dmap.c:491:13: note: 'dmap' was declared here 491 | int dmap, l0, l1; | ^~~~ dmap.c:48:49: warning: 'l0' may be used uninitialized [-Wmaybe-uninitialized] 48 | #define L0PAGE(l1, l0) (L1PAGE(l1) + 1 + ((l0) * L0FACTOR)) | ~~~~~~^~~~~~~~~~~ dmap.c:491:19: note: 'l0' was declared here 491 | int dmap, l0, l1; | ^~ dmap.c:47:36: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized] 47 | #define L1PAGE(l1) (2 + ((l1) * L1FACTOR)) | ~~~~~~^~~~~~~~~~~ dmap.c:491:23: note: 'l1' was declared here 491 | int dmap, l0, l1; | ^~ ui.c: In function 'm_parse': ui.c:40:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'dtree': directory.c:263:20: warning: array subscript 'union dtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 263 | if (!(dtree->header.flag & BT_ROOT)) | ^~ directory.c:211:23: note: at offset 224 into object 'inode' of size 512 211 | struct dinode inode; | ^~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o jfs_debugfs alter.o display.o fsckcbbl.o iag.o io.o super2.o xpeek.o directory.o dmap.o help.o inode.o super.o ui.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uwO7L9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jfsutils-1.1.15 + rm -rf /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 Making install in libfs make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/libfs' Making install in include make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/include' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/include' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/include' Making install in fsck make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_fsck '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' /usr/bin/ln -f /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_fsck /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/fsck.jfs make[3]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_fsck.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' /usr/bin/ln -f /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8/jfs_fsck.8 /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8/fsck.jfs.8 make[3]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' Making install in fscklog make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_fscklog '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_fscklog.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' Making install in logdump make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_logdump '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_logdump.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/logdump' Making install in mkfs make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_mkfs '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_mkfs /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/mkfs.jfs make[3]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_mkfs.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8/jfs_mkfs.8 /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8/mkfs.jfs.8 make[3]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/mkfs' Making install in tune make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_tune '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_tune.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/tune' Making install in xpeek make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin" /usr/bin/install -c jfs_debugfs '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 jfs_debugfs.8 '/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/xpeek' make[1]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15' make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1.15-24.fc38 --unique-debug-suffix -1.1.15-24.fc38.riscv64 --unique-debug-src-base jfsutils-1.1.15-24.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jfsutils-1.1.15 extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/fsck.jfs extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_debugfs extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_fscklog extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_logdump extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_mkfs extracting debug info from /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/sbin/jfs_tune hard linked /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/lib/debug/usr/sbin/jfs_mkfs-1.1.15-24.fc38.riscv64.debug to /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/lib/debug/usr/sbin/mkfs.jfs-1.1.15-24.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/lib/debug/usr/sbin/fsck.jfs-1.1.15-24.fc38.riscv64.debug to /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/lib/debug/usr/sbin/jfs_fsck-1.1.15-24.fc38.riscv64.debug original debug info size: 5456kB, size after compression: 5156kB /usr/bin/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 3584 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: jfsutils-1.1.15-24.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NzlajO + umask 022 + cd /builddir/build/BUILD + cd jfsutils-1.1.15 + DOCDIR=/builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + cp -pr AUTHORS /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + cp -pr COPYING /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + cp -pr NEWS /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + cp -pr ChangeLog /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64/usr/share/doc/jfsutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: jfsutils = 1.1.15-24.fc38 jfsutils(riscv-64) = 1.1.15-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Processing files: jfsutils-debugsource-1.1.15-24.fc38.riscv64 Provides: jfsutils-debugsource = 1.1.15-24.fc38 jfsutils-debugsource(riscv-64) = 1.1.15-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jfsutils-debuginfo-1.1.15-24.fc38.riscv64 Provides: debuginfo(build-id) = 4183077a2d044a5c9e497a7d2fda9d7b9ba58f2d debuginfo(build-id) = 4c8ca7ac1fa1ac055a612ef59112e287a076c661 debuginfo(build-id) = 644396b092264327fd323bd79851fd11d8c35331 debuginfo(build-id) = 74b25319cc14a0d41ef9999686a604d3a85c9910 debuginfo(build-id) = cf4aa016269bfb3fc546cd6780941fafdbe5f5b9 debuginfo(build-id) = e6dd6170bf5d38506583724ebb3070281a4ab8e0 debuginfo(build-id) = nilnil jfsutils-debuginfo = 1.1.15-24.fc38 jfsutils-debuginfo(riscv-64) = 1.1.15-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jfsutils-debugsource(riscv-64) = 1.1.15-24.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 Wrote: /builddir/build/RPMS/jfsutils-1.1.15-24.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/jfsutils-debuginfo-1.1.15-24.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/jfsutils-debugsource-1.1.15-24.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3hZ3WV + umask 022 + cd /builddir/build/BUILD + cd jfsutils-1.1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jfsutils-1.1.15-24.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.J1JO5V + umask 022 + cd /builddir/build/BUILD + rm -rf jfsutils-1.1.15 jfsutils-1.1.15.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0