+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/racoon2.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.OEJm3J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf racoon2-20100526a + /usr/bin/gzip -dc /builddir/build/SOURCES/racoon2-20100526a.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd racoon2-20100526a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (racoon2-autotools.patch):' Patch #0 (racoon2-autotools.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iked/Makefile.in patching file lib/Makefile.in patching file lib/racoon.h patching file samples/Makefile.in patching file spmd/Makefile.in patching file pskgen/Makefile.in patching file spmd/spmd_internal.h + echo 'Patch #1 (racoon2-init.patch):' Patch #1 (racoon2-init.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file racoon2 patching file racoon2.service patching file racoon2.sysvinit + echo 'Patch #2 (racoon2-functions-shebang.patch):' Patch #2 (racoon2-functions-shebang.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file samples/functions + echo 'Patch #3 (racoon2-configfiles.patch):' Patch #3 (racoon2-configfiles.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file samples/child-down.in patching file samples/child-rekey.in patching file samples/child-up.in patching file samples/ikesa-down.in patching file samples/ikesa-rekey.in patching file samples/ikesa-up.in patching file samples/migration.in patching file samples/ph1-down.in patching file samples/ph1-up.in patching file samples/racoon2.conf.in patching file samples/vals.conf.in + echo 'Patch #4 (racoon2-getopt.patch):' Patch #4 (racoon2-getopt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pskgen/pskgen.in + sed -i /yyget_leng/d lib/cftoken.l + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hABJWD + umask 022 + cd /builddir/build/BUILD + cd racoon2-20100526a + 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 ./kinkd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./kinkd/config.sub ++ basename ./kinkd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./kinkd/config.sub '/usr/lib/rpm/redhat/config.sub' -> './kinkd/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./kinkd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./kinkd/config.guess ++ basename ./kinkd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./kinkd/config.guess '/usr/lib/rpm/redhat/config.guess' -> './kinkd/config.guess' + 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 ./spmd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./spmd/config.sub ++ basename ./spmd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./spmd/config.sub '/usr/lib/rpm/redhat/config.sub' -> './spmd/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./spmd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./spmd/config.guess ++ basename ./spmd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./spmd/config.guess '/usr/lib/rpm/redhat/config.guess' -> './spmd/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./lib/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./lib/config.sub ++ basename ./lib/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./lib/config.sub '/usr/lib/rpm/redhat/config.sub' -> './lib/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./lib/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./lib/config.guess ++ basename ./lib/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./lib/config.guess '/usr/lib/rpm/redhat/config.guess' -> './lib/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./iked/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./iked/config.sub ++ basename ./iked/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./iked/config.sub '/usr/lib/rpm/redhat/config.sub' -> './iked/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./iked/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./iked/config.guess ++ basename ./iked/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./iked/config.guess '/usr/lib/rpm/redhat/config.guess' -> './iked/config.guess' + 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 --disable-kinkd --disable-pedant creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking if --with-install-opts option is specified... no checking if --enable-debug option is specified... default to yes checking if --enable-pcap option is specified... no checking if --enable-pedant option is specified... no checking if --enable-iked option is specified... yes checking if --enable-kinkd option is specified... no checking for perl... no updating cache ./config.cache creating ./config.status creating Makefile creating samples/Makefile creating samples/racoon2.conf creating samples/vals.conf creating samples/init.d-iked creating samples/init.d-kinkd creating samples/init.d-spmd creating samples/rc.d-racoon2 creating samples/rc.d-iked creating samples/rc.d-kinkd creating samples/rc.d-spmd creating samples/ikesa-up creating samples/ikesa-down creating samples/ikesa-rekey creating samples/child-up creating samples/child-down creating samples/child-rekey creating samples/migration creating samples/ph1-up creating samples/ph1-down creating pskgen/Makefile creating pskgen/pskgen creating pskgen/autogen.spmd.pwd configuring in lib running /bin/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 --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -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 how to run the C preprocessor... gcc -E checking for flex... flex checking for yywrap in -lfl... no checking for bison... no checking for byacc... byacc checking for ranlib... ranlib checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking host system type... riscv64-redhat-linux-gnu checking for ar... /usr/bin/ar checking if --with-kernel-build-dir option is specified... no checking if ipv6 is available... yes checking if --enable-debug option is specified... yes checking --enable-pcap... no checking if --disable-pedant option is specified... yes checking if --enable-secure option is specified... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/time.h... yes checking for net/if_var.h... no checking for net/ethernet.h... yes checking for limits.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for varargs.h... no checking for netinet6/ipsec.h... no checking for netipsec/ipsec.h... no checking for net/pfkeyv2.h... no /usr/include added to the include path checking if --enable-natt option is specified... no checking if NAT-T is available... yes checking for working const... 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 8-bit clean memcmp... yes checking for strftime... yes checking for vprintf... yes checking for gettimeofday... yes checking for mktime... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for getifaddrs... yes checking for strlcpy... no checking for strlcat... no checking for atoll... yes checking if printf accepts %z... yes checking for link local getifaddrs bug... no checking whether struct sockaddr has sa_len field... no checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... yes checking make... gmake updating cache .././config.cache creating ./config.status creating Makefile configuring in spmd running /bin/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 --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... (cached) /usr/bin/install -c checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking for getopt_long in -lgnugetopt... no checking for main in -lcrypto... yes checking Enable Debug... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for getopt.h... yes checking for stdint.h... yes checking for inttypes.h... yes checking for working const... (cached) yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking size of long long... 0 checking for 8-bit clean memcmp... (cached) yes checking for strftime... (cached) yes checking for gettimeofday... (cached) yes checking for select... yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for uname... yes checking for getopt_long... yes checking for strlcpy... (cached) no checking for strlcat... (cached) no checking for atoll... (cached) yes checking whether struct sockaddr has sa_len field... no checking for architecture... use /etc/nsswitch.conf checking for SPDUPDATE BUG... no checking for libracoon... ../lib checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... (cached) yes checking make... gmake checking if --with-install-opts option is specified... no checking for net/pfkeyv2.h... (cached) no updating cache .././config.cache creating ./config.status creating Makefile creating config.h configuring in iked running /bin/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 --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... riscv64-redhat-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ikev1 should be enabled... yes checking if --enable-debug option is specified... yes checking --enable-updateifaddr... no checking --enable-parsecoa... no checking if --with-ipsec-window-size option is specified... no, defaults to 32 checking if --with-install-opts option is specified... no checking for ANSI C header files... (cached) yes checking for limits.h... (cached) yes checking for netdb.h... yes checking for netinet/in.h... yes checking for netinet6/ipsec.h... (cached) no checking for netipsec/ipsec.h... (cached) no checking for stdarg.h... (cached) yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking if --with-kernel-build-dir option is specified... no checking for net/pfkeyv2.h... (cached) no /usr/include added to the include path checking if --enable-natt option is specified... no checking if NAT-T is available... yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking size of long long... (cached) 0 checking whether gcc needs -traditional... no checking whether malloc() is usable... yes checking for 8-bit clean memcmp... (cached) yes checking return type of signal handlers... void checking for getaddrinfo... yes checking for getnameinfo... yes checking for getopt_long... (cached) yes checking for setprogname... no checking for daemon... yes checking for timegm... yes checking __func__ macro... yes checking if sa_len is available... no checking if ipv6 is available... yes checking for advanced API support... no checking if _GNU_SOURCE is required... yes checking for library containing dlopen... -ldl checking if --with-openssl-libdir option is specified... none checking --enable-engine... yes checking if --enable-rc5 option is specified... no checking if --enable-idea option is specified... no checking for openssl/rsa.h... yes checking for openssl/pem.h... yes checking for openssl/evp.h... (cached) yes checking for openssl/x509.h... yes checking whether d2i_PublicKey argument requires const... yes checking for openssl/opensslv.h... yes checking for openssl/pkcs12.h... yes checking for openssl/aes.h... yes checking for EVP_sha256... yes checking make... gmake updating cache .././config.cache creating ./config.status creating Makefile creating config.h + cd spmd + 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 creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -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 how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking for getopt_long in -lgnugetopt... no checking for main in -lcrypto... yes checking Enable Debug... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for getopt.h... yes checking for stdint.h... yes checking for inttypes.h... yes checking for working const... yes checking for inline... inline 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 size of long long... 8 checking for 8-bit clean memcmp... yes checking for strftime... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for uname... yes checking for getopt_long... yes checking for strlcpy... no checking for strlcat... no checking for atoll... yes checking whether struct sockaddr has sa_len field... no checking for architecture... use /etc/nsswitch.conf checking for SPDUPDATE BUG... no checking for libracoon... ../lib checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... yes checking make... gmake checking if --with-install-opts option is specified... no checking for net/pfkeyv2.h... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h config.h is unchanged + make -j4 for d in lib spmd iked pskgen samples ; do \ if test -d $d ; then \ echo "===> Change directory to $d" ; \ (cd $d && make) || exit 1 ; \ fi ; done ===> Change directory to lib make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/lib' gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c vmbuf.c gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_type.c gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_net.c gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_str.c gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c if_pfkeyv2.c gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c if_spmd.c rc_net.c: In function 'getifaddrlist': rc_net.c:383:23: warning: variable 'sin6' set but not used [-Wunused-but-set-variable] struct sockaddr_in6 *sin6; ^~~~ gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c cfsetup.c if_pfkeyv2.c: In function 'rcpfk_set_sadbkey': if_pfkeyv2.c:1142:6: warning: variable 'keytype' set but not used [-Wunused-but-set-variable] int keytype; ^~~~~~~ gcc -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 -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c pidfile.c if_pfkeyv2.c: In function 'rcpfk_recv_migrate': if_pfkeyv2.c:2614:28: warning: variable 'sp_dst' set but not used [-Wunused-but-set-variable] struct sockaddr *sp_src, *sp_dst; ^~~~~~ if_spmd.c: In function 'spmd_if_login_response': if_spmd.c:1103:13: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; ^~~ if_spmd.c:1157:7: warning: implicit declaration of function 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'? [-Wimplicit-function-declaration] if (!EVP_MD_CTX_cleanup(&ctx)) { ^~~~~~~~~~~~~~~~~~ EVP_MD_CTX_create if_spmd.c:1103:13: warning: unused variable 'ctx' [-Wunused-variable] EVP_MD_CTX ctx; ^~~ make[1]: *** [Makefile:45: if_spmd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cfsetup.c: In function 'rcf_fix_addrlist': cfsetup.c:3029:13: warning: variable 'va' set but not used [-Wunused-but-set-variable] rc_vchar_t va; ^~ make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/lib' make: *** [Makefile:22: build-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.hABJWD (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hABJWD (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff