link_all_deplibs=no patch no longer working well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtool (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) | ||
Intrepid |
Won't Fix
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
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.
Changed in libtool: | |
assignee: | nobody → scott |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in libtool: | |
importance: | High → Medium |
The xapian-omega FTBFS bug is LP257755.