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/pv.spec'], chrootPath='/var/lib/mock/f32-build-120843-37052/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pv.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=1564099200 Wrote: /builddir/build/SRPMS/pv-1.6.6-8.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pv.spec'], chrootPath='/var/lib/mock/f32-build-120843-37052/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pv.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VfYyjL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pv-1.6.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/pv-1.6.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pv-1.6.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv README README.iso8859 + iconv -f ISO-8859-1 -t UTF-8 README.iso8859 + mv doc/NEWS doc/NEWS.iso8859 + iconv -f ISO-8859-1 -t UTF-8 doc/NEWS.iso8859 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ukXMhI + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... 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 msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lintl... no checking for main in -li... no checking for gettext... yes 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 libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for getopt_long... yes checking for getopt... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for open64... yes checking for ANSI C header files... (cached) yes checking for memcpy... yes checking for basename... yes checking for snprintf... yes checking for stat64... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for splice... yes configure: creating ./config.status config.status: creating Makefile BUILDSTDERR: config.status: WARNING: 'autoconf/Makefile.in' 'autoconf/make/vars.mk' 'autoconf/make/package.mk' 'autoconf/make/filelist.mk~' 'autoconf/make/unreal.mk' 'autoconf/make/modules.mk~' 'autoconf/make/rules.mk' 'autoconf/make/link.mk' 'autoconf/make/depend.mk~' seems to ignore the --datarootdir setting config.status: creating doc/lsm config.status: creating doc/quickref.1 config.status: creating doc/pv.spec config.status: creating src/.dummy config.status: creating src/include/config.h config.status: executing default commands BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 V=1 VERBOSE=1 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/debug.o src/main/debug.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/main.o src/main/main.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/version.o src/main/version.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/options.o src/main/options.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/remote.o src/main/remote.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/main/help.o src/main/help.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/library/getopt.o src/library/getopt.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/library/gettext.o src/library/gettext.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/file.o src/pv/file.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/cursor.o src/pv/cursor.c BUILDSTDERR: src/pv/cursor.c: In function 'pv_crs_init': BUILDSTDERR: src/pv/cursor.c:400:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 400 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c: In function 'pv_crs_get_ypos': BUILDSTDERR: src/pv/cursor.c:217:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 217 | write(terminalfd, "\033[6n", 4); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c: In function 'pv_crs_update': BUILDSTDERR: src/pv/cursor.c:513:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 513 | write(STDERR_FILENO, pos, strlen(pos)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c:515:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 515 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c:538:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 538 | write(STDERR_FILENO, pos, strlen(pos)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c:539:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 539 | write(STDERR_FILENO, str, strlen(str)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/cursor.c: In function 'pv_crs_fini': BUILDSTDERR: src/pv/cursor.c:575:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 575 | write(STDERR_FILENO, pos, strlen(pos)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/number.o src/pv/number.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/signal.o src/pv/signal.c 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/display.o src/pv/display.c BUILDSTDERR: src/pv/display.c: In function 'pv_display': BUILDSTDERR: src/pv/display.c:955:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 955 | write(STDERR_FILENO, display, strlen(display)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/display.c:960:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 960 | write(STDERR_FILENO, display, strlen(display)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/display.c:961:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 961 | write(STDERR_FILENO, "\r", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/display.c:634:3: warning: 'average_rate' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 634 | pv__sizestr(state->str_average_rate, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 635 | sizeof(state->str_average_rate), "[%s]", BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 636 | average_rate, _("/s"), _("B/s"), BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 637 | state->linemode ? 0 : 1); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/display.c:430:37: note: 'average_rate' was declared here BUILDSTDERR: 430 | long double time_since_last, rate, average_rate; BUILDSTDERR: | ^~~~~~~~~~~~ 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/state.o src/pv/state.c /usr/bin/msgfmt -o src/nls/de.mo src/nls/de.po /usr/bin/msgfmt -o src/nls/fr.mo src/nls/fr.po /usr/bin/msgfmt -o src/nls/pl.mo src/nls/pl.po /usr/bin/msgfmt -o src/nls/pt.mo src/nls/pt.po ld -r -o src/main.o src/main/debug.o src/main/help.o src/main/main.o src/main/options.o src/main/remote.o src/main/version.o ld -r -o src/library.o src/library/getopt.o src/library/gettext.o 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/loop.o src/pv/loop.c BUILDSTDERR: src/pv/loop.c: In function 'pv_watchpid_loop': BUILDSTDERR: src/pv/loop.c:508:40: warning: variable 'next_remotecheck' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 508 | struct timeval next_update, cur_time, next_remotecheck; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c: In function 'pv_main_loop': BUILDSTDERR: src/pv/loop.c:323:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 323 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c: In function 'pv_watchfd_loop': BUILDSTDERR: src/pv/loop.c:483:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 483 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c: In function 'pv_watchpid_loop': BUILDSTDERR: src/pv/loop.c:714:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 714 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:738:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 738 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:740:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 740 | write(STDERR_FILENO, " ", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:741:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 741 | write(STDERR_FILENO, "\r", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:749:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 749 | write(STDERR_FILENO, "\033[A", 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:761:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 761 | write(STDERR_FILENO, " ", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:762:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 762 | write(STDERR_FILENO, "\r", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:765:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 765 | write(STDERR_FILENO, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:768:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 768 | write(STDERR_FILENO, "\033[A", 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:542:8: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 542 | "%s", original_format_string); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/pv/loop.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 512 bytes into a destination of size 511 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:539:10: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 508 [-Wformat-truncation=] BUILDSTDERR: 539 | "%%N %s", original_format_string); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/pv/loop.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 515 bytes into a destination of size 511 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/loop.c:546:46: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 546 | sizeof(state_copy.default_format) - 1, "%s", BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/pv/loop.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 512 bytes into a destination of size 511 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/watchpid.o src/pv/watchpid.c BUILDSTDERR: src/pv/watchpid.c: In function 'pv_watchfd_position': BUILDSTDERR: src/pv/watchpid.c:160:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 160 | fscanf(fptr, "pos: %llu", &position); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/watchpid.c: In function 'pv_watchpid_setname': BUILDSTDERR: src/pv/watchpid.c:366:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 499 and 506 [-Wformat-truncation=] BUILDSTDERR: 366 | sizeof(info->display_name) - 1, "%4d:%s", BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/pv/watchpid.c:7: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 4108 bytes into a destination of size 511 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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./src/include -Isrc/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c -o src/pv/transfer.o src/pv/transfer.c BUILDSTDERR: src/pv/transfer.c: In function 'pv__transfer_write_repeated': BUILDSTDERR: src/pv/transfer.c:164:19: warning: variable 'tv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 164 | struct timeval tv; BUILDSTDERR: | ^~ ld -r -o src/pv.o src/pv/cursor.o src/pv/display.o src/pv/file.o src/pv/loop.o src/pv/number.o src/pv/signal.o src/pv/state.o src/pv/transfer.o src/pv/watchpid.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -o pv src/main.o src/library.o src/pv.o + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v1MtMI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 + cd pv-1.6.6 + mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 'INSTALL=/usr/bin/install -p' : ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/bin" ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/man/man1" /usr/bin/install -p -m 755 pv \ "/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/bin/pv" /usr/bin/install -p -m 644 doc/quickref.1 \ "/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/man/man1/pv.1" if test -n "src/nls/de.mo src/nls/fr.mo src/nls/pl.mo src/nls/pt.mo"; then \ catalogs='src/nls/de.mo src/nls/fr.mo src/nls/pl.mo src/nls/pt.mo'; \ for cat in $catalogs; do \ name=`echo $cat | sed 's,^.*/,,g'`; \ if test "`echo $name | sed 's/.*\(\..*\)/\1/'`" = ".gmo"; then \ destdir=/usr/share/locale; \ else \ destdir=/usr/share/locale; \ fi; \ lang=`echo $name | sed 's/.mo$//'`; \ dir=/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64$destdir/$lang/LC_MESSAGES; \ ./autoconf/scripts/mkinstalldirs $dir; \ /usr/bin/install -p -m 644 $cat $dir/pv.mo; \ done; \ fi BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/de BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/de/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/fr BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/fr/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/pl BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/pl/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/pt BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/locale/pt/LC_MESSAGES + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 pv + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.6-8.fc32 --unique-debug-suffix -1.6.6-8.fc32.riscv64 --unique-debug-src-base pv-1.6.6-8.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pv-1.6.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/bin/pv extracting debug info from /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/bin/pv original debug info size: 280kB, size after compression: 240kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 306 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tsIbiI + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + make test sh ./autoconf/scripts/run-test.sh ./pv . 000 - cat: OK 001 - interval: OK 002 - rate: OK 003 - progress: OK 004 - timer: OK 005a - eta: OK 005b - fineta: OK 006 - ratecount: OK 007 - bytes: OK 008 - numeric: OK 009 - quiet: OK 010 - pipe: OK 011 - cksum: OK 012 - averagerate: OK 013 - 1mboundary: OK 014 - 1mboundary2: OK 015 - cksumpipe: OK 016 - numeric-timer: OK 017 - numeric-bytes: OK 018 - remote-format: OK 019 - remote-cksum: OK 020 - stop-at-size: OK + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: pv-1.6.6-8.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.keex3J + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + DOCDIR=/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/doc/pv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/doc/pv + cp -pr README /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/doc/pv + cp -pr doc/NEWS /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/doc/pv + cp -pr doc/TODO /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/doc/pv + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HpBauH + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + LICENSEDIR=/builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/licenses/pv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/licenses/pv + cp -pr doc/COPYING /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64/usr/share/licenses/pv + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: pv = 1.6.6-8.fc32 pv(riscv-64) = 1.6.6-8.fc32 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) rtld(GNU_HASH) Processing files: pv-debugsource-1.6.6-8.fc32.riscv64 Provides: pv-debugsource = 1.6.6-8.fc32 pv-debugsource(riscv-64) = 1.6.6-8.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pv-debuginfo-1.6.6-8.fc32.riscv64 Provides: debuginfo(build-id) = 967a86f2b4ff2ab3df1e27c5b205f1503047a444 pv-debuginfo = 1.6.6-8.fc32 pv-debuginfo(riscv-64) = 1.6.6-8.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pv-debugsource(riscv-64) = 1.6.6-8.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 Wrote: /builddir/build/RPMS/pv-1.6.6-8.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/pv-debugsource-1.6.6-8.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/pv-debuginfo-1.6.6-8.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZHARXH + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pv-1.6.6-8.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0