Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wavemon.spec'], chrootPath='/var/lib/mock/f33-build-346197-59388/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wavemon.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=1603843200 Wrote: /builddir/build/SRPMS/wavemon-0.9.2-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wavemon.spec'], chrootPath='/var/lib/mock/f33-build-346197-59388/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wavemon.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=1603843200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jl2ZqP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wavemon-0.9.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/wavemon-0.9.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wavemon-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e '/^CFLAGS=/d' -i configure.ac + sed -r 's|\?=|=|g' -i Makefile.in + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: Leaving directory `.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nWaF5K + umask 022 + cd /builddir/build/BUILD + cd wavemon-0.9.2 + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pie -Wl,-z,relro -Wl,-z,now' + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CFLAGS + export CXXFLAGS + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pie -Wl,-z,relro -Wl,-z,now' + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pie -Wl,-z,relro -Wl,-z,now' + 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-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + 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 --- ./configure.backup 2020-11-27 15:34:28.971518869 -0500 +++ ./configure 2020-11-27 15:34:30.931518598 -0500 @@ -1802,7 +1802,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for sys/socket.h... yes checking for linux/if.h... yes checking for linux/wireless.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for pow in -lm... yes checking for waddstr in -lncursesw... yes checking for pthread_create in -lpthread... yes checking for cap_get_flag in -lcap... no checking for gettimeofday... yes checking for ether_ntohost... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBNL3... yes checking for LIBNL3_GENL... yes checking whether gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for inline... inline configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 CC about_scr.c CC conf.c CC conf_scr.c CC error.c CC help_scr.c CC info_scr.c CC iw_if.c CC iw_nl80211.c CC iw_scan.c iw_if.c: In function 'iw_get_interface_list': iw_if.c:163:38: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 16 [-Wformat-truncation=] 163 | snprintf(wrq.ifr_name, IFNAMSIZ, "%s", p); | ^~ In file included from /usr/include/stdio.h:866, from wavemon.h:22, from iw_if.h:20, from iw_if.c:20: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output between 1 and 8192 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lhist_scr.c CC llist.c CC scan_scr.c CC ui.c CC utils.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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -pie -Wl,-z,relro -Wl,-z,now -pthread -I/usr/include/libnl3 -Wl,-z,relro -Wl,--as-needed wavemon.c about_scr.o conf.o conf_scr.o error.o help_scr.o info_scr.o iw_if.o iw_nl80211.o iw_scan.o lhist_scr.o llist.o scan_scr.o ui.o utils.o -lncursesw -lm -lnl-genl-3 -lnl-3 -lnl-3 -o wavemon + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ntgstL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 + cd wavemon-0.9.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/bin /usr/bin/install -p -m 0755 wavemon /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/bin /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/man/man1 /usr/bin/install -p -m 0644 wavemon.1 /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/man/man1 /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/man/man5 /usr/bin/install -p -m 0644 wavemonrc.5 /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/man/man5 /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/wavemon /usr/bin/install -p -m 0644 README.md THANKS COPYING /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/wavemon + rm -rf /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/wavemon/COPYING /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/wavemon/README.md /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/wavemon/THANKS + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.2-1.fc33 --unique-debug-suffix -0.9.2-1.fc33.riscv64 --unique-debug-src-base wavemon-0.9.2-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/wavemon-0.9.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/bin/wavemon extracting debug info from /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/bin/wavemon original debug info size: 920kB, size after compression: 888kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 784 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: wavemon-0.9.2-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6rUHAL + umask 022 + cd /builddir/build/BUILD + cd wavemon-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/doc/wavemon + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/doc/wavemon + cp -pr README.md /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/doc/wavemon + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cm11kN + umask 022 + cd /builddir/build/BUILD + cd wavemon-0.9.2 + LICENSEDIR=/builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/licenses/wavemon + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/licenses/wavemon + cp -pr COPYING /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64/usr/share/licenses/wavemon + RPM_EC=0 ++ jobs -p + exit 0 Provides: wavemon = 0.9.2-1.fc33 wavemon(riscv-64) = 0.9.2-1.fc33 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.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: wavemon-debugsource-0.9.2-1.fc33.riscv64 Provides: wavemon-debugsource = 0.9.2-1.fc33 wavemon-debugsource(riscv-64) = 0.9.2-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: wavemon-debuginfo-0.9.2-1.fc33.riscv64 Provides: debuginfo(build-id) = 9b90adfaa280e798e8ffaff97d1c25c6398df4b0 wavemon-debuginfo = 0.9.2-1.fc33 wavemon-debuginfo(riscv-64) = 0.9.2-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wavemon-debugsource(riscv-64) = 0.9.2-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 Wrote: /builddir/build/RPMS/wavemon-0.9.2-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/wavemon-debuginfo-0.9.2-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/wavemon-debugsource-0.9.2-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0JKwYK + umask 022 + cd /builddir/build/BUILD + cd wavemon-0.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wavemon-0.9.2-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0