+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tinc.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.6DVS66 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tinc-1.0.28 + /usr/bin/gzip -dc /builddir/build/SOURCES/tinc-1.0.28.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tinc-1.0.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w6YEy8 + umask 022 + cd /builddir/build/BUILD + cd tinc-1.0.28 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./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 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 to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-redhat-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 dependency style of gcc... 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 gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E 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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking whether C compiler accepts -DFORTIFY_SOURCE=2... yes checking whether C compiler accepts -fwrapv... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking for ANSI C header files... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.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/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... 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 time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for net/if.h... yes checking for net/if_types.h... no checking for linux/if_tun.h... yes checking for net/if_tun.h... no checking for net/if_utun.h... no checking for net/tun/if_tun.h... no checking for net/if_tap.h... no checking for net/tap/if_tap.h... no checking for net/ethernet.h... yes checking for net/if_arp.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/in6.h... no checking for netpacket/packet.h... yes checking for netinet/if_ether.h... yes checking for netinet/ip.h... yes checking for netinet/ip6.h... yes checking for resolv.h... yes checking for netinet/tcp.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp6.h... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working __malloc__ attribute... yes checking for socklen_t... yes checking for struct ether_header... yes checking for struct arphdr... yes checking for struct ether_arp... yes checking for struct in_addr... yes checking for struct addrinfo... yes checking for struct ip... yes checking for struct icmp... yes checking for struct in6_addr... yes checking for struct sockaddr_in6... yes checking for struct ip6_hdr... yes checking for struct icmp6_hdr... yes checking for struct nd_neighbor_solicit... yes checking for struct nd_opt_hdr... yes checking return type of signal handlers... void checking for asprintf... yes checking for daemon... yes checking for fchmod... yes checking for flock... yes checking for ftime... yes checking for fork... yes checking for get_current_dir_name... yes checking for gettimeofday... yes checking for mlockall... yes checking for pselect... yes checking for putenv... yes checking for random... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strsignal... yes checking for strtol... yes checking for system... yes checking for unsetenv... yes checking for usleep... yes checking for vsyslog... yes checking for writev... yes checking for devname... no checking for fdevname... no checking for getopt_long... yes checking for socket... yes checking for gethostbyname... yes checking whether freeaddrinfo is declared... yes checking whether gai_strerror is declared... yes checking whether getaddrinfo is declared... yes checking whether getnameinfo is declared... yes checking whether res_init is declared... yes checking for res_init in -lresolv... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for lzo1x_1_compress in -llzo2... yes checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking for dlopen... no checking for dlopen in -ldl... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for EVP_EncryptInit_ex in -lcrypto... yes checking for RAND_pseudo_bytes... yes checking for EVP_EncryptInit_ex... yes checking whether OpenSSL_add_all_algorithms is declared... 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 doc/Makefile config.status: creating m4/Makefile config.status: creating distro/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/tinc-1.0.28' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.28/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.28/m4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/tinc-1.0.28/src' CC avl_tree.o CC conf.o CC connection.o CC dropin.o CC dummy_device.o In file included from edge.h:27:0, from connection.h:47, from net.h:129, from subnet.h:24, from conf.h:34, from connection.c:25: node.h:53:17: error: field 'inctx' has incomplete type EVP_CIPHER_CTX inctx; /* Cipher context */ ^~~~~ node.h:58:17: error: field 'outctx' has incomplete type EVP_CIPHER_CTX outctx; /* Cipher context */ ^~~~~~ In file included from subnet.h:47:0, from conf.h:34, from net.h:93, from edge.h:26, from connection.h:47, from conf.c:27: node.h:53:17: error: field 'inctx' has incomplete type EVP_CIPHER_CTX inctx; /* Cipher context */ ^~~~~ node.h:58:17: error: field 'outctx' has incomplete type EVP_CIPHER_CTX outctx; /* Cipher context */ ^~~~~~ make[2]: *** [Makefile:539: connection.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:539: conf.o] Error 1 In file included from subnet.h:47:0, from conf.h:34, from net.h:93, from device.h:24, from dummy_device.c:22: node.h:53:17: error: field 'inctx' has incomplete type EVP_CIPHER_CTX inctx; /* Cipher context */ ^~~~~ node.h:58:17: error: field 'outctx' has incomplete type EVP_CIPHER_CTX outctx; /* Cipher context */ ^~~~~~ make[2]: *** [Makefile:539: dummy_device.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tinc-1.0.28/src' make[1]: *** [Makefile:374: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/tinc-1.0.28' make: *** [Makefile:315: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.w6YEy8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.w6YEy8 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff