Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtar.spec'], chrootPath='/var/lib/mock/f31-build-59630-28595/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtar.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=1548979200 Wrote: /builddir/build/SRPMS/libtar-1.2.20-17.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtar.spec'], chrootPath='/var/lib/mock/f31-build-59630-28595/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtar.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=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hgs1yZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtar-v1.2.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtar-v1.2.20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtar-v1.2.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.11-missing-protos.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.11-mem-deref.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.20-fix-resource-leaks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.11-bz729009.patch + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.20-no-static-buffer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libtar-1.2.20-static-analysis.patch + sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number 1:2:20/' lib/Makefile.in + autoreconf -iv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal -I autoconf BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy BUILDSTDERR: autoreconf: running: /usr/bin/autoconf BUILDSTDERR: autoreconf: running: /usr/bin/autoheader BUILDSTDERR: autoreconf: running: automake --add-missing --copy --no-force BUILDSTDERR: configure.ac:19: installing 'autoconf/compile' BUILDSTDERR: configure.ac:33: installing 'autoconf/config.guess' BUILDSTDERR: configure.ac:33: installing 'autoconf/config.sub' BUILDSTDERR: configure.ac:13: installing 'autoconf/install-sh' BUILDSTDERR: configure.ac:13: installing 'autoconf/missing' BUILDSTDERR: Makefile.am: installing './INSTALL' BUILDSTDERR: autoreconf: Leaving directory `.' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autoconf'. libtoolize: copying file 'autoconf/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'autoconf'. libtoolize: copying file 'autoconf/libtool.m4' libtoolize: copying file 'autoconf/ltoptions.m4' libtoolize: copying file 'autoconf/ltsugar.m4' libtoolize: copying file 'autoconf/ltversion.m4' libtoolize: copying file 'autoconf/lt~obsolete.m4' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oEfxnZ + umask 022 + cd /builddir/build/BUILD + cd libtar-v1.2.20 + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess BUILDSTDERR: ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub BUILDSTDERR: ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./autoconf/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --disable-static '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' 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 make supports nested variables... yes checking for epkg... no checking for mkencap... no checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for strlcpy... no checking for strsep... yes 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes BUILDSTDERR: checking if gcc static flag -stat+ make -j4 ic works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for thread local storage (TLS) class... __thread checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for major_t... no checking for minor_t... no checking for dev_t... yes checking for socklen_t... yes checking for uint64_t... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for nlink_t... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for working basename... no checking for libgen.h... (cached) yes checking for working dirname... no checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking for working POSIX fnmatch... yes checking for lchown... yes checking whether makedev expects three arguments... no checking for working snprintf... yes checking for strdup... yes checking for strftime... yes checking for strlcpy... (cached) no checking for strmode... no checking for strsep... (cached) yes checking for gzread in -lz... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating listhash/libtar_listhash.h config.status: creating listhash/libtar_list.c config.status: creating listhash/libtar_hash.c config.status: creating listhash/libtar_list_new.3 config.status: creating listhash/libtar_hash_new.3 config.status: creating Makefile config.status: creating lib/Makefile config.status: creating libtar/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/lib' /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o append.lo append.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o block.lo block.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o decode.lo decode.c BUILDSTDERR: /bin/sh ../libtool In file included from /usr/include/string.h:494, BUILDSTDERR: from encode.c:21: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'th_finish' at encode.c:42:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'th_finish' at encode.c:37:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'th_set_path' at encode.c:91:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./internal.h:16, BUILDSTDERR: from encode.c:13: BUILDSTDERR: encode.c: In function 'th_set_device': BUILDSTDERR: ./libtar.h:283:28: warning: '%*lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:151:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 151 | int_to_oct(major(device), t->th_buf.devmajor, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:29: note: format string is defined here BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:151:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 151 | int_to_oct(major(device), t->th_buf.devmajor, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from encode.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 13 bytes into a destination of size 8 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./internal.h:16, BUILDSTDERR: from encode.c:13: BUILDSTDERR: ./libtar.h:283:28: warning: '%*lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:152:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 152 | int_to_oct(minor(device), t->th_buf.devminor, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:29: note: format string is defined here BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:152:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 152 | int_to_oct(minor(device), t->th_buf.devminor, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from encode.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 13 bytes into a destination of size 8 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from block.c:18: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'th_write' at block.c:308:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'th_write' at block.c:359:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./internal.h:16, BUILDSTDERR: from encode.c:13: BUILDSTDERR: encode.c: In function 'th_set_user': BUILDSTDERR: ./libtar.h:283:28: warning: '%*lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:166:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 166 | int_to_oct(uid, t->th_buf.uid, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:29: note: format string is defined here BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:166:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 166 | int_to_oct(uid, t->th_buf.uid, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from encode.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 13 bytes into a destination of size 8 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./internal.h:16, BUILDSTDERR: from encode.c:13: BUILDSTDERR: encode.c: In function 'th_set_group': BUILDSTDERR: ./libtar.h:283:28: warning: '%*lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:180:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 180 | int_to_oct(gid, t->th_buf.gid, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:29: note: format string is defined here BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:180:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 180 | int_to_oct(gid, t->th_buf.gid, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from encode.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 13 bytes into a destination of size 8 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./internal.h:16, BUILDSTDERR: from encode.c:13: BUILDSTDERR: encode.c: In function 'th_set_mode': BUILDSTDERR: ./libtar.h:283:28: warning: '%*lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:193:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 193 | int_to_oct(fmode, (t)->th_buf.mode, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:29: note: format string is defined here BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: 283 | snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: encode.c:193:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: 193 | int_to_oct(fmode, (t)->th_buf.mode, 8); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from encode.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 13 bytes into a destination of size 8 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o encode.lo encode.c libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c decode.c -fPIC -DPIC -o .libs/decode.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c block.c -fPIC -DPIC -o .libs/block.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c append.c -fPIC -DPIC -o .libs/append.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c encode.c -fPIC -DPIC -o .libs/encode.o /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o extract.lo extract.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o handle.lo handle.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o libtar_hash.lo ../listhash/libtar_hash.c libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c extract.c -fPIC -DPIC -o .libs/extract.o /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o libtar_list.lo ../listhash/libtar_list.c BUILDSTDERR: libtool: compile: gcc -O2 -gextract.c: In function 'tar_extract_regfile': BUILDSTDERR: extract.c:160:8: warning: variable 'gid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 160 | gid_t gid; BUILDSTDERR: | ^~~ BUILDSTDERR: extract.c:159:8: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 159 | uid_t uid; BUILDSTDERR: | ^~~ BUILDSTDERR: extract.c:157:9: warning: variable 'mode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 157 | mode_t mode; BUILDSTDERR: | ^~~~ BUILDSTDERR: handle.c: In function 'tar_init': BUILDSTDERR: handle.c:47:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 47 | (*t)->pathname = pathname; BUILDSTDERR: | ^ BUILDSTDERR: util.c: In function 'int_to_oct_nonull': BUILDSTDERR: util.c:159:26: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 159 | snprintf(oct, octlen, "%*lo", octlen - 1, (unsigned long)num); BUILDSTDERR: | ~^~~ ~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int size_t {aka long unsigned int} -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. -I.. -I. -I../compat -I../listhash -c handle.c -fPIC -DPIC -o .libs/handle.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c ../listhash/libtar_hash.c -fPIC -DPIC -o .libs/libtar_hash.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c ../listhash/libtar_list.c -fPIC -DPIC -o .libs/libtar_list.o /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o output.lo output.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o util.lo util.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o wrapper.lo wrapper.c libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c output.c -fPIC -DPIC -o .libs/output.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c util.c -fPIC -DPIC -o .libs/util.o /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o strlcpy.lo ../compat/strlcpy.c libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c wrapper.c -fPIC -DPIC -o .libs/wrapper.o BUILDSTDERR: libtool: compile: gcc -O2 -g -../compat/basename.c:31:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 31 | static char rcsid[] = "$OpenBSD: basename.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../compat/dirname.c:31:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 31 | static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; BUILDSTDERR: | ^~~~~ 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. -I.. -I. -I../compat -I../listhash -c ../compat/strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o basename.lo ../compat/basename.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o dirname.lo ../compat/dirname.c /bin/sh ../libtool --mode=compile gcc -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. -I.. -I. -I../compat -I../listhash -c -o strmode.lo ../compat/strmode.c libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c ../compat/basename.c -fPIC -DPIC -o .libs/basename.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c ../compat/strmode.c -fPIC -DPIC -o .libs/strmode.o libtool: compile: gcc -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. -I.. -I. -I../compat -I../listhash -c ../compat/dirname.c -fPIC -DPIC -o .libs/dirname.o /bin/sh ../libtool --mode=link gcc -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 libtar.la append.lo block.lo decode.lo encode.lo extract.lo handle.lo libtar_hash.lo libtar_list.lo output.lo util.lo wrapper.lo strlcpy.lo basename.lo dirname.lo strmode.lo -rpath /usr/lib64 -version-number 1:2:20 BUILDSTDERR: libtool: link: gcc -shared -fPIC -DPIC .libs/append.o .libs/block.o .libs/decode.o .libs/encode.o .libs/extract.o .libs/handle.o .libs/libtar_hash.o .libs/libtar_list.o .libs/output.o .libs/util.o .libs/wrapper.o .libs/strlcpy.o .libs/basename.o .libs/dirname.o .libs/strmode.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-halibtar.c: In function 'gzopen_frontend': BUILDSTDERR: libtar.c:103:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 103 | return (int)gzf; BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 rdened-ld -Wl,-soname -Wl,libtar.so.1 -o .libs/libtar.so.1.2.20 libtool: link: (cd ".libs" && rm -f "libtar.so.1" && ln -s "libtar.so.1.2.20" "libtar.so.1") libtool: link: (cd ".libs" && rm -f "libtar.so" && ln -s "libtar.so.1.2.20" "libtar.so") libtool: link: ( cd ".libs" && rm -f "libtar.la" && ln -s "../libtar.la" "libtar.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/lib' Making all in libtar make[2]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/libtar' /bin/sh ../libtool --mode=compile gcc -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.. -I../lib -I../listhash -I../lib -I../compat -c -o libtar.lo libtar.c libtool: compile: gcc -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.. -I../lib -I../listhash -I../lib -I../compat -c libtar.c -fPIC -DPIC -o .libs/libtar.o /bin/sh ../libtool --mode=link gcc -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 libtar libtar.lo -L../lib -lz -ltar libtool: link: gcc -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 -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/libtar .libs/libtar.o -L../lib -lz /builddir/build/BUILD/libtar-v1.2.20/lib/.libs/libtar.so make[2]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/libtar' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/doc' make[2]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20' make[2]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20' make[1]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PTRbk1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 + cd libtar-v1.2.20 + make install DESTDIR=/builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libtar-v1.2.20/lib/libtar.la' has not been installed in '/usr/lib64' Making install in lib make[1]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/lib' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libtar.la /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64 libtool: install: /usr/bin/install -c -m 644 .libs/libtar.so.1.2.20 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.so.1.2.20 libtool: install: (cd /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64 && { ln -s -f libtar.so.1.2.20 libtar.so.1 || { rm -f libtar.so.1 && ln -s libtar.so.1.2.20 libtar.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64 && { ln -s -f libtar.so.1.2.20 libtar.so || { rm -f libtar.so && ln -s libtar.so.1.2.20 libtar.so; }; }) libtool: install: /usr/bin/install -c -m 644 .libs/libtar.lai /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.la mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/include /usr/bin/install -c -m 644 ./libtar.h /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/include /usr/bin/install -c -m 644 ../listhash/libtar_listhash.h /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/include make[1]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/lib' Making install in libtar make[1]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/libtar' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c libtar /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/bin libtool: install: /usr/bin/install -c .libs/libtar /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/bin/libtar make[1]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/libtar' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20/doc' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 /usr/bin/install -c -m 644 ./tar_open.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in tar_fdopen tar_fd tar_close; do \ echo ".so man3/tar_open.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./tar_append_file.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in tar_append_eof tar_append_regfile; do \ echo ".so man3/tar_append_file.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./tar_block_read.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in tar_block_write; do \ echo ".so man3/tar_block_read.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./th_read.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in th_write; do \ echo ".so man3/th_read.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./th_set_from_stat.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in th_finish th_set_device th_set_group th_set_link th_set_mode th_set_path th_set_type th_set_user; do \ echo ".so man3/th_set_from_stat.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./tar_extract_file.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in tar_extract_blockdev tar_extract_chardev tar_extract_dir tar_extract_fifo tar_extract_hardlink tar_extract_regfile tar_extract_symlink tar_skip_regfile tar_set_file_perms; do \ echo ".so man3/tar_extract_file.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./th_get_pathname.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 BUILDSTDERR: fo+ chmod +x /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.so.1.2.20 + rm /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.la + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.20-17.fc31 --unique-debug-suffix -1.2.20-17.fc31.riscv64 --unique-debug-src-base libtar-1.2.20-17.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libtar-v1.2.20 BUILDSTDERR: 182 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs r i in TH_ISBLK TH_ISCHR TH_ISDIR TH_ISFIFO TH_ISLNK TH_ISLONGLINK TH_ISLONGNAME TH_ISREG TH_ISSYM th_get_crc th_get_devmajor th_get_devminor th_get_gid th_get_linkname th_get_mode th_get_mtime th_get_size th_get_uid; do \ echo ".so man3/th_get_pathname.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./th_print_long_ls.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in th_print; do \ echo ".so man3/th_print_long_ls.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./tar_extract_all.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in tar_extract_glob tar_append_tree; do \ echo ".so man3/tar_extract_all.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ../listhash/libtar_hash_new.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in libtar_hash_free libtar_hash_next libtar_hash_prev libtar_hash_search libtar_hash_add libtar_hash_getkey libtar_hash_del; do \ echo ".so man3/libtar_hash_new.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ../listhash/libtar_list_new.3 /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3 for i in libtar_list_free libtar_list_next libtar_list_prev libtar_list_search libtar_list_add libtar_list_add_str libtar_list_del libtar_list_dup libtar_list_merge; do \ echo ".so man3/libtar_list_new.3" > /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/man/man3/${i}.3; \ done make[1]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20/doc' make[1]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20' make[2]: Entering directory '/builddir/build/BUILD/libtar-v1.2.20' 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/libtar-v1.2.20' make[1]: Leaving directory '/builddir/build/BUILD/libtar-v1.2.20' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/bin/libtar explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.so.1.2.20 extracting debug info from /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/bin/libtar extracting debug info from /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/lib64/libtar.so.1.2.20 original debug info size: 224kB, size after compression: 204kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Processing files: libtar-1.2.20-17.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5UZhqZ + umask 022 + cd /builddir/build/BUILD + cd libtar-v1.2.20 + DOCDIR=/builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + cp -pr COPYRIGHT /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + cp -pr TODO /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + cp -pr README /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + cp -pr ChangeLog ChangeLog-1.0.x /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64/usr/share/doc/libtar + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libtar = 1.2.20-17.fc31 libtar(riscv-64) = 1.2.20-17.fc31 libtar.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libtar.so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libtar-devel-1.2.20-17.fc31.riscv64 Provides: libtar-devel = 1.2.20-17.fc31 libtar-devel(riscv-64) = 1.2.20-17.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtar.so.1()(64bit) Processing files: libtar-debugsource-1.2.20-17.fc31.riscv64 Provides: libtar-debugsource = 1.2.20-17.fc31 libtar-debugsource(riscv-64) = 1.2.20-17.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtar-debuginfo-1.2.20-17.fc31.riscv64 Provides: debuginfo(build-id) = 3951a897356803499a50a0d2c0c1b064b3d96608 debuginfo(build-id) = 5126d92e47bef3ea1d028e5d3d7b9603e082b074 libtar-debuginfo = 1.2.20-17.fc31 libtar-debuginfo(riscv-64) = 1.2.20-17.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtar-debugsource(riscv-64) = 1.2.20-17.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 Wrote: /builddir/build/RPMS/libtar-devel-1.2.20-17.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtar-1.2.20-17.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtar-debugsource-1.2.20-17.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtar-debuginfo-1.2.20-17.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bkXvE3 + umask 022 + cd /builddir/build/BUILD + cd libtar-v1.2.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtar-1.2.20-17.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0