* Package: net-libs/libsrtp-2.2.0 * Repository: gentoo * Maintainer: chainsaw@gentoo.org chromium@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libressl openssl test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libsrtp-2.2.0.tar.gz to /var/tmp/portage/net-libs/libsrtp-2.2.0/work >>> Source unpacked in /var/tmp/portage/net-libs/libsrtp-2.2.0/work >>> Preparing source in /var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0 ... * Applying libsrtp-2.2.0-pcap-automagic-r0.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: libsrtp-2.2.0/ * Will copy sources from /var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0 * abi_x86_64.amd64: copying to /var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating libsrtp-2.2.0-abi_x86_64.amd64/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libsrtp-2.2.0-abi_x86_64.amd64/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libsrtp-2.2.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libsrtp-2.2.0/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 --docdir=/usr/share/doc/libsrtp-2.2.0 --htmldir=/usr/share/doc/libsrtp-2.2.0/html --libdir=/usr/lib64 --enable-log-stdout --disable-pcap --disable-openssl-kdf --disable-debug-logging --enable-openssl 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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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 for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for a sed that does not truncate output... /bin/sed 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 whether byte ordering is bigendian... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether x86_64-pc-linux-gnu-gcc accepts -Werror... yes checking whether x86_64-pc-linux-gnu-gcc accepts -fPIC... yes checking whether x86_64-pc-linux-gnu-gcc accepts -Wno-language-extension-token... no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for byteswap.h... yes checking for stdint.h... (cached) yes checking for sys/uio.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for machine/types.h... no checking for sys/int_types.h... no checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for windows.h... no checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for uint64_t... yes checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for socket... yes checking for inet_aton... yes checking for usleep... yes checking for sigaction... yes checking whether to enable debug logging in all modules... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to leverage OpenSSL crypto... yes checking for user specified OpenSSL directory... no checking for crypto... yes checking for library containing EVP_EncryptInit... none required checking for library containing EVP_aes_128_ctr... none required checking for library containing EVP_aes_128_gcm... none required checking whether to leverage OpenSSL KDF algorithm... no checking whether to redirect logging to stdout... yes checking wheather to use a file for logging... no checking for extra C compiler flags... no configure: creating ./config.status config.status: creating Makefile config.status: creating crypto/Makefile config.status: creating doc/Makefile config.status: creating libsrtp2.pc config.status: creating crypto/include/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 shared_library x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c srtp/srtp.c -o srtp/srtp.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c srtp/ekt.c -o srtp/ekt.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/cipher/cipher.c -o crypto/cipher/cipher.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/cipher/null_cipher.c -o crypto/cipher/null_cipher.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/cipher/aes_icm_ossl.c -o crypto/cipher/aes_icm_ossl.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/cipher/aes_gcm_ossl.c -o crypto/cipher/aes_gcm_ossl.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/hash/null_auth.c -o crypto/hash/null_auth.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/hash/auth.c -o crypto/hash/auth.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/hash/hmac_ossl.c -o crypto/hash/hmac_ossl.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/math/datatypes.c -o crypto/math/datatypes.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/math/stat.c -o crypto/math/stat.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/kernel/crypto_kernel.c -o crypto/kernel/crypto_kernel.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/kernel/alloc.c -o crypto/kernel/alloc.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/kernel/key.c -o crypto/kernel/key.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/kernel/err.c -o crypto/kernel/err.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/replay/rdb.c -o crypto/replay/rdb.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/replay/rdbx.c -o crypto/replay/rdbx.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -c crypto/replay/ut_sim.c -o crypto/replay/ut_sim.o x86_64-pc-linux-gnu-gcc -shared -o libsrtp2.so.1 -shared -Wl,-soname,libsrtp2.so.1 \ srtp/srtp.o srtp/ekt.o crypto/cipher/cipher.o crypto/cipher/null_cipher.o crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o crypto/hash/null_auth.o crypto/hash/auth.o crypto/hash/hmac_ossl.o crypto/math/datatypes.o crypto/math/stat.o crypto/kernel/crypto_kernel.o crypto/kernel/alloc.o crypto/kernel/key.o crypto/kernel/err.o crypto/replay/rdb.o crypto/replay/rdbx.o crypto/replay/ut_sim.o -L. -Wl,-O1 -Wl,--as-needed -lcrypto -lresolv -lpthread if [ -n "1" ]; then \ ln -sfn libsrtp2.so.1 libsrtp2.so; \ fi make -j1 test x86_64-pc-linux-gnu-ar cr libsrtp2.a srtp/srtp.o srtp/ekt.o crypto/cipher/cipher.o crypto/cipher/null_cipher.o crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o crypto/hash/null_auth.o crypto/hash/auth.o crypto/hash/hmac_ossl.o crypto/math/datatypes.o crypto/math/stat.o crypto/kernel/crypto_kernel.o crypto/kernel/alloc.o crypto/kernel/key.o crypto/kernel/err.o crypto/replay/rdb.o crypto/replay/rdbx.o crypto/replay/ut_sim.o x86_64-pc-linux-gnu-ranlib libsrtp2.a x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -L. -Wl,-O1 -Wl,--as-needed -o crypto/test/cipher_driver crypto/test/cipher_driver.c test/getopt_s.c libsrtp2.a -lcrypto -lresolv -lpthread -lsrtp2 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -O2 -pipe -march=native -fno-common -fPIC -I./test -L. -Wl,-O1 -Wl,--as-needed -o crypto/test/datatypes_driver crypto/test/datatypes_driver.c test/util.c libsrtp2.a -lcrypto -lresolv -lpthread -lsrtp2 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libsrtp2.a(datatypes.o):(.bss+0x0): multiple definition of `bit_string'; /var/tmp/portage/net-libs/libsrtp-2.2.0/temp/ccuqWrFj.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:190: crypto/test/datatypes_driver] Error 1 * ERROR: net-libs/libsrtp-2.2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libsrtp-2.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libsrtp-2.2.0::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:libsrtp-2.2.0:20200127-010048.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libsrtp-2.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libsrtp-2.2.0/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/libsrtp-2.2.0/work/libsrtp-2.2.0'