[mod_gnutls-devel] GNUTLS 3.5.9 break mod_gnutls 0.8.2

Julien Wilk generikz at gmail.com
Sat Feb 18 05:34:04 CET 2017


Got it:

./configure --disable-strict
make
make install

All good now.

Julien

On Fri, Feb 17, 2017 at 6:37 PM, Julien Wilk <generikz at gmail.com> wrote:

> Hello everyone,
>
> I had a hard time trying to log in to enter a ticket (Google login broken,
> Yahoo login broken, etc.).
>
> Just wanted to point out that the most recent GNUTLS release (3.5.9)
> obsoleted openpgp functions as follows:
>
>
>
>
> *** libgnutls: Removed any references to OpenPGP functionality in
> documentation,   and marked all functions in openpgp.h as deprecated. That
> functionality   is considered deprecated and should not be used for other
> reason than   backwards compatibility.*
>
>
> I was trying to upgrade and compile the most recent GNUTLS/mod_gnutls
> versions.
>
> Current is 3.5.8 / 0.8.2 => OK
> Intended is 3.5.9 / 0.8.2 => KO
>
> his break mod_gnutls here:
>
> his break mod_gnutls here:
>
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -Wall
> -I/usr/local/include -I/usr/local/include/p11-kit-1 -DENABLE_SRP=1
> -I/usr/include/apr-1.0 -I/usr/include -pipe -g -O2 -fstack-protector-strong
> -Wformat -Werror=format-security -pthread -DLINUX -D_REENTRANT
> -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -Wall -Werror -Wextra -g -O2 -MT
> mod_gnutls_la-gnutls_config.lo -MD -MP -MF .deps/mod_gnutls_la-gnutls_config.Tpo
> -c gnutls_config.c  -fPIC -DPIC -o .libs/mod_gnutls_la-gnutls_config.o
> gnutls_config.c: In function 'mgs_pool_free_credentials':
> gnutls_config.c:156:9: error: 'gnutls_openpgp_crt_deinit' is deprecated
> (declared at /usr/local/include/gnutls/openpgp.h:65)
> [-Werror=deprecated-declarations]
>          gnutls_openpgp_crt_deinit(sc->cert_crt_pgp[0]);
>          ^
> gnutls_config.c:172:9: error: 'gnutls_openpgp_keyring_deinit' is
> deprecated (declared at /usr/local/include/gnutls/openpgp.h:270)
> [-Werror=deprecated-declarations]
>          gnutls_openpgp_keyring_deinit(sc->pgp_list);
>          ^
> gnutls_config.c: In function 'mgs_load_files':
> gnutls_config.c:490:9: error: 'gnutls_openpgp_crt_init' is deprecated
> (declared at /usr/local/include/gnutls/openpgp.h:63)
> [-Werror=deprecated-declarations]
>          ret = gnutls_openpgp_crt_init(&sc->cert_crt_pgp[0]);
>          ^
> gnutls_config.c:500:9: error: 'gnutls_openpgp_crt_import' is deprecated
> (declared at /usr/local/include/gnutls/openpgp.h:67)
> [-Werror=deprecated-declarations]
>          ret = gnutls_openpgp_crt_import(sc->cert_crt_pgp[0], &data,
>          ^
> gnutls_config.c:611:9: error: 'gnutls_openpgp_keyring_init' is deprecated
> (declared at /usr/local/include/gnutls/openpgp.h:269)
> [-Werror=deprecated-declarations]
>          ret = gnutls_openpgp_keyring_init(&sc->pgp_list);
>          ^
> gnutls_config.c:620:9: error: 'gnutls_openpgp_keyring_import' is
> deprecated (declared at /usr/local/include/gnutls/openpgp.h:272)
> [-Werror=deprecated-declarations]
>          ret = gnutls_openpgp_keyring_import(sc->pgp_list, &data,
>          ^
> cc1: all warnings being treated as errors
> Makefile:539: recipe for target 'mod_gnutls_la-gnutls_config.lo' failed
>
>
> Is there a way to compile mod_gnutls without the PGP functions?
>
> Julien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170218/97892e7c/attachment.html>


More information about the mod_gnutls-devel mailing list