* Package: media-video/rtmpdump-2.4_p20161210-r2 * Repository: gentoo * USE: abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux libressl ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rtmpdump-2.4_p20161210.tar.gz to /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210 >>> Source unpacked in /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work >>> Preparing source in /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210 ... * Applying rtmpdump-openssl-1.1.patch ... [ ok ] * Applying rtmpdump-swf_vertification_type_2.patch ... [ ok ] * Applying rtmpdump-swf_vertification_type_2_part_2.patch ... patch unexpectedly ends in middle of line [ ok ] * Will copy sources from /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210 * abi_x86_32.x86: copying to /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210-abi_x86_32.x86 * abi_x86_64.amd64: copying to /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210 ... * abi_x86_32.x86: running multilib-minimal_abi_src_compile make -j1 'CC=x86_64-pc-linux-gnu-gcc -m32' 'LD=x86_64-pc-linux-gnu-ld -m elf_i386' 'OPT=-O2 -pipe -march=native -std=gnu89' 'XLDFLAGS=-Wl,-O1 -Wl,--as-needed' CRYPTO=OPENSSL SYS=posix x86_64-pc-linux-gnu-gcc -m32 -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o rtmp.o rtmp.c In file included from handshake.h:95, from rtmp.c:152: dh.h: In function ‘DHInit’: dh.h:267:3: warning: implicit declaration of function ‘DH_set0_pqg’ [-Wimplicit-function-declaration] DH_set0_pqg(dh, NULL, g, NULL); ^~~~~~~~~~~ dh.h:274:3: warning: implicit declaration of function ‘DH_get0_pqg’ [-Wimplicit-function-declaration] DH_get0_pqg(dh, (BIGNUM const**)&p, NULL, NULL); ^~~~~~~~~~~ dh.h:292:3: warning: implicit declaration of function ‘DH_set_length’; did you mean ‘DH_set_method’? [-Wimplicit-function-declaration] DH_set_length(dh, nKeyBits); ^~~~~~~~~~~~~ DH_set_method dh.h: In function ‘DHGenerateKey’: dh.h:325:7: warning: implicit declaration of function ‘DH_get0_key’; did you mean ‘RC4_set_key’? [-Wimplicit-function-declaration] DH_get0_key(dh, &pub_key, NULL); ^~~~~~~~~~~ RC4_set_key In file included from rtmp.c:152: handshake.h: In function ‘InitRC4Encryption’: handshake.h:76:41: warning: implicit declaration of function ‘HMAC_CTX_reset’; did you mean ‘HMAC_CTX_init’? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro ‘HMAC_setup’ HMAC_setup(ctx, secretKey, 128); ^~~~~~~~~~ handshake.h:82:70: warning: implicit declaration of function ‘HMAC_CTX_free’; did you mean ‘SSL_CTX_free’? [-Wimplicit-function-declaration] #define HMAC_finish(ctx, dig, dlen) HMAC_Final(ctx, dig, &dlen); HMAC_CTX_free(ctx) ^~~~~~~~~~~~~ handshake.h:136:3: note: in expansion of macro ‘HMAC_finish’ HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ rtmp.c: In function ‘RTMP_ReadPacket’: rtmp.c:3555:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable] int didAlloc = FALSE; ^~~~~~~~ At top level: rtmp.c:2907:19: warning: ‘av_NetConnection_Connect_Rejected’ defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1559:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmp.c:1905:1: note: in expansion of macro ‘SAVC’ SAVC(record); ^~~~ x86_64-pc-linux-gnu-gcc -m32 -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o log.o log.c x86_64-pc-linux-gnu-gcc -m32 -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o amf.o amf.c x86_64-pc-linux-gnu-gcc -m32 -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o hashswf.o hashswf.c hashswf.c: In function ‘RTMP_HashSWF’: hashswf.c:63:35: warning: implicit declaration of function ‘HMAC_CTX_reset’; did you mean ‘HMAC_CTX_init’? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, (unsigned char *)key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~~ hashswf.c:593:3: note: in expansion of macro ‘HMAC_setup’ HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^~~~~~~~~~ hashswf.c:70:46: warning: implicit declaration of function ‘HMAC_CTX_free’; did you mean ‘SSL_CTX_free’? [-Wimplicit-function-declaration] #define HMAC_close(ctx) HMAC_CTX_reset(ctx); HMAC_CTX_free(ctx) ^~~~~~~~~~~~~ hashswf.c:659:3: note: in expansion of macro ‘HMAC_close’ HMAC_close(in.ctx); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -m32 -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o parseurl.o parseurl.c ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o ar: creating librtmp.a x86_64-pc-linux-gnu-gcc -m32 -shared -Wl,-soname,librtmp.so.1 -Wl,-O1 -Wl,--as-needed -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz ln -sf librtmp.so.1 librtmp.so * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld 'OPT=-O2 -pipe -march=native -std=gnu89' 'XLDFLAGS=-Wl,-O1 -Wl,--as-needed' CRYPTO=OPENSSL SYS=posix make[1]: Entering directory '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210-abi_x86_64.amd64/librtmp' x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o rtmp.o rtmp.c In file included from handshake.h:95, from rtmp.c:152: dh.h: In function ‘DHInit’: dh.h:267:3: warning: implicit declaration of function ‘DH_set0_pqg’ [-Wimplicit-function-declaration] DH_set0_pqg(dh, NULL, g, NULL); ^~~~~~~~~~~ dh.h:274:3: warning: implicit declaration of function ‘DH_get0_pqg’ [-Wimplicit-function-declaration] DH_get0_pqg(dh, (BIGNUM const**)&p, NULL, NULL); ^~~~~~~~~~~ dh.h:292:3: warning: implicit declaration of function ‘DH_set_length’; did you mean ‘DH_set_method’? [-Wimplicit-function-declaration] DH_set_length(dh, nKeyBits); ^~~~~~~~~~~~~ DH_set_method dh.h: In function ‘DHGenerateKey’: dh.h:325:7: warning: implicit declaration of function ‘DH_get0_key’; did you mean ‘RC4_set_key’? [-Wimplicit-function-declaration] DH_get0_key(dh, &pub_key, NULL); ^~~~~~~~~~~ RC4_set_key In file included from rtmp.c:152: handshake.h: In function ‘InitRC4Encryption’: handshake.h:76:41: warning: implicit declaration of function ‘HMAC_CTX_reset’; did you mean ‘HMAC_CTX_init’? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro ‘HMAC_setup’ HMAC_setup(ctx, secretKey, 128); ^~~~~~~~~~ handshake.h:82:70: warning: implicit declaration of function ‘HMAC_CTX_free’; did you mean ‘SSL_CTX_free’? [-Wimplicit-function-declaration] #define HMAC_finish(ctx, dig, dlen) HMAC_Final(ctx, dig, &dlen); HMAC_CTX_free(ctx) ^~~~~~~~~~~~~ handshake.h:136:3: note: in expansion of macro ‘HMAC_finish’ HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ rtmp.c: In function ‘RTMP_ReadPacket’: rtmp.c:3555:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable] int didAlloc = FALSE; ^~~~~~~~ At top level: rtmp.c:2907:19: warning: ‘av_NetConnection_Connect_Rejected’ defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1559:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmp.c:1905:1: note: in expansion of macro ‘SAVC’ SAVC(record); ^~~~ x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o log.o log.c x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o amf.o amf.c x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o hashswf.o hashswf.c hashswf.c: In function ‘RTMP_HashSWF’: hashswf.c:63:35: warning: implicit declaration of function ‘HMAC_CTX_reset’; did you mean ‘HMAC_CTX_init’? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_reset(ctx); HMAC_Init_ex(ctx, (unsigned char *)key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~~ hashswf.c:593:3: note: in expansion of macro ‘HMAC_setup’ HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^~~~~~~~~~ hashswf.c:70:46: warning: implicit declaration of function ‘HMAC_CTX_free’; did you mean ‘SSL_CTX_free’? [-Wimplicit-function-declaration] #define HMAC_close(ctx) HMAC_CTX_reset(ctx); HMAC_CTX_free(ctx) ^~~~~~~~~~~~~ hashswf.c:659:3: note: in expansion of macro ‘HMAC_close’ HMAC_close(in.ctx); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -O2 -fPIC -O2 -pipe -march=native -std=gnu89 -c -o parseurl.o parseurl.c ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o ar: creating librtmp.a x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,librtmp.so.1 -Wl,-O1 -Wl,--as-needed -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz ln -sf librtmp.so.1 librtmp.so make[1]: Leaving directory '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210-abi_x86_64.amd64/librtmp' x86_64-pc-linux-gnu-gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -pipe -march=native -std=gnu89 -c -o rtmpdump.o rtmpdump.c x86_64-pc-linux-gnu-gcc -Wall -Wl,-O1 -Wl,--as-needed -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz librtmp/librtmp.so: undefined reference to `DH_set0_pqg' librtmp/librtmp.so: undefined reference to `DH_get0_key' librtmp/librtmp.so: undefined reference to `HMAC_CTX_reset' librtmp/librtmp.so: undefined reference to `DH_get0_pqg' librtmp/librtmp.so: undefined reference to `DH_set_length' librtmp/librtmp.so: undefined reference to `HMAC_CTX_free' collect2: error: ld returned 1 exit status make: *** [Makefile:79: rtmpdump] Error 1 * ERROR: media-video/rtmpdump-2.4_p20161210-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/rtmpdump-2.4_p20161210-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/rtmpdump-2.4_p20161210-r2::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:rtmpdump-2.4_p20161210-r2:20181025-160946.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210-abi_x86_64.amd64' * S: '/var/tmp/portage/media-video/rtmpdump-2.4_p20161210-r2/work/rtmpdump-2.4_p20161210'