[Debian-ha-maintainers] Bug#761759: heartbeat: libtool split: package needs a b-d on libtool-bin (or avoid using the libtool binary)
Matthias Klose
doko at debian.org
Mon Sep 15 23:41:48 UTC 2014
Package: src:heartbeat
Version: 1:3.0.5+hg12629-1.1
Severity: wishlist
User: debian-cross at lists.debian.org
Usertags: libtool-split
As part of the effort to cross-build the archive, the libtool package
needs a split into an architecture independent part and an
architecture dpendent part (the latter only consisting of the libtool
binary). The split is already done for jessie/sid, but to enable the
cross buildability, the dependency in libtool on libtool-bin needs to
be removed, and libtool-bin needs to depend on libtool instead.
The vast majority of packages using libtool via automake don't need
the libtool binary, and thus no changes in the build dependencies, however
about 60 source packages are using libtool directly, and need changes.
- some packages just check for the libtool binary, and then don't
use it for the build (but are using libtoolize instead). Such
usages are seen in a script called buildcheck.sh, and sometimes
in autogen.sh scripts. The solution for these cases is to patch
these scripts to check for libtoolize instead of libtool, and
not to introduce the new build dependency.
- other packages just need the additional build dependency on
libtool-bin.
To test your packages with the libtool-bin package removed, please use
the binaries found at
deb https://people.debian.org/~doko/tmp/20140820 ./
It is not clear, if all of these changes can be done in time for
the jessie release, but it would be nice to have to be able to
cross-build more packages in jessie.
For questions and help please email the debian-cross ML.
For additional pointers please see
https://lists.debian.org/debian-devel-announce/2014/08/msg00013.html
and some discussion in the orignal issue filed for libtool (#682045).
The full build log can be found at:
http://people.debian.org/~doko/logs/20140912/failed-libtool/heartbeat_3.0.5+hg12629-1.1_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
[...]
dpkg-buildpackage: source package heartbeat
dpkg-buildpackage: source version 1:3.0.5+hg12629-1.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Metzler <ametzler at debian.org>
dpkg-source --before-build heartbeat-3.0.5+hg12629
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make clean
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f tools/ccdv
find . -name '*.py[co]' | xargs rm -f
dh_clean
rm -f libltdl.tar autoconf automake autoheader
rm -f debian/init debian/*.debhelper debian/*.substvars config.log
rm -r -f debian/heartbeat debian/heartbeat-dev debian/ldirectord \
debian/libpils0 debian/libpils-dev \
debian/libstonith0 debian/libstonith-dev debian/stonith
# Zero autoconf foo
rm -f config.status libltdl/config.log libltdl/config.status
dpkg-source -b heartbeat-3.0.5+hg12629
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building heartbeat using existing ./heartbeat_3.0.5+hg12629.orig.tar.bz2
dpkg-source: info: building heartbeat in heartbeat_3.0.5+hg12629-1.1.debian.tar.xz
dpkg-source: info: building heartbeat in heartbeat_3.0.5+hg12629-1.1.dsc
debian/rules build
dh_testdir
# Only bootstrap as neccessary
if test -e ./configure -a ! -x ./configure; then \
chmod u+x ./configure; \
fi
if test -e ./py-compile -a ! -x ./py-compile; then \
chmod u+x ./py-compile; \
fi
test ! -x ./configure || /bin/bash ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --disable-crm --with-group-name=haclient --with-ccmuser-name=hacluster --enable-libc-malloc --disable-fatal-warnings;
test -x ./configure || /bin/bash ./bootstrap --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --disable-crm --with-group-name=haclient --with-ccmuser-name=hacluster --enable-libc-malloc --disable-fatal-warnings
Autoconf package autoconf found.
Automake package automake found.
You must have libtool installed to compile the linux-ha package.
Download the appropriate package for your system,
or get the source tarball at: ftp://ftp.gnu.org/pub/gnu/libtool/
./bootstrap exiting due to error (sorry!).
make: *** [build-stamp] Error 127
debian/rules:28: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Debian-ha-maintainers
mailing list