Cook: turnserver 0.7.3 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libconfuse-2.7-i486 Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Extracting source archive "turnserver-0.7.3.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... no testing is disabled checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc and cc understand -c and -o together... yes checking for sed... sed checking for timer_create in -lrt... yes checking for SSL_new in -lssl... yes checking for ERR_reason_error_string in -lcrypto... yes checking for cfg_init in -lconfuse... yes checking how to run the C preprocessor... i486-slitaz-linux-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 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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for working volatile... yes checking for i486-slitaz-linux-doxygen... no checking for doxygen... no configure: WARNING: doxygen not found - will not generate any doxygen documentation checking for i486-slitaz-linux-perl... no checking for perl... /usr/bin/perl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /root/missing: Unknown `--is-lightweight' option Try `/root/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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 i486-slitaz-linux-gcc... gcc3 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 stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... 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 whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for vprintf... yes checking for _doprnt... no checking for dup2... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for pselect... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for sigaction... yes checking for signal... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating extra/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands configure: Configuration turnserver version 0.7.3 Enable debug build: .............. no User-defined FD_SETSIZE: ......... no User-defined XOR_PEER_ADDRESS_MAX: 5 make all-recursive make[1]: Entering directory '/home/slitaz/wok/turnserver/source/turnserver-0.7.3' Making all in src make[2]: Entering directory '/home/slitaz/wok/turnserver/source/turnserver-0.7.3/src' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT test_turn_client.o -MD -MP -MF .deps/test_turn_client.Tpo -c -o test_turn_client.o test_turn_client.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT util_crypto.o -MD -MP -MF .deps/util_crypto.Tpo -c -o util_crypto.o util_crypto.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT tls_peer.o -MD -MP -MF .deps/tls_peer.Tpo -c -o tls_peer.o tls_peer.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT util_sys.o -MD -MP -MF .deps/util_sys.Tpo -c -o util_sys.o util_sys.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT test_echo_server.o -MD -MP -MF .deps/test_echo_server.Tpo -c -o test_echo_server.o test_echo_server.c mv -f .deps/util_sys.Tpo .deps/util_sys.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT turnserver.o -MD -MP -MF .deps/turnserver.Tpo -c -o turnserver.o turnserver.c mv -f .deps/util_crypto.Tpo .deps/util_crypto.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -std=c99 -Wall -Wextra -Werror -Wstrict-prototypes -Wredundant-decls -Wshadow -pedantic -fno-strict-aliasing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -D_DEFAULT_SOURCE -DNDEBUG -march=i486 -Os -pipe -mindirect-branch=thunk -MT dbg.o -MD -MP -MF .deps/dbg.Tpo -c -o dbg.o dbg.c test_turn_client.c: In function 'main': test_turn_client.c:1543:7: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] LIBSSL_CLEANUP; ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from tls_peer.h:93, from protocol.h:58, from test_turn_client.c:84: /usr/include/openssl/err.h:261:1: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^~~~~~~~~~~~~~~~~~ test_turn_client.c:1712:5: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] LIBSSL_CLEANUP; ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from tls_peer.h:93, from protocol.h:58, from test_turn_client.c:84: /usr/include/openssl/err.h:261:1: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^~~~~~~~~~~~~~~~~~ tls_peer.c: In function 'tls_peer_setup': tls_peer.c:347:5: error: 'DTLSv1_client_method' is deprecated [-Werror=deprecated-declarations] method_client = (SSL_METHOD*)DTLSv1_client_method(); ^~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:13, from tls_peer.c:83: /usr/include/openssl/ssl.h:1897:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ tls_peer.c:348:5: error: 'DTLSv1_server_method' is deprecated [-Werror=deprecated-declarations] method_server = (SSL_METHOD*)DTLSv1_server_method(); ^~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:13, from tls_peer.c:83: /usr/include/openssl/ssl.h:1896:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ tls_peer.c:352:5: error: 'TLSv1_client_method' is deprecated [-Werror=deprecated-declarations] method_client = (SSL_METHOD*)TLSv1_client_method(); ^~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:13, from tls_peer.c:83: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ tls_peer.c:353:5: error: 'TLSv1_server_method' is deprecated [-Werror=deprecated-declarations] method_server = (SSL_METHOD*)TLSv1_server_method(); ^~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:13, from tls_peer.c:83: /usr/include/openssl/ssl.h:1878:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ tls_peer.c: In function 'tls_peer_read': tls_peer.c:424:13: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} speer->ssl->rbio = bio_read; ^~ protocol.c: In function 'turn_calculate_integrity_hmac': protocol.c:1486:12: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ test_echo_server.c: In function 'main': test_echo_server.c:125:3: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration] memset(&addr, 0x00, sizeof(struct sockaddr)); ^~~~~~ test_echo_server.c:125:3: error: incompatible implicit declaration of built-in function 'memset' [-Werror] test_echo_server.c:125:3: note: include '' or provide a declaration of 'memset' test_echo_server.c:49:1: +#include test_echo_server.c:125:3: memset(&addr, 0x00, sizeof(struct sockaddr)); ^~~~~~ protocol.c:1490:3: error: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Werror=implicit-function-declaration] HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ HMAC_CTX_new protocol.c:1491:3: error: 'HMAC_Init' is deprecated [-Werror=deprecated-declarations] HMAC_Init(&ctx, key, key_len, EVP_sha1()); ^~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/sha.h:13, from protocol.c:46: /usr/include/openssl/hmac.h:30:1: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ tls_peer.c: In function 'tls_peer_write': tls_peer.c:717:7: error: implicit declaration of function 'CRYPTO_add'; did you mean 'CRYPTO_free'? [-Werror=implicit-function-declaration] CRYPTO_add(&peer->bio_fake->references, 1, CRYPTO_LOCK_BIO); ^~~~~~~~~~ CRYPTO_free tls_peer.c:717:33: error: dereferencing pointer to incomplete type 'BIO' {aka 'struct bio_st'} CRYPTO_add(&peer->bio_fake->references, 1, CRYPTO_LOCK_BIO); ^~ protocol.c:1495:3: error: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Werror=implicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md protocol.c:1486:12: error: unused variable 'ctx' [-Werror=unused-variable] HMAC_CTX ctx; ^~~ protocol.c: In function 'turn_calculate_integrity_hmac_iov': protocol.c:1503:12: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ tls_peer.c:717:50: error: 'CRYPTO_LOCK_BIO' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? CRYPTO_add(&peer->bio_fake->references, 1, CRYPTO_LOCK_BIO); ^~~~~~~~~~~~~~~ CRYPTO_LOCK protocol.c:1509:3: error: 'HMAC_Init' is deprecated [-Werror=deprecated-declarations] HMAC_Init(&ctx, key, key_len, EVP_sha1()); ^~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/sha.h:13, from protocol.c:46: /usr/include/openssl/hmac.h:30:1: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ tls_peer.c:717:50: note: each undeclared identifier is reported only once for each function it appears in protocol.c:1503:12: error: unused variable 'ctx' [-Werror=unused-variable] HMAC_CTX ctx; ^~~ mv -f .deps/dbg.Tpo .deps/dbg.Po protocol.c: In function 'turn_attr_address_create': protocol.c:84:9: error: this statement may fall through [-Werror=implicit-fallthrough=] if(IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6*)address)->sin6_addr)) ^ protocol.c:99:5: note: here default: ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:478: tls_peer.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors cc1: all warnings being treated as errors make[2]: *** [Makefile:477: protocol.o] Error 1 make[2]: *** [Makefile:477: test_echo_server.o] Error 1 turnserver.c: In function 'main': turnserver.c:5623:5: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] LIBSSL_CLEANUP; ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from tls_peer.h:93, from protocol.h:58, from turnserver.c:66: /usr/include/openssl/err.h:261:1: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:477: test_turn_client.o] Error 1 cc1: all warnings being treated as errors make[2]: *** [Makefile:477: turnserver.o] Error 1 make[2]: Leaving directory '/home/slitaz/wok/turnserver/source/turnserver-0.7.3/src' make[1]: *** [Makefile:434: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/turnserver/source/turnserver-0.7.3' make: *** [Makefile:371: all] Error 2 Build dependencies to remove: 5 Removing: libconfuse libgdbm openssl-dev perl perl-core Debug information ret1. ================================================================================ Cook date: 2020-09-13 06:09 Wasted time : 16s 185:test_turn_client.c:1543:7: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] 196:test_turn_client.c:1712:5: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] 208:tls_peer.c:347:5: error: 'DTLSv1_client_method' is deprecated [-Werror=deprecated-declarations] 216:tls_peer.c:348:5: error: 'DTLSv1_server_method' is deprecated [-Werror=deprecated-declarations] 224:tls_peer.c:352:5: error: 'TLSv1_client_method' is deprecated [-Werror=deprecated-declarations] 232:tls_peer.c:353:5: error: 'TLSv1_server_method' is deprecated [-Werror=deprecated-declarations] 241:tls_peer.c:424:13: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} 245:protocol.c:1486:12: error: storage size of 'ctx' isn't known 249:test_echo_server.c:125:3: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration] 252:test_echo_server.c:125:3: error: incompatible implicit declaration of built-in function 'memset' [-Werror] 260:protocol.c:1490:3: error: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Werror=implicit-function-declaration] 264:protocol.c:1491:3: error: 'HMAC_Init' is deprecated [-Werror=deprecated-declarations] 274:tls_peer.c:717:7: error: implicit declaration of function 'CRYPTO_add'; did you mean 'CRYPTO_free'? [-Werror=implicit-function-declaration] 278:tls_peer.c:717:33: error: dereferencing pointer to incomplete type 'BIO' {aka 'struct bio_st'} 281:protocol.c:1495:3: error: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Werror=implicit-function-declaration] 285:protocol.c:1486:12: error: unused variable 'ctx' [-Werror=unused-variable] 289:protocol.c:1503:12: error: storage size of 'ctx' isn't known 292:tls_peer.c:717:50: error: 'CRYPTO_LOCK_BIO' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? 296:protocol.c:1509:3: error: 'HMAC_Init' is deprecated [-Werror=deprecated-declarations] 306:protocol.c:1503:12: error: unused variable 'ctx' [-Werror=unused-variable] 311:protocol.c:84:9: error: this statement may fall through [-Werror=implicit-fallthrough=] 325:turnserver.c:5623:5: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations] ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================