D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/shadowsocks-libev-2.4.3-5.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4dRz0o + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf shadowsocks-libev-2.4.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/shadowsocks-libev-2.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd shadowsocks-libev-2.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix-build.patch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CZIbTi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd shadowsocks-libev-2.4.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + NOCONFIGURE=1 + ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/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' configure.ac:150: installing 'build-aux/compile' configure.ac:10: installing 'build-aux/missing' src/libsodium/Makefile.am: installing 'build-aux/depcomp' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'auto'. libtoolize: copying file 'auto/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' configure.ac:10: installing 'auto/compile' configure.ac:12: installing 'auto/missing' libcork/Makefile.am: installing 'auto/depcomp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying auto/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --enable-shared --enable-system-shared-lib 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 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 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 for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip 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 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 -m elf_x86_64) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes 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... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking port.h usability... no checking port.h presence... no checking for port.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking sys/signalfd.h usability... yes checking sys/signalfd.h presence... yes checking for sys/signalfd.h... yes checking for inotify_init... yes checking for epoll_ctl... yes checking for kqueue... no checking for port_create... no checking for poll... yes checking for select... yes checking for eventfd... yes checking for signalfd... yes checking for clock_gettime... yes checking for nanosleep... yes checking for library containing floor... -lm checking for thread local storage (TLS) class... __thread checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) 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 for C/C++ restrict keyword... __restrict checking for netdb.h... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for what kind of host... Linux checking if -fstack-protector and -fstack-protector-all are supported.... yes configure: -fstack-protector enabled in CFLAGS checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for netdb.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) 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 sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for net/if.h... yes checking for linux/if.h... yes checking for linux/netfilter_ipv4.h... yes checking for linux/netfilter_ipv6/ip6_tables.h... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for ssize_t... yes checking whether to enable assertions... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... (cached) yes checking for uint16_t... yes checking for uint8_t... yes checking whether time.h and sys/time.h may both be included... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for memset... yes checking for select... (cached) yes checking for setresuid... yes checking for setreuid... yes checking for strerror... yes checking for getpwnam_r... yes checking for setrlimit... yes checking for connect in -lsocket... no checking for malloc... yes checking for memset... (cached) yes checking for socket... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating shadowsocks-libev.pc config.status: creating Makefile config.status: creating libcork/Makefile config.status: creating libipset/Makefile config.status: creating libudns/Makefile config.status: creating libev/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in libcork make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC cli/libcork_la-commands.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-error.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-mempool.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-allocator.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-hash.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-ip-address.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-timestamp.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-gc.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC core/libcork_la-u128.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-array.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-bitset.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-dllist.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-file-stream.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-managed-buffer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-hash-table.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-slice.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-buffer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC ds/libcork_la-ring-buffer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-directory-walker.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-process.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-env.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-exec.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC pthreads/libcork_la-thread.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-files.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CC posix/libcork_la-subprocess.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' CCLD libcork.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libcork' Making all in libipset make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC libipset_la-general.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-read.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-bdd-iterator.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-reachable.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-basics.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-assignments.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-write.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC map/libipset_la-allocation.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC bdd/libipset_la-expanded.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC map/libipset_la-ipv4_map.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC map/libipset_la-inspection.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC map/libipset_la-ipv6_map.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC map/libipset_la-storage.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-inspection.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-allocation.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-ipv6_set.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-iterator.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-ipv4_set.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CC set/libipset_la-storage.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' CCLD libipset.la copying selected object files to avoid basename conflicts... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/libipset' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-encrypt.lo In file included from encrypt.c:77:0: encrypt.h:108:18: error: field 'evp' has incomplete type cipher_evp_t evp; ^~~ encrypt.c: In function 'enc_key_init': encrypt.c:1431:17: error: storage size of 'cipher_info' isn't known cipher_kt_t cipher_info; ^~~~~~~~~~~ encrypt.c:1440:15: error: dereferencing pointer to incomplete type 'cipher_kt_t {aka struct evp_cipher_st}' cipher->key_len = supported_ciphers_key_size[method]; ^~ encrypt.c:1431:17: error: unused variable 'cipher_info' [-Werror=unused-variable] cipher_kt_t cipher_info; ^~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:747: libshadowsocks_la-encrypt.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-netutils.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-udprelay.lo In file included from udprelay.h:29:0, from udprelay.c:62: encrypt.h:108:18: error: field 'evp' has incomplete type cipher_evp_t evp; ^~~ make[2]: *** [Makefile:754: libshadowsocks_la-udprelay.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-acl.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-utils.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-jconf.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-json.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' CC libshadowsocks_la-cache.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shadowsocks-libev-2.4.3/src' make[1]: *** [Makefile:559: all-recursive] Error 1 make: *** [Makefile:382: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CZIbTi (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CZIbTi (%build) I: [iurt_root_command] ERROR: chroot