Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f35-build-25987061-3062521/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'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ifstat.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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1611619200 Wrote: /builddir/build/SRPMS/ifstat-1.1-34.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ifstat.spec'], chrootPath='/var/lib/mock/f35-build-25987061-3062521/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'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ifstat.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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1611619200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SIbB7y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ifstat-1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ifstat-1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ifstat-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ifstat-destdir.patch): + echo 'Patch #0 (ifstat-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in Patch #1 (ifstat-UTF8.patch): + echo 'Patch #1 (ifstat-UTF8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file HISTORY patching file README patching file TODO patching file ifstat.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mm6m1f + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + 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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 + 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=ppc64le-redhat-linux-gnu --host=ppc64le-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 --enable-debug creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler (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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ) works... yes checking whether the C compiler (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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... yes checking for ctype.h... yes checking for sys/types.h... yes checking for sys/param.h... yes checking for sys/mbuf.h... no checking for net/route.h... yes checking for net/if.h... yes checking for net/if_var.h... no checking for net/if_types.h... no checking for sys/socket.h... yes checking for sys/ioctl.h... yes checking for sys/sockio.h... no checking for net/soioctl.h... no checking for sys/termios.h... yes checking for errno.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for limits.h... yes checking for fcntl.h... yes checking return type of signal handlers... void checking for sigaction... yes checking for snprintf... yes checking for proc interface in /proc/net/dev... yes checking for socket... yes checking for if_nameindex... yes checking for net-snmp-config... /usr/bin/net-snmp-config checking whether net-snmp-config hints compiles and links fine... no checking for net-snmp/net-snmp-config.h... yes checking for snmp support in -lnetsnmp... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h + /usr/bin/make -j8 gcc -I. -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c ifstat.c -o ifstat.o gcc -I. -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c drivers.c -o drivers.o gcc -I. -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c data.c -o data.o gcc -I. -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -g -DHAVE_CONFIG_H -DDEBUG -c snmp.c -o snmp.o snmp.c: In function 'snmp_get_ifinfos': snmp.c:265:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 265 | strncpy(ifsnmp[i].name, vars->val.string, count); | ~~~~~~~~~^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:484, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from snmp.c:25: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ snmp.c: In function 'snmp_open_driver': snmp.c:364:21: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 364 | session.community = community; | ^ gcc ifstat.o drivers.o data.o snmp.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -o ifstat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0BeovD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le ++ dirname /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/bin /usr/bin/install -c -p -m 755 ifstat /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/bin/ifstat /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/man/man1 /usr/bin/install -c -p -m 644 ifstat.1 /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/man/man1/ifstat.1 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.1-34.fc35 --unique-debug-suffix -1.1-34.fc35.ppc64le --unique-debug-src-base ifstat-1.1-34.fc35.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ifstat-1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/bin/ifstat extracting debug info from /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/bin/ifstat original debug info size: 96kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 146 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 Processing files: ifstat-1.1-34.fc35.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JPINm4 + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + DOCDIR=/builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + cp -pr COPYING /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + cp -pr HISTORY /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + cp -pr README /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + cp -pr TODO /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le/usr/share/doc/ifstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: ifstat = 1.1-34.fc35 ifstat(ppc-64) = 1.1-34.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libnetsnmp.so.40()(64bit) rtld(GNU_HASH) Processing files: ifstat-debugsource-1.1-34.fc35.ppc64le Provides: ifstat-debugsource = 1.1-34.fc35 ifstat-debugsource(ppc-64) = 1.1-34.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ifstat-debuginfo-1.1-34.fc35.ppc64le Provides: debuginfo(build-id) = f2864c281c90637076dca09454ed42138e5a6311 ifstat-debuginfo = 1.1-34.fc35 ifstat-debuginfo(ppc-64) = 1.1-34.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ifstat-debugsource(ppc-64) = 1.1-34.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le Wrote: /builddir/build/RPMS/ifstat-1.1-34.fc35.ppc64le.rpm Wrote: /builddir/build/RPMS/ifstat-debuginfo-1.1-34.fc35.ppc64le.rpm Wrote: /builddir/build/RPMS/ifstat-debugsource-1.1-34.fc35.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9Yq5NK + umask 022 + cd /builddir/build/BUILD + cd ifstat-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ifstat-1.1-34.fc35.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0