Hi Andreas

Am 25.10.2015 um 17:58 schrieb Andreas Metzler:
> On 2015-10-03 Andreas Metzler <ametz...@bebt.de> wrote:
> [...]
>> this should be fixed upstream but actually isn't, because the
>> configure test failed:
> 
>> AC_CHECK_FUNCS(gnutls_certificate_set_retrieve_function,,)
>> ...
>> configure:18329: checking for gnutls_certificate_set_retrieve_function
>> configure:18329: gcc -o conftest -g -O2 -fstack-protector-strong -Wformat 
>> -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c  >&5
>> /dev/shm/ccWseG6b.o: In function `main':
>> /tmp/NEON/rsyslog-8.12.0/conftest.c:186: undefined reference to 
>> `gnutls_certificate_set_retrieve_function'
>> collect2: error: ld returned 1 exit status
> 
>> Note that the gcc line is missing the -lgnutls.
> 
> Hello,
> 
> This is fixed in 8.13, which includes
> 588b4ca7412326abd51a5b2060eafbc04611e419 (Fix detection of the GnuTLS
> package).

While 8.13.0 successfully builds with gnutls 3.4.0 now, it still seems
to use gnutls_certificate_type_set_priority when available, so will
trigger this build warning you referenced in your initial bug report.

The upstream "fix" is to simply not use
gnutls_certificate_type_set_priority if not available [1], you mentioned
in your bug report that gnutls_priority_set_direct() should be used instead.

Could you please follow up here or the upstream bug report if the
upstream change really is sufficient or if there is still some work to
be done.

Thanks,
Michael



[1] https://github.com/rsyslog/rsyslog/blob/master/runtime/nsd_gtls.c#L1699


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to