failed `tls` module build on master
```
CC (gcc) [M crypto.so] api.o
CC (gcc) [M crypto.so] crypto_aes.o
CC (gcc) [M crypto.so] crypto_evcb.o
CC (gcc) [M crypto.so] crypto_mod.o
CC (gcc) [M crypto.so] crypto_uuid.o
LD (gcc) [M crypto.so] crypto.so
CC (gcc) [M tls.so] tls_bio.o
CC (gcc) [M tls.so] tls_cfg.o
CC (gcc) [M tls.so] tls_config.o
CC (gcc) [M tls.so] tls_ct_wrq.o
CC (gcc) [M tls.so] tls_domain.o
CC (gcc) [M tls.so] tls_dump_vf.o
CC (gcc) [M tls.so] tls_init.o
CC (gcc) [M tls.so] tls_locking.o
CC (gcc) [M tls.so] tls_map.o
CC (gcc) [M tls.so] tls_mod.o
CC (gcc) [M tls.so] tls_rand.o
CC (gcc) [M tls.so] tls_rpc.o
CC (gcc) [M tls.so] tls_select.o
CC (gcc) [M tls.so] tls_server.o
CC (gcc) [M tls.so] tls_util.o
CC (gcc) [M tls.so] tls_verify.o
LD (gcc) [M tls.so] tls.so
CC (gcc) [M auth_identity.so] auth_crypt.o
auth_crypt.c: In function 'rsa_sha1_enc':
auth_crypt.c:214:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
214 | if(RSA_sign(NID_sha1, sstrcrypted, sizeof sstrcrypted,
| ^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_crypt.c:33:
/usr/include/openssl/rsa.h:356:27: note: declared here
356 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
| ^~~~~~~~
auth_crypt.c: In function 'rsa_sha1_dec':
auth_crypt.c:258:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
258 | hpubkey = EVP_PKEY_get1_RSA(pkey);
| ^~~~~~~
In file included from /usr/include/openssl/pem.h:22,
from auth_crypt.c:33:
/usr/include/openssl/evp.h:1359:16: note: declared here
1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
auth_crypt.c:266:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
266 | if(RSA_verify(NID_sha1, (unsigned char *)ssha, sshasize,
| ^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_crypt.c:33:
/usr/include/openssl/rsa.h:359:27: note: declared here
359 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
| ^~~~~~~~~~
auth_crypt.c:273:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
273 | RSA_free(hpubkey);
| ^~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_crypt.c:33:
/usr/include/openssl/rsa.h:301:28: note: declared here
301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
auth_crypt.c:298:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
298 | RSA_free(hpubkey);
| ^~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_crypt.c:33:
/usr/include/openssl/rsa.h:301:28: note: declared here
301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
CC (gcc) [M auth_identity.so] auth_dynstr.o
CC (gcc) [M auth_identity.so] auth_hdrs.o
CC (gcc) [M auth_identity.so] auth_http.o
CC (gcc) [M auth_identity.so] auth_identity.o
auth_identity.c: In function 'mod_init':
auth_identity.c:414:9: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
414 | glb_hmyprivkey = PEM_read_RSAPrivateKey(hpemfile, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~
In file included from auth_identity.c:43:
/usr/include/openssl/pem.h:447:1: note: declared here
447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^~~~~~~~~~~~~~~~~~~~~~
auth_identity.c:425:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
425 | if(initdynstr(&glb_encedmsg, RSA_size(glb_hmyprivkey)))
| ^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_identity.c:43:
/usr/include/openssl/rsa.h:212:27: note: declared here
212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
auth_identity.c:429:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
429 | if(initdynstr(&glb_b64encedmsg, (RSA_size(glb_hmyprivkey) / 3 + 1) *
4))
| ^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from auth_identity.c:43:
/usr/include/openssl/rsa.h:212:27: note: declared here
212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
CC (gcc) [M auth_identity.so] auth_tables.o
LD (gcc) [M auth_identity.so] auth_identity.so
Makefile:49: sources = tls_bio.c tls_cfg.c tls_config.c tls_ct_wrq.c tls_domain.c
tls_dump_vf.c tls_init.c tls_map.c tls_rand.c tls_rpc.c tls_select.c tls_server.c
tls_util.c tls_verify.c tls_wolfssl_mod.c , auto_gen = , objs = tls_bio.o tls_cfg.o
tls_config.o tls_ct_wrq.o tls_domain.o tls_dump_vf.o tls_init.o tls_map.o tls_rand.o
tls_rpc.o tls_select.o tls_server.o tls_util.o tls_verify.o tls_wolfssl_mod.o
Makefile:49: sources = tls_bio.c tls_cfg.c tls_config.c tls_ct_wrq.c tls_domain.c
tls_dump_vf.c tls_init.c tls_map.c tls_rand.c tls_rpc.c tls_select.c tls_server.c
tls_util.c tls_verify.c tls_wolfssl_mod.c , auto_gen = , objs = tls_bio.o tls_cfg.o
tls_config.o tls_ct_wrq.o tls_domain.o tls_dump_vf.o tls_init.o tls_map.o tls_rand.o
tls_rpc.o tls_select.o tls_server.o tls_util.o tls_verify.o tls_wolfssl_mod.o
/bin/sh: line 3: ./autogen.sh: No such file or directory
env: './configure': No such file or directory
make[2]: *** [Makefile:21: ../../../misc/external/wolfssl/build/include/wolfssl/options.h]
Error 127
make[1]: *** [Makefile:508: modules] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/kamailio-5.8.0-dev1/src'
make: *** [Makefile:34: every-module] Error 2
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3621
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3621(a)github.com>