bug-libtool
[Top][All Lists]
Advanced

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

Re: [libtool 2.2.6] testsuite: 21 41 52 53 54 56 57 58 59 60 61 68 69 70


From: Ralf Wildenhues
Subject: Re: [libtool 2.2.6] testsuite: 21 41 52 53 54 56 57 58 59 60 61 68 69 70 73 failed
Date: Wed, 15 Oct 2008 23:56:18 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Marcel,

thanks for the bug report.

* Marcel Loose wrote on Wed, Oct 15, 2008 at 09:39:35AM CEST:
> 
> sh-3.00$ autoconf --version
> autoconf (GNU Autoconf) 2.59

> sh-3.00$ automake --version
> automake (GNU automake) 1.9.6

You are using rather old versions of Autoconf and Automake.  The
current ones are 2.63 and 1.10.1, respectively.  Nonetheless, we aim
to provide some backward compatibility.  The test failures you report
show a few issues.  Most of them are due to the Autoconf limitation that
AC_DEFINE'd names were only m4_pattern_allow'ed in 2.60.  The patch
below works around this limitation.

Another issue causing failure of test 21 and 73 is this one:

> /convenience.at:151: $LIBTOOL --tag=F77 --mode=link $F77 $FFLAGS $LDFLAGS -o 
> liba12.la liba1.la liba2.la -rpath /notexist
> stderr:
> g77: liba12.so.0: No such file or directory
> g77: unrecognized option `-soname'
> stdout:
> libtool: link: g77 -shared  --whole-archive ./.libs/liba1.a ./.libs/liba2.a 
> --no-whole-archive     -soname liba12.so.0 -o .libs/liba12.so.0.0.0
> /convenience.at:151: exit code was 1, expected 0
> 21. convenience.at:109: 21. F77 convenience archives (convenience.at:109): 
> FAILED (convenience.at:151)

but that looks like a problem of g77:

| configure:17365: checking whether we are using the GNU Fortran 77 compiler
| configure:17384: g77 -c  conftest.F >&5
| g77: installation problem, cannot exec `cc1': No such file or directory

Maybe SuSE is missing a dependency of g77 on gcc?

Anyway, I've pushed this, and put you in THANKS.
(I'll try to address the other pending issues soonish.)

Cheers,
Ralf

    Fix Autoconf 2.59 incompatibilty.
    
    * libltdl/m4/ltdl.m4 (_LTDL_SETUP): m4_pattern_allow
    `LT_LIBEXT'; Autoconf 2.59's AC_DEFINE* macros didn't do this
    automatically yet.
    * NEWS, THANKS: Update.
    Report by Marcel Loose.

diff --git a/NEWS b/NEWS
index 9dc14e1..33ee277 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,8 @@ New in 2.2.8 2008-??-??: git version 2.2.7a, Libtool team:
 
 * Bug fixes:
 
-  - Nothing yet...
+  - Fix 2.2.6 regression that prevented using the libltdl macros together
+    with Autoconf 2.59 (`possibly undefined macro: LT_LIBEXT').
 
 New in 2.2.6 2008-09-05: git version 2.2.5a, Libtool team:
 
diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4
index f6be54a..a2b1a4e 100644
--- a/libltdl/m4/ltdl.m4
+++ b/libltdl/m4/ltdl.m4
@@ -407,6 +407,7 @@ AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h 
mach-o/dyld.h dirent.h],
 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
 
+m4_pattern_allow([LT_LIBEXT])dnl
 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
 
 name=ltdl




reply via email to

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