[Top][All Lists]

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

FYI: libtool 2.1a failed mdemo-make.test on Solaris

From: Ralf Wildenhues
Subject: FYI: libtool 2.1a failed mdemo-make.test on Solaris
Date: Fri, 8 Jul 2005 18:17:10 +0200
User-agent: Mutt/1.4.1i

* Ralf Wildenhues wrote on Thu, Jun 23, 2005 at 12:25:01PM CEST:
> * Sven Verdoolaege wrote on Thu, Jun 23, 2005 at 09:11:36AM CEST:
> > On Thu, Jun 23, 2005 at 08:31:48AM +0200, Ralf Wildenhues wrote:
> > 
> > > > It's this version that fails on solaris.
> > > 
> > > Let's see: ls libltdl/argz.h created by running `make' in $top_builddir?
> > 
> > Yes.  I ran "make check" without a "make" first.
> > This seems to work on Linux...
> Yes, but that works only because GNU/Linux has argz.h.
> > Running make first makes tests/mdemo-make.test pass on Solaris.
> Ah, ok.  Thanks for this report.  It's a bit tricky to reproduce: You
> need a system which has no argz.h, then configure, then `make check'
> without prior make.  If you had ever run `make' before in this build
> tree, even after `make clean' the dependency information is stored in
> libltdl/.deps/*.Plo, and thus hides this bug.
> Now the gnulib snippet in libltdl/ leaves us with the
> possibility of using the lib_OBJECTS variable to fix this(?).

OK, nobody from the other two lists responded, so I am doing a different
fix which does not depend on undocumented features (and seems cleaner as

I have applied this patch to HEAD and branch-2-0 (does not apply to


        * libltdl/ (libltdl_la_DEPENDENCIES): Depend on
        $(BUILT_SOURCES) as well, so that argz.h gets created through
        Reported by Sven Verdoolaege <address@hidden>.

Index: libltdl/
RCS file: /cvsroot/libtool/libtool/libltdl/,v
retrieving revision 1.80
diff -u -r1.80
--- libltdl/ 22 Apr 2005 10:10:30 -0000      1.80
+++ libltdl/ 8 Jul 2005 16:14:47 -0000
@@ -63,7 +63,7 @@
 libltdl_la_CPPFLAGS    = -DLTDLOPEN=libltdl $(AM_CPPFLAGS)
 libltdl_la_LIBADD      = $(LTLIBOBJS)
 libltdlc_la_SOURCES    = $(libltdl_la_SOURCES)
 libltdlc_la_CPPFLAGS   = -DLTDLOPEN=libltdlc $(AM_CPPFLAGS)

reply via email to

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