* Package: net-im/coturn-4.5.2-r1 * Repository: gentoo * Maintainer: nativemad@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking coturn-4.5.2.tar.gz to /var/tmp/portage/net-im/coturn-4.5.2-r1/work >>> Source unpacked in /var/tmp/portage/net-im/coturn-4.5.2-r1/work >>> Preparing source in /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 ... * Applying coturn-4.5.2-respect-TMPDIR.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 ... ./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 --libdir=/usr/lib64 --without-sqlite install is /usr/lib/portage/python3.9/ebuild-helpers/xattr/install pkill is /usr/bin/pkill sqlite3 is /usr/bin/sqlite3 Use TMP dir /var/tmp/portage/net-im/coturn-4.5.2-r1/temp Compiler: x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-pkg-config is /usr/bin/x86_64-pc-linux-gnu-pkg-config pkg-config: x86_64-pc-linux-gnu-pkg-config Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lintl cannot be used Sockets code is fine: no sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the INSTALL file. Systemd library found. PREFIX=/usr LOCALSTATEDIR=/var/lib OSLIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd -Wl,-rpath,/usr/local/lib DBLIBS= OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb DBCFLAGS= --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 --libdir=/usr/lib64 --without-sqlite Makefile created: success. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 ... make -j4 mkdir -p build/obj mkdir -p build/obj mkdir -p build/obj x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o rm -rf include mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ install -d sqlite rm -rf sqlite/turndb echo sqlite/turndb < turndb/schema.sql sqlite/turndb src/client/ns_turn_msg.c: In function ‘stun_produce_integrity_key_str’: src/client/ns_turn_msg.c:260:21: warning: implicit declaration of function ‘FIPS_mode’ [-Wimplicit-function-declaration] 260 | if (FIPS_mode()) { | ^~~~~~~~~ src/client/ns_turn_msg.c:260:21: warning: nested extern declaration of ‘FIPS_mode’ [-Wnested-externs] In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function ‘make_ioa_addr’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro ‘STRCPY’ 191 | STRCPY(ssaddr,saddr0); | ^~~~~~ src/client/ns_turn_msg.c:171:9: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char*)str+ulen+1,(const char*)realm,sz-ulen-1); | ^ src/client/ns_turn_msg.c:163:23: note: length computed here 163 | size_t rlen = strlen((const char*)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1849:12: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1849 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} to ‘stun_attr_add_str’ declared here 1441 | int stun_attr_add_str(uint8_t* buf, size_t *len, uint16_t attr, const uint8_t* avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1831:17: note: ‘hmac’ declared here 1831 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function ‘stun_check_message_integrity_str’: src/client/ns_turn_msg.c:1988:17: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 1988 | strncpy((char*)pwd,(const char*)upwd,sizeof(password_t)); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/client/ns_turn_msg.c:2181:17: note: in expansion of macro ‘STRCPY’ 2181 | STRCPY(key->kid,oakd->kid); | ^~~~~~ mkdir -p lib x86_64-pc-linux-gnu-ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o x86_64-pc-linux-gnu-ar: creating lib/libturnclient.a pwd pwd pwd pwd /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 mkdir -p bin mkdir -p bin /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2 mkdir -p bin mkdir -p bin x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd -Wl,-rpath,/usr/local/lib x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd -Wl,-rpath,/usr/local/lib x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd -Wl,-rpath,/usr/local/lib x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -march=native -fno-diagnostics-color -O2 -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_SCTP_INCLUDE="" -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd -Wl,-rpath,/usr/local/lib In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: src/apps/rfc5769/rfc5769check.c: In function ‘main’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/rfc5769/rfc5769check.c:119:49: note: in expansion of macro ‘STRCPY’ 119 | STRCPY(okdr.ikm_key,base64encoded_ltp); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libturnclient.a(ns_turn_msg.o): in function `stun_produce_integrity_key_str': /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2/src/client/ns_turn_msg.c:260: undefined reference to `FIPS_mode' collect2: error: ld returned 1 exit status make: *** [Makefile:126: bin/turnutils_stunclient] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libturnclient.a(ns_turn_msg.o): in function `stun_produce_integrity_key_str': /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2/src/client/ns_turn_msg.c:260: undefined reference to `FIPS_mode' collect2: error: ld returned 1 exit status make: *** [Makefile:116: bin/turnutils_natdiscovery] Error 1 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libturnclient.a(ns_turn_msg.o): in function `stun_produce_integrity_key_str': /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2/src/client/ns_turn_msg.c:260: undefined reference to `FIPS_mode' collect2: error: ld returned 1 exit status make: *** [Makefile:131: bin/turnutils_rfc5769check] Error 1 /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/libturnclient.a(ns_turn_msg.o): in function `stun_produce_integrity_key_str': /var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2/src/client/ns_turn_msg.c:260: undefined reference to `FIPS_mode' collect2: error: ld returned 1 exit status make: *** [Makefile:121: bin/turnutils_oauth] Error 1 * ERROR: net-im/coturn-4.5.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-im/coturn-4.5.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-im/coturn-4.5.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-im:coturn-4.5.2-r1:20220521-213313.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-im/coturn-4.5.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/coturn-4.5.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2' * S: '/var/tmp/portage/net-im/coturn-4.5.2-r1/work/coturn-4.5.2'