bug-libtool
[Top][All Lists]
Advanced

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

Re: [libtool 2.2.6] testsuite: 56 57 58 68 69 70 failed


From: Ralf Wildenhues
Subject: Re: [libtool 2.2.6] testsuite: 56 57 58 68 69 70 failed
Date: Sun, 7 Jun 2009 12:04:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Robert,

* Robert Garron wrote on Sun, May 24, 2009 at 01:13:38PM CEST:
> ----- Original Message ----- From: "Ralf Wildenhues" 
>> * Robert Garron wrote on Thu, May 21, 2009 at 08:48:59AM CEST:
>>> ./nonrecursive.at:90: $MAKE $target
>>> stderr:
>>> ltdl/lt__strl.c:126: fatal error: opening dependency file  
>>> .deps/ltdl/lt__strl.Tpo: No such file or directory
>>> compilation terminated.

>>> 68. configure-iface.at:102: testing ...
>> [...]
>>> ./configure-iface.at:141: $MAKE $target
>>> stderr:
>>> make[6]: *** No rule to make target `libmodule.la.lo', needed by  
>>> `libmodule.la'.  Stop.

>> Which Autoconf and Automake versions do you have installed?
>
> ns8:/sw# autoconf --version
> autoconf (GNU Autoconf) 2.61

> ns8:/sw# automake --version
> automake (GNU automake) 1.7.9

I'm pushing the patch below to fix these test failures, and adding you
to THANKS.

Cheers, and thanks again,
Ralf

    testsuite: avoid failures due to old Automake.
    
    * tests/configure-iface.at (installable libltdl)
    (--with-ltdl-include/lib, --with-included-ltdl):
    Speficy libmodule_la_SOURCES in Makefile.am as the default
    source file naming scheme changed in Automake 1.8.
    * tests/nonrecursive.at (_LT_AT_LTDL_SETUP): Require Automake
    1.9.6.
    * THANKS: Update.
    Report by Robert Garron.

diff --git a/tests/configure-iface.at b/tests/configure-iface.at
index 59738e0..2071646 100644
--- a/tests/configure-iface.at
+++ b/tests/configure-iface.at
@@ -127,6 +127,9 @@ SUBDIRS                     = libltdl
 AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES   = libmodule.c
 libmodule_la_LDFLAGS   = -module
 
 bin_PROGRAMS           = main
@@ -196,6 +199,9 @@ AT_DATA([Makefile.am],
 AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES   = libmodule.c
 libmodule_la_LDFLAGS   = -module
 
 bin_PROGRAMS           = main
@@ -262,6 +268,9 @@ SUBDIRS                     = libltdl
 AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
+# Automake < 1.8 will use libmodule.la.c as default source,
+# while newer will choose libmodule.c; so specify it here.
+libmodule_la_SOURCES   = libmodule.c
 libmodule_la_LDFLAGS   = -module
 
 bin_PROGRAMS           = main
diff --git a/tests/nonrecursive.at b/tests/nonrecursive.at
index 0ccabe8..d37ec05 100644
--- a/tests/nonrecursive.at
+++ b/tests/nonrecursive.at
@@ -1,6 +1,6 @@
 # nonrecursive.at -- test nonrecursive Automake Libltdl       -*- Autotest -*-
 #
-#   Copyright (C) 2005, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2005
 #
 #   This file is part of GNU Libtool.
@@ -46,7 +46,7 @@ AC_OUTPUT
 
 AT_DATA([Makefile.am],
 [[ACLOCAL_AMFLAGS = -I ltdl/m4
-AUTOMAKE_OPTIONS       = 1.7
+AUTOMAKE_OPTIONS       = 1.9.6
 BUILT_SOURCES          =
 
 AM_CPPFLAGS            =




reply via email to

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