Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ladvd.spec'], chrootPath='/var/lib/mock/f31-build-57886-28385/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ladvd.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 BUILDSTDERR: warning: line 47: Possible unexpanded macro in: Requires: selinux-policy >= %{_selinux_policy_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1560902400 Wrote: /builddir/build/SRPMS/ladvd-1.1.2-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ladvd.spec'], chrootPath='/var/lib/mock/f31-build-57886-28385/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ladvd.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=1560902400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T0fRhj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ladvd-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ladvd-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-fix-_BSD_SOURCE-and-_SVID_SOURCE-are-deprecated-use-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + mkdir SELinux + cp -p /builddir/build/SOURCES/ladvd.te /builddir/build/SOURCES/ladvd.fc /builddir/build/SOURCES/ladvd.if SELinux + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i7nOck + umask 022 + cd /builddir/build/BUILD + cd ladvd-1.1.2 + autoreconf -fi BUILDSTDERR: configure.ac:16: installing './compile' BUILDSTDERR: configure.ac:7: installing './config.guess' BUILDSTDERR: configure.ac:7: installing './config.sub' BUILDSTDERR: configure.ac:11: installing './install-sh' BUILDSTDERR: configure.ac:11: installing './missing' BUILDSTDERR: src/Makefile.am: installing './depcomp' BUILDSTDERR: parallel-tests: installing './test-driver' + 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,--as-needed -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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --with-user=ladvd --with-pid-dir=/var/run libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-koji-linux-gnu-gcc... no checking for 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none 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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for egrep... (cached) /usr/bin/grep -E checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking WCFLAGS for gcc -Wall... -Wall checking WCFLAGS for gcc -Wformat -Wformat-security... -Wformat -Wformat-security checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now checking whether C compiler handles -fPIE -DPIE... yes checking whether the linker accepts the -Werror -pie flag... yes checking whether C compiler handles -fstack-protector -Werror... yes checking whether C compiler handles --param ssp-buffer-size=4... yes checking whether C compiler handles -D_FORTIFY_SOURCE=2... yes checking for socket... yes checking for gethostent... yes checking for CHECK... no checking for PCI... no checking pci/pci.h usability... no checking pci/pci.h presence... no checking for pci/pci.h... no checking for pci_init in -lpci... no checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_compile in -lpcap... yes checking for pcap_create in -lpcap... yes checking for pcap_set_immediate_mode in -lpcap... yes checking for libevent directory... (system) checking for event_init in -levent... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes checking for evhttp.h... yes checking for LIBMNL... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for string.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking net/if_media.h usability... no checking net/if_media.h presence... no checking for net/if_media.h... no checking for net/if.h... yes checking for net/route.h... yes checking for net/if_mib.h... no checking for linux/ethtool.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking net/ethertypes.h usability... no checking net/ethertypes.h presence... no checking for net/ethertypes.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking for netinet/if_ether.h... yes checking net/if_types.h usability... no checking net/if_types.h presence... no checking for net/if_types.h... no checking for linux/filter.h... yes checking for LIBTEAM... yes checking for linux/if_vlan.h... yes checking for linux/if_bridge.h... yes checking for linux/if_bonding.h... yes checking for linux/if_team.h... yes checking whether GET_VLAN_REALDEV_NAME_CMD is declared... yes checking whether GET_VLAN_VID_CMD is declared... yes checking for net/if_vlan_var.h... no checking for net/if_bridge.h... no checking for net/if_bridgevar.h... no checking for net/if_lagg.h... no checking for net/if_trunk.h... no checking for net/if_bond_var.h... no checking for linux/wireless.h... yes checking net80211/ieee80211.h usability... no checking net80211/ieee80211.h presence... no checking for net80211/ieee80211.h... no checking for net80211/ieee80211_ioctl.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking kenv.h usability... no checking kenv.h presence... no checking for kenv.h... no checking for sys/sysctl.h... yes checking cap-ng.h usability... yes checking cap-ng.h presence... yes checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking whether to use libcap-ng... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for memcpy... yes checking for memset... yes checking for snprintf... yes checking for strdup... yes checking for strerror... yes checking for strsep... yes checking for uname... yes checking for socketpair... yes checking for vsyslog... yes checking for setresuid... yes BUILDSTDERR: c+ make -j4 BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from main.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from parent.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from child.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from cli.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from util.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from sysinfo.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from common.h:52, BUILDSTDERR: from netif.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/tlv.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/lldp.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/cdp.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/edp.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/fdp.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./common.h:52, BUILDSTDERR: from proto/ndp.c:20: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ + cd SELinux + for selinuxvariant in mls strict targeted + make NAME=mls -f /usr/share/selinux/devel/Makefile + mv ladvd.pp ladvd.pp.mls + make NAME=mls -f /usr/share/selinux/devel/Makefile clean + for selinuxvariant in mls strict targeted + make NAME=strict -f /usr/share/selinux/devel/Makefile + mv ladvd.pp ladvd.pp.strict + make NAME=strict -f /usr/share/selinux/devel/Makefile clean + for selinuxvariant in mls strict targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile + mv ladvd.pp ladvd.pp.targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile clean + cd - + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 hecking for setreuid... yes checking for setresgid... yes checking for setregid... yes checking for setproctitle... no checking for strlcpy... no checking for strlcat... no checking for strnvis... no checking for __strdup... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating systemd/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Making all in src make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' CC main.o CC child.lo CC parent.lo CC cli.lo CC util.lo CC sysinfo.lo CC netif.lo CC proto/tlv.lo CC proto/lldp.lo CC proto/cdp.lo CC proto/edp.lo CC proto/fdp.lo CC proto/ndp.lo CC compat/strlcpy.lo CC compat/strlcat.lo CC compat/setproctitle.lo CC compat/vis.lo CC compat/imsg.lo CC compat/imsg-buffer.lo CCLD libmisc.la CCLD libproto.la CCLD libcompat.la CCLD ladvd make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' Making all in . make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' /usr/bin/sed -e s/PACKAGE_USER/ladvd/ \ < ../doc/ladvd.8.in > ladvd.8 /usr/bin/sed -e 's/^HTTP_POST //' -e s/PACKAGE_USER/ladvd/ \ < ../doc/ladvdc.8.in > ladvdc.8 make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' Making all in systemd make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' Compiling mls ladvd module /usr/bin/checkmodule: loading policy configuration from tmp/ladvd.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/ladvd.mod Creating mls ladvd.pp policy package rm tmp/ladvd.mod.fc tmp/ladvd.mod rm -fR tmp rm -f *.pp Compiling strict ladvd module /usr/bin/checkmodule: loading policy configuration from tmp/ladvd.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/ladvd.mod Creating strict ladvd.pp policy package rm tmp/ladvd.mod.fc tmp/ladvd.mod rm -fR tmp rm -f *.pp Compiling targeted ladvd module /usr/bin/checkmodule: loading policy configuration from tmp/ladvd.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/ladvd.mod Creating targeted ladvd.pp policy package rm tmp/ladvd.mod.fc tmp/ladvd.mod rm -fR tmp rm -f *.pp /builddir/build/BUILD/ladvd-1.1.2 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kUWBQk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 + cd ladvd-1.1.2 + rm -rf /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64 + rm -rf /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/doc/ladvd + mkdir -p /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/lib/systemd/system + install -m 0444 -D /builddir/build/SOURCES/ladvd.conf.sysusers /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/lib/sysusers.d/ladvd.conf + cd SELinux + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/mls + install -p -m 644 ladvd.pp.mls /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/mls/ladvd.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/strict + install -p -m 644 ladvd.pp.strict /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/strict/ladvd.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/targeted + install -p -m 644 ladvd.pp.targeted /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux/targeted/ladvd.pp + cd - + /usr/bin/hardlink -cv /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/selinux BUILDSTDERR: /var/tmp/rpm-tmp.kUWBQk: line 53: /usr/bin/hardlink: No such file or directory BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kUWBQk (%install) Making install in src make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c ladvd '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/sbin' libtool: install: /usr/bin/install -c ladvd /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/sbin/ladvd make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/src' ln -s ladvd \ /builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/sbin/ladvdc make[3]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/src' Making install in . make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/doc/ladvd' /usr/bin/install -c -m 644 LICENSE README TODO HACKING '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/doc/ladvd' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 ladvd.8 ladvdc.8 '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/doc' Making install in systemd make[1]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' make[2]: Entering directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/lib/systemd/system' /usr/bin/install -c -m 644 ladvd.service '/builddir/build/BUILDROOT/ladvd-1.1.2-4.fc31.riscv64/usr/lib/systemd/system' make[2]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' make[1]: Leaving directory '/builddir/build/BUILD/ladvd-1.1.2/systemd' /builddir/build/BUILD/ladvd-1.1.2 RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.kUWBQk (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ladvd.spec