[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mdemo test failure
From: |
Patrick Welche |
Subject: |
Re: mdemo test failure |
Date: |
Mon, 19 Aug 2002 18:52:32 +0100 |
User-agent: |
Mutt/1.3.19i |
On Mon, Jul 29, 2002 at 09:43:45AM +0100, Nick Hudson wrote:
> On Friday 26 July 2002 9:44 pm, Patrick Welche wrote:
> > On NetBSD-1.6D/i386, with today's cvs libtool in tests:
> >
> > gmake MAKE=gmake TESTS="mdemo-static.test mdemo-make.test mdemo-exec.test"
> VERBOSE=-x check
> >
> > gives:
=== Running mdemo-exec.test
Executing uninstalled programs in ../mdemo
Welcome to GNU libtool mdemo!
filename: foo1.a pwd: /usr/src/local/libtool/tests
can't open the module ../mdemo/foo1.la!
error was: file not found
filename: libfoo2.a pwd: /usr/src/local/libtool/tests
can't open the module ../mdemo/libfoo2.la!
error was: file not found
myfunc returned: 57616
myfunc is ok!
./mdemo-exec.test: execution of ../mdemo/mdemo_static failed
Welcome to GNU libtool mdemo!
filename: foo1.a pwd: /usr/src/local/libtool/tests
can't open the module ../mdemo/foo1.la!
error was: file not found
filename: libfoo2.a pwd: /usr/src/local/libtool/tests
can't open the module ../mdemo/libfoo2.la!
error was: file not found
myfunc returned: 57616
myfunc is ok!
./mdemo-exec.test: execution of ../mdemo/mdemo failed
FAIL: mdemo-exec.test
with the addition of:
Index: ltdl.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/ltdl.c,v
retrieving revision 1.168
diff -u -r1.168 ltdl.c
--- ltdl.c 16 Jul 2002 09:12:30 -0000 1.168
+++ ltdl.c 19 Aug 2002 17:46:14 -0000
@@ -1912,6 +1912,7 @@
{
/* We need to catch missing file errors early so that
file_not_found() can detect what happened. */
+fprintf(stderr,"filename: %s pwd: %s\n",filename,getcwd(NULL,0));
if (access (filename, R_OK) != 0)
{
LT_DLMUTEX_SETERROR (LT_DLSTRERROR (FILE_NOT_FOUND));
> [...]
>
> Seems to be caused by the following change:
>
> http://savannah.gnu.org/cgi-bin/viewcvs/libtool/libtool/libltdl/ltdl.c.diff?r1=1.167&r2=1.168&diff_format=h
>
> Nick
>
So it seems that here, the access() should be called with
"../mdemo/.libs/" + filename ?
I also don't understand the end of mdemo/foo1.la:
# Directory that this library needs to be installed in:
libdir='/usr/src/local/libtool/tests/_inst/lib'
I don't have any such directory...
Thoughts?
Cheers,
Patrick
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: mdemo test failure,
Patrick Welche <=