[1304/3257] Compiling source4/lib/tls/tls.c ../source4/lib/tls/tls.c:42:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_credentials x509_cred; ^ /usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls.c:43:2: warning: 'gnutls_dh_params' is deprecated [-Wdeprecated-declarations] gnutls_dh_params dh_params; ^ /usr/local/include/gnutls/compat.h:104:28: note: 'gnutls_dh_params' has been explicitly marked deprecated here typedef gnutls_dh_params_t gnutls_dh_params _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls.c:55:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] gnutls_session session; ^ /usr/local/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls.c:62:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_credentials xcred; ^ /usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls.c:114:25: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] static ssize_t tls_pull(gnutls_transport_ptr ptr, void *buf, size_t size) ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ../source4/lib/tls/tls.c:153:25: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] static ssize_t tls_push(gnutls_transport_ptr ptr, const void *buf, size_t size) ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ../source4/lib/tls/tls.c:548:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] gnutls_transport_set_ptr(tls->session, (gnutls_transport_ptr)tls); ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ 7 warnings generated. [1305/3257] Compiling source4/lib/tls/tlscert.c ../source4/lib/tls/tlscert.c:46:2: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] gnutls_x509_crt cacrt, crt; ^ /usr/local/include/gnutls/compat.h:89:27: note: 'gnutls_x509_crt' has been explicitly marked deprecated here typedef gnutls_x509_crt_t gnutls_x509_crt _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tlscert.c:47:2: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations] gnutls_x509_privkey key, cakey; ^ /usr/local/include/gnutls/compat.h:90:31: note: 'gnutls_x509_privkey' has been explicitly marked deprecated here typedef gnutls_x509_privkey_t gnutls_x509_privkey ^ 2 warnings generated. [1306/3257] Compiling source4/lib/tls/tls_tstream.c ../source4/lib/tls/tls_tstream.c:88:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] gnutls_session tls_session; ^ /usr/local/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls_tstream.c:193:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] static ssize_t tstream_tls_push_function(gnutls_transport_ptr ptr, ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ../source4/lib/tls/tls_tstream.c:332:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] static ssize_t tstream_tls_pull_function(gnutls_transport_ptr ptr, ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ../source4/lib/tls/tls_tstream.c:914:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_credentials x509_cred; ^ /usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls_tstream.c:915:2: warning: 'gnutls_dh_params' is deprecated [-Wdeprecated-declarations] gnutls_dh_params dh_params; ^ /usr/local/include/gnutls/compat.h:104:28: note: 'gnutls_dh_params' has been explicitly marked deprecated here typedef gnutls_dh_params_t gnutls_dh_params _GNUTLS_GCC_ATTR_DEPRECATED; ^ ../source4/lib/tls/tls_tstream.c:1118:47: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] gnutls_transport_set_ptr(tlss->tls_session, (gnutls_transport_ptr)state->tls_stream); ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ ../source4/lib/tls/tls_tstream.c:1393:47: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] gnutls_transport_set_ptr(tlss->tls_session, (gnutls_transport_ptr)state->tls_stream); ^ /usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here typedef gnutls_transport_ptr_t gnutls_transport_ptr ^ 7 warnings generated.
gnutls: stable 3.5.10
[1250/2913] Compiling source4/lib/tls/tlscert.c ../source4/lib/tls/tlscert.c:46:2: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] gnutls_x509_crt cacrt, crt; ^ /usr/local/include/gnutls/compat.h:89:43: note: 'gnutls_x509_crt' has been explicitly marked deprecated here typedef gnutls_x509_crt_t gnutls_x509_crt _GNUTLS_GCC_ATTR_DEPRECATED; ^ /usr/local/include/gnutls/compat.h:40:53: note: expanded from macro '_GNUTLS_GCC_ATTR_DEPRECATED' #define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^ ../source4/lib/tls/tlscert.c:47:2: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations] gnutls_x509_privkey key, cakey; ^ /usr/local/include/gnutls/compat.h:91:5: note: 'gnutls_x509_privkey' has been explicitly marked deprecated here _GNUTLS_GCC_ATTR_DEPRECATED; ^ /usr/local/include/gnutls/compat.h:40:53: note: expanded from macro '_GNUTLS_GCC_ATTR_DEPRECATED' #define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^
the summary of this bug is a example for how a summary should not look like ;). The reported deprecation warnings are fixed with 71816984c31cd1a392355afdbfdadb0da2d05765 in master.