* Package: net-proxy/shadowsocks-libev-3.3.4 * Repository: gentoo * Maintainer: dlan@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * You need to choose the mode * server: rc-update add shadowsocks.server default * client: rc-update add shadowsocks.client default * redir: rc-update add shadowsocks.redir default * tunnel: rc-update add shadowsocks.tunnel default >>> Unpacking source... >>> Unpacking shadowsocks-libev-3.3.4.tar.gz to /var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work >>> Source unpacked in /var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work >>> Preparing source in /var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4 ... * Running eautoreconf in '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: shadowsocks-libev-3.3.4/ * Running elibtoolize in: shadowsocks-libev-3.3.4/auto/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4 ... * econf: updating shadowsocks-libev-3.3.4/auto/config.sub with /usr/share/gnuconfig/config.sub * econf: updating shadowsocks-libev-3.3.4/auto/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/shadowsocks-libev-3.3.4 --htmldir=/usr/share/doc/shadowsocks-libev-3.3.4/html --with-sysroot=/ --libdir=/usr/lib64 --disable-assert --enable-system-shared-lib --disable-documentation checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-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-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes 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... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for pcre-config... pcre-config checking for pcre headers in ... not found checking for library containing pcre_exec... -lpcre checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for thread local storage (TLS) class... __thread checking for mbedtls_cipher_setup in -lmbedcrypto... yes checking whether mbedtls supports Cipher Feedback mode or not... ok checking whether mbedtls supports the ARC4 stream cipher or not... ok checking whether mbedtls supports the Blowfish block cipher or not... ok checking whether mbedtls supports the Camellia block cipher or not... ok checking for sodium_init in -lsodium... yes checking for version of libsodium... yes checking for ares_library_init in -lcares... 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 whether x86_64-pc-linux-gnu-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes 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 linux/tcp.h usability... yes checking linux/tcp.h presence... yes checking for linux/tcp.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.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 linux/random.h usability... yes checking linux/random.h presence... yes checking for linux/random.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... no 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 sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... 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... yes checking for setresuid... yes checking for setreuid... yes checking for strerror... yes checking for get_current_dir_name... 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 posix_memalign... yes checking for socket... yes checking ev.h usability... yes checking ev.h presence... yes checking for ev.h... yes checking libev/ev.h usability... no checking libev/ev.h presence... no checking for libev/ev.h... no checking for ev_loop_destroy in -lev... yes 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 doc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4' Making all in src make[2]: Entering directory '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-local.o `test -f 'local.c' || echo './'`local.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-utils.o `test -f 'utils.c' || echo './'`utils.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-jconf.o `test -f 'jconf.c' || echo './'`jconf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-json.o `test -f 'json.c' || echo './'`json.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-udprelay.o `test -f 'udprelay.c' || echo './'`udprelay.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-cache.o `test -f 'cache.c' || echo './'`cache.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-netutils.o `test -f 'netutils.c' || echo './'`netutils.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-crypto.o `test -f 'crypto.c' || echo './'`crypto.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-aead.o `test -f 'aead.c' || echo './'`aead.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-stream.o `test -f 'stream.c' || echo './'`stream.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-ppbloom.o `test -f 'ppbloom.c' || echo './'`ppbloom.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-base64.o `test -f 'base64.c' || echo './'`base64.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-plugin.o `test -f 'plugin.c' || echo './'`plugin.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-http.o `test -f 'http.c' || echo './'`http.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-tls.o `test -f 'tls.c' || echo './'`tls.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-rule.o `test -f 'rule.c' || echo './'`rule.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-acl.o `test -f 'acl.c' || echo './'`acl.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ss-local ss_local-local.o ss_local-utils.o ss_local-jconf.o ss_local-json.o ss_local-udprelay.o ss_local-cache.o ss_local-netutils.o ss_local-crypto.o ss_local-aead.o ss_local-stream.o ss_local-ppbloom.o ss_local-base64.o ss_local-plugin.o ss_local-http.o ss_local-tls.o ss_local-rule.o ss_local-acl.o -lbloom -lcork -lcorkipset -lev -lsodium -lm -lcares -lev -lcares -lsodium -lmbedcrypto -lpcre libtool: link: x86_64-pc-linux-gnu-gcc -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o ss-local ss_local-local.o ss_local-utils.o ss_local-jconf.o ss_local-json.o ss_local-udprelay.o ss_local-cache.o ss_local-netutils.o ss_local-crypto.o ss_local-aead.o ss_local-stream.o ss_local-ppbloom.o ss_local-base64.o ss_local-plugin.o ss_local-http.o ss_local-tls.o ss_local-rule.o ss_local-acl.o -Wl,--as-needed -lbloom -lcork -lcorkipset -lm -lev -lcares -lsodium -lmbedcrypto -lpcre -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ss_local-http.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/http.h:32: multiple definition of `http_protocol'; ss_local-local.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/http.h:32: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ss_local-tls.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/tls.h:31: multiple definition of `tls_protocol'; ss_local-local.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/tls.h:31: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:751: ss-local] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src' make[1]: *** [Makefile:480: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4' make: *** [Makefile:389: all] Error 2 * ERROR: net-proxy/shadowsocks-libev-3.3.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/shadowsocks-libev-3.3.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/shadowsocks-libev-3.3.4::gentoo'`. * The complete build log is located at '/var/log/portage/net-proxy:shadowsocks-libev-3.3.4:20200205-074109.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/temp/environment'. * Working directory: '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4' * S: '/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4'