Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/pv.spec'], chrootPath='/var/lib/mock/infra9s-infra-common-el9s-build-164804-996711/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1632182400 Wrote: /builddir/build/SRPMS/pv-1.6.20-1.el9s.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/pv.spec'], chrootPath='/var/lib/mock/infra9s-infra-common-el9s-build-164804-996711/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1632182400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CRwt9s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pv-1.6.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/pv-1.6.20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pv-1.6.20 + /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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V9crGa + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.20 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-redhat-linux-gnu-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 stdbool.h that conforms to C99... yes checking for _Bool... 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 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 configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 /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 ld -r -o src/library.o src/library/getopt.o src/library/gettext.o /usr/bin/msgfmt -o src/nls/pt.mo src/nls/pt.po gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 src/pv/watchpid.c: In function 'pv_watchfd_position': src/pv/watchpid.c:168:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | fscanf(fptr, "pos: %llu", &position); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 src/pv/loop.c: In function 'pv_main_loop': src/pv/loop.c:324:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | write(STDERR_FILENO, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c: In function 'pv_watchfd_loop': src/pv/loop.c:484:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(STDERR_FILENO, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c: In function 'pv_watchpid_loop': src/pv/loop.c:724:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 724 | write(STDERR_FILENO, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:748:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 748 | write(STDERR_FILENO, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:750:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 750 | write(STDERR_FILENO, " ", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:751:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 751 | write(STDERR_FILENO, "\r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:759:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 759 | write(STDERR_FILENO, "\033[A", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:771:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 771 | write(STDERR_FILENO, " ", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:772:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 772 | write(STDERR_FILENO, "\r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:775:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 775 | write(STDERR_FILENO, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:778:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 778 | write(STDERR_FILENO, "\033[A", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/loop.c:551:28: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 551 | "%s", original_format_string); | ^ In file included from /usr/include/stdio.h:900, from src/pv/loop.c:8: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 512 bytes into a destination of size 511 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/pv/loop.c:544:30: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 508 [-Wformat-truncation=] 544 | "%%N %s", original_format_string); | ^~ In file included from /usr/include/stdio.h:900, from src/pv/loop.c:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 515 bytes into a destination of size 511 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 src/pv/display.c: In function 'pv_display': src/pv/display.c:982:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | write(STDERR_FILENO, display, strlen(display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/display.c:990:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 990 | write(STDERR_FILENO, display, strlen(display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pv/display.c:991:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 991 | write(STDERR_FILENO, "\r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.16JBEi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 ++ dirname /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 + cd pv-1.6.20 + mkdir -p /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 'INSTALL=/usr/bin/install -p' : ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/bin" ./autoconf/scripts/mkinstalldirs \ "/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/man/man1" /usr/bin/install -p -m 755 pv \ "/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/bin/pv" /usr/bin/install -p -m 644 doc/quickref.1 \ "/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/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.20-1.el9s.aarch64$destdir/$lang/LC_MESSAGES; \ ./autoconf/scripts/mkinstalldirs $dir; \ /usr/bin/install -p -m 644 $cat $dir/pv.mo; \ done; \ fi mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/de mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/de/LC_MESSAGES mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/fr mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/fr/LC_MESSAGES mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/pl mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/pl/LC_MESSAGES mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/pt mkdir /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/locale/pt/LC_MESSAGES + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 pv + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.6.20-1.el9s --unique-debug-suffix -1.6.20-1.el9s.aarch64 --unique-debug-src-base pv-1.6.20-1.el9s.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/pv-1.6.20 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/bin/pv extracting debug info from /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/bin/pv original debug info size: 248kB, size after compression: 220kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 325 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RPihBd + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.20 + 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 ++ jobs -p + exit 0 Processing files: pv-1.6.20-1.el9s.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GL9ie7 + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.20 + DOCDIR=/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/doc/pv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/doc/pv + cp -pr README /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/doc/pv + cp -pr doc/NEWS /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/doc/pv + cp -pr doc/TODO /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/doc/pv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tmxYcz + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.20 + LICENSEDIR=/builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/licenses/pv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/licenses/pv + cp -pr doc/COPYING /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64/usr/share/licenses/pv + RPM_EC=0 ++ jobs -p + exit 0 Provides: pv = 1.6.20-1.el9s pv(aarch-64) = 1.6.20-1.el9s Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: pv-debugsource-1.6.20-1.el9s.aarch64 Provides: pv-debugsource = 1.6.20-1.el9s pv-debugsource(aarch-64) = 1.6.20-1.el9s 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.20-1.el9s.aarch64 Provides: debuginfo(build-id) = 1eb96876a8d6cb1d9b40cb1c883cfba25c551579 pv-debuginfo = 1.6.20-1.el9s pv-debuginfo(aarch-64) = 1.6.20-1.el9s Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pv-debugsource(aarch-64) = 1.6.20-1.el9s Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 Wrote: /builddir/build/RPMS/pv-1.6.20-1.el9s.aarch64.rpm Wrote: /builddir/build/RPMS/pv-debuginfo-1.6.20-1.el9s.aarch64.rpm Wrote: /builddir/build/RPMS/pv-debugsource-1.6.20-1.el9s.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lQNboO + umask 022 + cd /builddir/build/BUILD + cd pv-1.6.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pv-1.6.20-1.el9s.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0