[Top][All Lists]

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

Re: libtool 1.5.6 still not supporting make distcheck

From: Sean Dague
Subject: Re: libtool 1.5.6 still not supporting make distcheck
Date: Wed, 1 Dec 2004 17:41:01 -0500
User-agent: Mutt/

Well, I finally solved the problem.  After another person on our team
reported that 1.5.6 started working for them again after some
changes to our project (even though it still failed for me), I went out and
grabbed Mandrake's src.rpm package and started going through the 12 patches
they added to libtool 1.5.6.

It appears that the danger patch is: libtool-1.5.6-relink.patch, which

--- libtool-1.5.6/      2004-05-02 23:02:14.052575000 +0800
+++ libtool-1.5.6/     2004-05-02 23:06:05.990315424 +0800
@@ -3662,15 +3662,23 @@
+       inst_prefix_arg=
        for test_deplib in $deplibs; do
                case " $convenience " in
                *" $test_deplib "*) ;;
-                       tmp_deplibs="$tmp_deplibs $test_deplib"
+                       if test -n "$inst_prefix_dir" && (echo "$test_deplib" | 
grep -- "$inst_prefix_dir" >/dev/null); then
+                               inst_prefix_arg="$test_deplib"
+                       else
+                               tmp_deplibs="$tmp_deplibs $test_deplib"
+                       fi
+       if test -n "$inst_prefix_arg"; then
+               deplibs="$inst_prefix_arg $deplibs"
+       fi
        if test -n "$convenience"; then
          if test -n "$whole_archive_flag_spec"; then

After I removed that patch from the build, rebuilt the rpm, and installed, I
can now get everything working with libtool.  Sorry for the Red Herring here
folks, as this wasn't a true libtool issue, but a vendor patch instead.

I'm going to report the bug to Mandrake tomorrow, hopefully they'll remove
this patch from any future libtool releases.



Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group                       

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.

Attachment: pgps1gZ98tpje.pgp
Description: PGP signature

reply via email to

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