Public bug reported:

Binary package hint: libtool

It appears that the link_all_deplibs=no patch hasn't been correctly
updated for libtool 2.2.x.

The binaries in xapian-omega link against libxapian which has a
dependency on libz, but the binaries don't require libz themselves.  So
to avoid explicitly linking with libz, xapian-omega's debian/rules runs
autoreconf (which runs libtoolize) to pick up this patch.  This works as
expected with libtool 1.5.26-4, but with libtool 2.2.4-0ubuntu3 the link
command run by libtool contains -lz (and so xapian-omega FTBFS since it
doesn't have a build dependency on zlib1g-dev).

The attached patch against ltmain.sh fixes this for me, but I'm not
certain if it is the correct fix, or if it is, if more cases should be
handled.  I added echos to trace how deplibs changes through the
execution of the libtool script, and it seems rather complicated.

** Affects: libtool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
link_all_deplibs=no patch no longer working well
https://bugs.launchpad.net/bugs/258491
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to