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

Simon Josefsson simon at
Wed Jan 18 11:58:22 CET 2012

ludo at (Ludovic Courtès) writes:

> Hi,
> Simon Josefsson <simon at> skribis:
>> ludo at (Ludovic Courtès) writes:
>>> Hi Simon,
>>> Simon Josefsson <simon at> skribis:
>>>> I'm getting the error below on 'make distcheck'.  Any ideas?  There
>>>> haven't been any significant changes in the guile/ sub-directory for
>>>> quite a while, so I'm puzzled what triggered this.
>>> Can you try:
>>>   $ ./pre-inst-guile
>>>   guile> (use-modules (gnutls))
>>> Most likely fails to be loaded for some reason–e.g.,
>>> unresolved symbols.
>> That works fine.  It is only when I run 'make distcheck' the problem
>> happens.  'make check' works.  Is there any way to make the code print
>> some more debugging information to allow me to pin-point the problem?
>> Right now it says:
>> ERROR: no code for module (gnutls)
>> FAIL: anonymous-auth.scm
> That’s another $(builddir) != $(srcdir) issue.  Can you check whether
> f02628b3c9577e9a5a1fcaa87bdd2759fbd7011c fixes the problem?

Now I get a different error message:

make[4]: Entering directory `/home/jas/src/gnutls/gnutls-3.0.11/_build/guile/tests'
ERROR: In procedure dynamic-link:
ERROR: file: "/home/jas/src/gnutls/gnutls-3.0.11/_build/../guile/src/guile-gnutls-v-2", message: "file not found"
FAIL: anonymous-auth.scm

With the patch below 'make distcheck' continues.  Reading gnutls.scm, it
seems like the right thing to me, but please confirm.

diff --git a/guile/ b/guile/
index cd74e32..9dd409d 100644
--- a/guile/
+++ b/guile/
@@ -24,7 +24,7 @@ GUILE_LOAD_PATH="@abs_top_srcdir@/guile/modules:$GUILE_LOAD_PATH"
 exec @abs_top_builddir@/libtool --mode=execute		                    \


More information about the Gnutls-devel mailing list