make distcheck failure in gnutls-guile 'ERROR: no code for module (gnutls)'

Ludovic Courtès ludo at gnu.org
Wed Jan 25 00:07:48 CET 2012


Hi Simon,

Simon Josefsson <simon at josefsson.org> skribis:

> ludo at gnu.org (Ludovic Courtès) writes:

[...]

>> Ooh, here ERR is #f, instead of being an error value.  That’s presumably
>> because gnutls_handshake returned an error value that the GnuTLS
>> bindings don’t know about (see comment in ‘guile/src/errors.c’.)
>>
>> Commit 1c59226bb239aa563d02b6ea8ed285de006e3b31 updates the list of
>> error codes known to the Guile bindings, which solves the problem.
>>
>> The proper solution would be to automatically extract the list of error
>> codes from gnutls.h.in, but I felt too busy today.  :-)
>
> Thank you!  We can look at automating this later on.

OTOH, error codes are part of the API, so one could argue that doing it
manual forces one to know what’s going on.

Thanks,
Ludo’.




More information about the Gnutls-devel mailing list