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/pv.spec'], chrootPath='/var/lib/mock/f29-build-20119-10601/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pv-1.6.6-5.fc29.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/f29-build-20119-10601/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SH9srm + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XEAiAO + 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,-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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name 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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-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 + make -j4 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/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/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/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/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/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/cursor.o src/pv/cursor.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 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/loop.o src/pv/loop.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: 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: 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: 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: 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: 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: 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: write(STDERR_FILENO, pos, strlen(pos)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 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: 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: write(STDERR_FILENO, "\r", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: write(STDERR_FILENO, "\033[A", 3); 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 BUILDSTDERR: src/pv/display.c:634:3: warning: 'average_rate' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: pv__sizestr(state->str_average_rate, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sizeof(state->str_average_rate), "[%s]", BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: average_rate, _("/s"), _("B/s"), BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: state->linemode ? 0 : 1); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pv/display.c:430:37: note: 'average_rate' was declared here BUILDSTDERR: 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 BUILDSTDERR: src/pv/loop.c:546:46: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: sizeof(state_copy.default_format) - 1, "%s", BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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 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 /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 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: struct timeval tv; BUILDSTDERR: ^~ 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: 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: sizeof(info->display_name) - 1, "%4d:%s", BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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,-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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yQ1NDR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 + cd pv-1.6.6 + rm -rf /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/man/man1 + make DESTDIR=/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 install : ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/bin" ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/man/man1" /usr/bin/install -c -m 755 pv \ "/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/bin/pv" /usr/bin/install -c -m 644 doc/quickref.1 \ "/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.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-5.fc29.riscv64$destdir/$lang/LC_MESSAGES; \ ./autoconf/scripts/mkinstalldirs $dir; \ /usr/bin/install -c -m 644 $cat $dir/pv.mo; \ done; \ fi BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/de BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/de/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/fr BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/fr/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/pl BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/pl/LC_MESSAGES BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/pt BUILDSTDERR: mkdir /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/locale/pt/LC_MESSAGES + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 pv + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.6-5.fc29 --unique-debug-suffix -1.6.6-5.fc29.riscv64 --unique-debug-src-base pv-1.6.6-5.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pv-1.6.6 extracting debug info from /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/bin/pv /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 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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PzCu84 Processing files: pv-1.6.6-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AI4l2s + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + DOCDIR=/builddir/build/BUILDROOT/pv-1.6.6-5.fc29.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-5.fc29.riscv64/usr/share/doc/pv + cp -pr README /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/doc/pv + cp -pr doc/NEWS /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/doc/pv + cp -pr doc/TODO /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/doc/pv + cp -pr doc/COPYING /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64/usr/share/doc/pv + exit 0 Provides: pv = 1.6.6-5.fc29 pv(riscv-64) = 1.6.6-5.fc29 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-5.fc29.riscv64 Provides: pv-debugsource = 1.6.6-5.fc29 pv-debugsource(riscv-64) = 1.6.6-5.fc29 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-5.fc29.riscv64 Provides: debuginfo(build-id) = 133dbe9e1e03c9cedc8a239dc5b09f5a4e34de04 pv-debuginfo = 1.6.6-5.fc29 pv-debuginfo(riscv-64) = 1.6.6-5.fc29 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-5.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 Wrote: /builddir/build/RPMS/pv-1.6.6-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/pv-debugsource-1.6.6-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/pv-debuginfo-1.6.6-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FawtW1 + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pv-1.6.6-5.fc29.riscv64 + exit 0 Child return code was: 0