Bug#1138370: coturn: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 17:02:16 BST 2026
Package: coturn
Version: 4.6.1-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| src/apps/uclient/mainuclient.c: In function ‘main’:
| src/apps/uclient/mainuclient.c:491:64: error: implicit declaration of function ‘TLSv1_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 491 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_client_method());
| | ^~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| src/apps/uclient/mainuclient.c:491:64: warning: nested extern declaration of ‘TLSv1_client_method’ [-Wnested-externs]
| src/apps/uclient/mainuclient.c:491:64: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
| 491 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| In file included from src/apps/common/ns_turn_openssl.h:36,
| from src/apps/common/apputils.h:36,
| from src/apps/uclient/mainuclient.c:31:
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
| 1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
| | ~~~~~~~~~~~~~~~~~~^~~~
| src/apps/uclient/mainuclient.c:496:64: error: implicit declaration of function ‘TLSv1_1_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 496 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_1_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| src/apps/uclient/mainuclient.c:496:64: warning: nested extern declaration of ‘TLSv1_1_client_method’ [-Wnested-externs]
| src/apps/uclient/mainuclient.c:496:64: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
| 496 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_1_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
| 1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
| | ~~~~~~~~~~~~~~~~~~^~~~
| src/apps/uclient/mainuclient.c:500:64: error: implicit declaration of function ‘TLSv1_2_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 500 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_2_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| src/apps/uclient/mainuclient.c:500:64: warning: nested extern declaration of ‘TLSv1_2_client_method’ [-Wnested-externs]
| src/apps/uclient/mainuclient.c:500:64: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
| 500 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(TLSv1_2_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
| 1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
| | ~~~~~~~~~~~~~~~~~~^~~~
| src/apps/uclient/mainuclient.c:513:64: error: implicit declaration of function ‘DTLSv1_client_method’; did you mean ‘DTLS_client_method’? [-Wimplicit-function-declaration]
| 513 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(DTLSv1_client_method());
| | ^~~~~~~~~~~~~~~~~~~~
| | DTLS_client_method
| src/apps/uclient/mainuclient.c:513:64: warning: nested extern declaration of ‘DTLSv1_client_method’ [-Wnested-externs]
| src/apps/uclient/mainuclient.c:513:64: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
| 513 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(DTLSv1_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
| 1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
| | ~~~~~~~~~~~~~~~~~~^~~~
| src/apps/uclient/mainuclient.c:517:64: error: implicit declaration of function ‘DTLSv1_2_client_method’; did you mean ‘DTLS_client_method’? [-Wimplicit-function-declaration]
| 517 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(DTLSv1_2_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~~
| | DTLS_client_method
| src/apps/uclient/mainuclient.c:517:64: warning: nested extern declaration of ‘DTLSv1_2_client_method’ [-Wnested-externs]
| src/apps/uclient/mainuclient.c:517:64: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
| 517 | root_tls_ctx[root_tls_ctx_num] = SSL_CTX_new(DTLSv1_2_client_method());
| | ^~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
| 1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
| | ~~~~~~~~~~~~~~~~~~^~~~
| 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:289:25: note: in expansion of macro ‘STRCPY’
| 289 | STRCPY(log_fn_base,fn);
| | ^~~~~~
| make[1]: *** [Makefile:111: bin/turnutils_uclient] Error 1
| make[1]: Leaving directory '/build/reproducible-path/coturn-4.6.1'
| dh_auto_build: error: make -j1 returned exit code 2
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/coturn_4.6.1-2_amd64-2026-04-19T13:43:06Z
Sebastian
More information about the Pkg-voip-maintainers
mailing list