Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtar.spec'], chrootPath='/var/lib/mock/f29-build-1418-524/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 BUILDSTDERR: warning: bogus date in %changelog: Fri Apr 7 2005 Michael Schwendt Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libtar-1.2.20-12.fc29.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/f29-build-1418-524/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 BUILDSTDERR: warning: bogus date in %changelog: Fri Apr 7 2005 Michael Schwendt Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7t9mjr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtar + /usr/bin/gzip -dc /builddir/build/SOURCES/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtar + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libtar-1.2.11-missing-protos.patch):' Patch #1 (libtar-1.2.11-missing-protos.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/append.c patching file lib/output.c patching file lib/wrapper.c + echo 'Patch #4 (libtar-1.2.11-mem-deref.patch):' Patch #4 (libtar-1.2.11-mem-deref.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/libtar.h patching file lib/util.c + echo 'Patch #5 (libtar-1.2.20-fix-resource-leaks.patch):' Patch #5 (libtar-1.2.20-fix-resource-leaks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/append.c patching file lib/extract.c patching file libtar/libtar.c patching file lib/handle.c patching file libtar/libtar.c + echo 'Patch #6 (libtar-1.2.11-bz729009.patch):' Patch #6 (libtar-1.2.11-bz729009.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libtar/Makefile.in + echo 'Patch #7 (libtar-1.2.20-no-static-buffer.patch):' Patch #7 (libtar-1.2.20-no-static-buffer.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/decode.c patching file lib/handle.c patching file lib/libtar.h patching file lib/handle.c patching file lib/decode.c + 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 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' 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 `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MKfUkQ + umask 022 + cd /builddir/build/BUILD + cd libtar + 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,-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.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 '/usr/lib/rpm/redhat/config.sub' -> './autoconf/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 '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + '[' 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 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 checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libtar' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/libtar/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 /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 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 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 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 encode.c -fPIC -DPIC -o .libs/encode.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 /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 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: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:151:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(major(device), t->th_buf.devmajor, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:151:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(major(device), t->th_buf.devmajor, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:152:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(minor(device), t->th_buf.devminor, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:152:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(minor(device), t->th_buf.devminor, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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_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: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:166:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(uid, t->th_buf.uid, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:166:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(uid, t->th_buf.uid, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:180:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(gid, t->th_buf.gid, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:180:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(gid, t->th_buf.gid, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:193:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(fmode, (t)->th_buf.mode, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./libtar.h:283:28: note: directive argument in the range [0, 4294967295] BUILDSTDERR: snprintf((oct), (octlen), "%*lo ", (octlen) - 2, (unsigned long)(num)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: encode.c:193:2: note: in expansion of macro 'int_to_oct' BUILDSTDERR: int_to_oct(fmode, (t)->th_buf.mode, 8); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 /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 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 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 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 BUILDSTDERR: extract.c: In function 'tar_extract_regfile': BUILDSTDERR: extract.c:160:8: warning: variable 'gid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gid_t gid; BUILDSTDERR: ^~~ BUILDSTDERR: extract.c:159:8: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: uid_t uid; BUILDSTDERR: ^~~ BUILDSTDERR: extract.c:157:9: warning: variable 'mode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: mode_t mode; BUILDSTDERR: ^~~~ 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 BUILDSTDERR: handle.c: In function 'tar_init': BUILDSTDERR: handle.c:47:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: (*t)->pathname = pathname; BUILDSTDERR: ^ /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 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 wrapper.lo wrapper.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 strlcpy.lo ../compat/strlcpy.c 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: snprintf(oct, octlen, "%*lo", octlen - 1, (unsigned long)num); BUILDSTDERR: ~^~~ ~~~~~~~~~~ /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 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 /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 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/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 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/dirname.c -fPIC -DPIC -o .libs/dirname.o BUILDSTDERR: ../compat/basename.c:31:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 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: static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; BUILDSTDERR: ^~~~~ 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 /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,-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 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,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-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/lib' Making all in libtar make[2]: Entering directory '/builddir/build/BUILD/libtar/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 BUILDSTDERR: libtar.c: In function 'gzopen_frontend': BUILDSTDERR: libtar.c:102:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: return (int)gzf; BUILDSTDERR: ^ /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,-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,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/libtar .libs/libtar.o -L../lib -lz /builddir/build/BUILD/libtar/lib/.libs/libtar.so make[2]: Leaving directory '/builddir/build/BUILD/libtar/libtar' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libtar/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libtar/doc' make[2]: Entering directory '/builddir/build/BUILD/libtar' make[2]: Leaving directory '/builddir/build/BUILD/libtar' make[1]: Leaving directory '/builddir/build/BUILD/libtar' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yREC91 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 + cd libtar + make install DESTDIR=/builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 Making install in lib make[1]: Entering directory '/builddir/build/BUILD/libtar/lib' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/lib64 /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libtar.la /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/lib64 libtool: install: /usr/bin/install -c -m 644 .libs/libtar.so.1.2.20 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/lib64/libtar.so.1.2.20 libtool: install: (cd /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.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-12.fc29.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-12.fc29.riscv64/usr/lib64/libtar.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/include /usr/bin/install -c -m 644 ./libtar.h /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/include /usr/bin/install -c -m 644 ../listhash/libtar_listhash.h /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/include make[1]: Leaving directory '/builddir/build/BUILD/libtar/lib' Making install in libtar make[1]: Entering directory '/builddir/build/BUILD/libtar/libtar' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c libtar /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/bin BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libtar/lib/libtar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/libtar /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/bin/libtar make[1]: Leaving directory '/builddir/build/BUILD/libtar/libtar' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libtar/doc' mkdir -p -m 755 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/man/man3 /usr/bin/install -c -m 644 ./tar_open.3 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.riscv64/usr/share/man/man3/${i}.3; \ done /usr/bin/install -c -m 644 ./th_read.3 /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/man/man3 for i in th_write; do \ echo ".so man3/th_read.3" > /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.riscv64/usr/share/man/man3 for 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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.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-12.fc29.riscv64/usr/share/man/man3/${i}.3; \ done make[1]: Leaving directory '/builddir/build/BUILD/libtar/doc' make[1]: Entering directory '/builddir/build/BUILD/libtar' make[2]: Entering directory '/builddir/build/BUILD/libtar' 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' make[1]: Leaving directory '/builddir/build/BUILD/libtar' + chmod +x /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/lib64/libtar.so.1.2.20 + rm /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/lib64/libtar.la + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libtar-1.2.20-12.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wlE0E2 + umask 022 + cd /builddir/build/BUILD + cd libtar + DOCDIR=/builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.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-12.fc29.riscv64/usr/share/doc/libtar + cp -pr COPYRIGHT /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/doc/libtar + cp -pr TODO /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/doc/libtar + cp -pr README /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/doc/libtar + cp -pr ChangeLog ChangeLog-1.0.x /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64/usr/share/doc/libtar + exit 0 Provides: libtar = 1.2.20-12.fc29 libtar(riscv-64) = 1.2.20-12.fc29 libtar.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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-12.fc29.riscv64 Provides: libtar-devel = 1.2.20-12.fc29 libtar-devel(riscv-64) = 1.2.20-12.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtar.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 Wrote: /builddir/build/RPMS/libtar-1.2.20-12.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libtar-devel-1.2.20-12.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.whJUKY + umask 022 + cd /builddir/build/BUILD + cd libtar + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtar-1.2.20-12.fc29.riscv64 + exit 0 Child return code was: 0