gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Simon Josefsson
Subject: Re: make distcheck failure in gnutls-guile 'ERROR: no code for module (gnutls)'
Date: Wed, 18 Jan 2012 11:58:22 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
>
> Simon Josefsson <address@hidden> skribis:
>
>> address@hidden (Ludovic Courtès) writes:
>>
>>> Hi Simon,
>>>
>>> Simon Josefsson <address@hidden> 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 guile-gnutls.so 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/pre-inst-guile.in b/guile/pre-inst-guile.in
index cd74e32..9dd409d 100644
--- a/guile/pre-inst-guile.in
+++ b/guile/pre-inst-guile.in
@@ -24,7 +24,7 @@ 
GUILE_LOAD_PATH="@abs_top_srcdir@/guile/modules:$GUILE_LOAD_PATH"
 GUILE_LOAD_PATH="@abs_top_builddir@/guile/modules:$GUILE_LOAD_PATH"
 export GUILE_LOAD_PATH
 
-GNUTLS_GUILE_EXTENSION_DIR="@abs_top_srcdir@/guile/src"
+GNUTLS_GUILE_EXTENSION_DIR="@abs_top_builddir@/guile/src"
 export GNUTLS_GUILE_EXTENSION_DIR
 
 exec @abs_top_builddir@/libtool --mode=execute                             \

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]