Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.spec'], chrootPath='/var/lib/mock/f33-build-122473-38308/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/jfsutils-1.1.15-15.fc33.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/f33-build-122473-38308/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QmSDSa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jfsutils-1.1.15 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /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 -p1 --fuzz=0 patching file libfs/devices.h Patch #1 (jfsutils_format-security_ftbs.patch): + echo 'Patch #1 (jfsutils_format-security_ftbs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file fscklog/display.c patching file fscklog/fscklog.c patching file logdump/helpers.c Patch #2 (jfsutils_sysmacros.patch): + echo 'Patch #2 (jfsutils_sysmacros.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libfs/devices.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WugfX8 + umask 022 + cd /builddir/build/BUILD + cd jfsutils-1.1.15 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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 + ./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... no checking for 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fssubs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c unicode_to_utf8.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c devices.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c utilsubs.c utilsubs.c: In function 'prompt': utilsubs.c:60:2: 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:2: 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:58: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c super.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c inode.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c diskmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c message.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c uniupr.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c jfs_endian.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c open_by_label.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c log_dump.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c logform.c open_by_label.c: In function 'open_check_label': open_by_label.c:72:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 72 | if (!strncmp(uuid, logsup.label, 16)) | ^~~~ | | | unsigned char * In file included from open_by_label.c:21: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ open_by_label.c:84:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 84 | if (!strncmp(uuid, super.s_label, 16)) | ^~~~ | | | unsigned char * In file included from open_by_label.c:21: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c logredo.c log_dump.c: In function 'jfs_logdump': log_dump.c:333:37: 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': log_dump.c:652:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 652 | i = (int) saddr % 4; | ^ open_by_label.c: In function 'open_by_label': open_by_label.c:276:39: 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:867, from open_by_label.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open_by_label.c:284:27: 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 file included from /usr/include/stdio.h:867, from open_by_label.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 517 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logredo.c: In function 'jfs_logredo': logredo.c:617:36: 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 *); | ^~~~~~ In file included from /usr/include/string.h:495, from logform.c:26: In function 'strncpy', inlined from 'jfs_logform' at logform.c:153:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c log_work.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c log_read.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c log_map.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckbmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckconn.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckdire.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckdtre.c fsckbmap.c: In function 'dmap_pwmap_rebuild': fsckbmap.c:391:22: 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:29: 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 * 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 *); | ^~~~~~~~~~~~~~~ fsckdire.c: In function 'dtSplitPage': fsckdire.c:940:8: 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 'dTree_key_extract_cautiously': fsckdtre.c:1641:7: 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:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1777 | (unsigned short) NULL) { | ^ fsckdtre.c: In function 'reconnect_fs_inodes': fsckdtre.c:3917:14: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckea.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckimap.c fsckimap.c: In function 'AIS_redundancy_check': fsckimap.c:1001:16: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckino.c fsckino.c: In function 'validate_record_fileset_inode': fsckino.c:1844:6: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckmeta.c fsckdtre.c:3911:25: 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:24: note: using the range [-2147483648, 2147483647] for directive argument 3911 | sprintf(ino_name, "%s%06d%s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 610 bytes into a destination of size 16 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3906:25: 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:24: note: using the range [-2147483648, 2147483647] for directive argument 3906 | sprintf(ino_name, "%s%06d%s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 610 bytes into a destination of size 16 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckpfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c dirindex.c fsckpfs.c: In function 'blkmap_flush': fsckpfs.c:347:28: 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:28: 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:15: 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:15: 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:12: 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:12: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckwsp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckxtre.c In file included from /usr/include/string.h:495, from fsckwsp.c:20: In function 'strncpy', inlined from 'establish_wsp_block_map_ctl.part.0' at fsckwsp.c:1484:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckwsp.c: In function 'establish_wsp_block_map_ctl.part.0': fsckwsp.c:1503:11: 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:4: 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:867, from xfsckint.h:21, from fsckwsp.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 20 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xchkdsk.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsckruns.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fsck_message.c xchkdsk.c: In function 'initial_processing': xchkdsk.c:1432:6: warning: variable 'iml_rc' set but not used [-Wunused-but-set-variable] 1432 | int iml_rc = FSCK_OK; | ^~~~~~ In file included from /usr/include/string.h:495, from fsck_message.c:5: In function 'strncpy', inlined from 'fsck_record_msg' at fsck_message.c:43:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 510 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xchkdsk.c: In function 'main': xchkdsk.c:432:29: 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:22: 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:867, from xfsckint.h:21, from xchkdsk.c:28: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 20 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fscklog.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c extract.c In file included from /usr/include/string.h:495, from fscklog.c:69: In function 'strncpy', inlined from 'parse_parms' at fscklog.c:205:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fscklog.c: In function 'parse_parms': fscklog.c:198:14: note: length computed here 198 | arg_len = strlen(optarg); | ^~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_fscklog fscklog.o display.o extract.o ../libfs/libfs.a /usr/bin/ld: extract.o: in function `.LANCHOR0': /builddir/build/BUILD/jfsutils-1.1.15/fscklog/extract.c:67: multiple definition of `xchklog_buffer'; display.o:/builddir/build/BUILD/jfsutils-1.1.15/fscklog/display.c:57: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:259: jfs_fscklog] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' make[1]: *** [Makefile:260: all-recursive] Error 1 make: *** [Makefile:196: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.WugfX8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WugfX8 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jfsutils.spec