[Top][All Lists]

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

libtoolize --ltdl non-failure (was: [O-MPI devel] ppc64 linux bustage?)

From: Ralf Wildenhues
Subject: libtoolize --ltdl non-failure (was: [O-MPI devel] ppc64 linux bustage?)
Date: Sat, 29 Oct 2005 11:06:59 +0200
User-agent: Mutt/1.5.9i

[ This is a bug reported against Debian libtool/libltdl packages,
  uncovered in OpenMPI; see here:
  It affects Debian packages, Libtool CVS branch-1-5, and CVS HEAD.
  For followups, please remove address@hidden (subscribers only).

> * Troy Benjegerdes wrote on Sat, Oct 29, 2005 at 08:01:08AM CEST:
[ reported this: ]

* Ralf Wildenhues wrote on Sat, Oct 29, 2005 at 10:38:11AM CEST:
> It's a bug when
>   libtoolize --ltdl
> succeeds although it did not find the libltdl source files.

To reproduce: uninstall libtldl3-dev on Debian, then see above command
still succeeding; alternatively, just move `$pkgdatadir/libltdl'
somewhere else after `make install'.  I'm uncertain whether Debian's
packaging needs a change, though.

In any case, OK to apply the patch below to branch-1-5?

Gary, could you look into a fix for CVS HEAD?  The corresponding code
looks a bit nonobvious to me.


        * Fail if libltdl files not present but
        `--ltdl' given.
        Reported by Troy Benjegerdes <address@hidden>.

RCS file: /cvsroot/libtool/libtool/Attic/,v
retrieving revision
diff -u -r1.21.2.13
---       22 Apr 2005 09:05:40 -0000
+++       29 Oct 2005 09:01:33 -0000
@@ -281,6 +281,10 @@
 if test "x$ltdl" = xyes; then
   test -d libltdl || $mkdir libltdl
   ltdlfiles=`cd $pkgdatadir && ls libltdl/*`
+  if test -z "$ltdlfiles"; then
+    echo "$progname: cannot list files in \`$pkgdatadir/libltdl'" 1>&2
+    exit 1
+  fi

reply via email to

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