+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/wireless-tools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nzxH5p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wireless_tools.29 + /usr/bin/gzip -dc /builddir/build/SOURCES/wireless_tools.29.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wireless_tools.29 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (wireless-tools-29-makefile.patch):' Patch #1 (wireless-tools-29-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefile --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f5sJr2 + umask 022 + cd /builddir/build/BUILD + cd wireless_tools.29 + make clean rm -f *.BAK *.bak *.d *.o *.so ,* *~ *.a *.orig *.rej *.out + make 'OPT_FLAGS=-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 ' BUILD_SHARED=1 FORCE_WEXT_VERSION=16 cp wireless.21.h wireless.h gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -fPIC -c -o iwlib.so iwlib.c iwlib.c: In function 'iw_enum_devices': iwlib.c:254:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iwlib.c:255:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iwlib.c: In function 'iw_get_kernel_we_version': iwlib.c:337:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iwlib.c:353:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -o libiw.so.29 -Wl,-soname,libiw.so.29 -lm -lc iwlib.so ln -s libiw.so.29 libiw.so gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwconfig.c iwconfig.c: In function 'display_info': iwconfig.c:225:12: warning: variable 'channel' set but not used [-Wunused-but-set-variable] int channel = -1; /* Converted to channel */ ^~~~~~~ gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwconfig iwconfig.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwlist.c gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwlist iwlist.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwpriv.c gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwpriv iwpriv.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwspy.c In file included from iwspy.c:13:0: iwspy.c: In function 'get_spy_threshold.isra.0': iwlib.h:506:1: warning: inlining failed in call to 'iw_set_ext.constprop': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwspy.c:125:6: note: called from here if(iw_set_ext(skfd, ifname, SIOCGIWTHRSPY, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwspy.c:13:0: iwspy.c: In function 'set_spy_info': iwlib.h:506:1: warning: inlining failed in call to 'iw_set_ext.constprop': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwspy.c:209:7: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWSPY, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwspy.c:13:0: iwlib.h:506:1: warning: inlining failed in call to 'iw_set_ext.constprop': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwspy.c:250:6: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWSPY, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwspy.c:13:0: iwspy.c: In function 'print_spy_info': iwlib.h:506:1: warning: inlining failed in call to 'iw_set_ext.constprop': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwspy.c:45:6: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWSPY, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwspy.c:13:0: iwspy.c: In function 'main': iwlib.h:506:1: warning: inlining failed in call to 'iw_set_ext.constprop': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwspy.c:314:6: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWTHRSPY, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwspy iwspy.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwgetid.c gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwgetid iwgetid.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c iwevent.c iwevent.c: In function 'rtnl_open': iwevent.c:92:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(rth, 0, sizeof(rth)); ^ iwevent.c: In function 'main': iwevent.c:615:1: warning: inlining failed in call to 'handle_netlink_events.isra.1': --param large-stack-frame-growth limit reached [-Winline] handle_netlink_events(struct rtnl_handle * rth) ^~~~~~~~~~~~~~~~~~~~~ iwevent.c:723:2: note: called from here handle_netlink_events(rth); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o iwevent iwevent.o libiw.so.29 -lm gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -c ifrename.c ifrename.c: In function 'mapping_getsysfs': ifrename.c:1786:9: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] fchdir(cwd_fd); ^~~~~~~~~~~~~~ ifrename.c: In function 'main': ifrename.c:2635:4: warning: this statement may fall through [-Wimplicit-fallthrough=] usage(); ^~~~~~~ ifrename.c:2636:2: note: here case 'c': ^~~~ gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -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 -o ifrename ifrename.o libiw.so.29 -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LRjvYv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 + cd wireless_tools.29 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/sbin /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/include /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/lib64 + make install INSTALL_DIR=/builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/sbin INSTALL_LIB=/builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64 INSTALL_INC=/builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/include INSTALL_MAN=/builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64 install -m 755 libiw.so.29 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64 ln -sfn libiw.so.29 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64/libiw.so *** Don't forget to add /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64 to /etc/ld.so.conf, and run ldconfig as root. *** ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied *** Could not run ldconfig ! *** install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/sbin install -m 755 iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/sbin install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/include install -m 644 iwlib.h /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/include install -m 644 wireless.h /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/include install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man8/ install -m 644 iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 iwgetid.8 iwevent.8 ifrename.8 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man8/ install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man7/ install -m 644 wireless.7 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man7/ install -m 755 -d /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man5/ install -m 644 iftab.5 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/man/man5/ + /usr/bin/rm -f /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64/libiw.a /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/lib64/libiw.so + ln -sf ../../lib64/libiw.so.29 /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/lib64/libiw.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: wireless-tools-29-17.1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X9UpGp + umask 022 + cd /builddir/build/BUILD + cd wireless_tools.29 + DOCDIR=/builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/doc/wireless-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/doc/wireless-tools + cp -pr INSTALL /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/doc/wireless-tools + cp -pr README /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/doc/wireless-tools + cp -pr DISTRIBUTIONS.txt /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64/usr/share/doc/wireless-tools + exit 0 Provides: libiw.so.29()(64bit) wireless-tools = 1:29-17.1.fc28 wireless-tools(riscv-64) = 1:29-17.1.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libiw.so.29()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: wireless-tools-devel-29-17.1.fc28.riscv64 Provides: wireless-tools-devel = 1:29-17.1.fc28 wireless-tools-devel(riscv-64) = 1:29-17.1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libiw.so.29()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 Wrote: /builddir/build/SRPMS/wireless-tools-29-17.1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/wireless-tools-29-17.1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/wireless-tools-devel-29-17.1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LpSH2n + umask 022 + cd /builddir/build/BUILD + cd wireless_tools.29 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wireless-tools-29-17.1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff