[Debian-ha-maintainers] Bug#761737: cluster-glue: 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:24 UTC 2014


Package: src:cluster-glue
Version: 1.0.12~rc1+hg2777-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/cluster-glue_1.0.12~rc1+hg2777-1_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
	
[...]
Check disc space
────────────────

Sufficient free space for build

User Environment
────────────────

HOME=/sbuild-nonexistent
LOGNAME=user
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable-amd64-sbuild
SCHROOT_CHROOT_NAME=unstable-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=user
SCHROOT_SESSION_ID=unstable-amd64-sbuild-a92da7a1-6e30-4134-a686-60bb270c6af3
SCHROOT_UID=1000
SCHROOT_USER=user
SHELL=/bin/sh
USER=user

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package cluster-glue
dpkg-buildpackage: source version 1.0.12~rc1+hg2777-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Martin Loschwitz <madkiss at debian.org>
 dpkg-source --before-build cluster-glue-1.0.12~rc1+hg2777
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
[ ! -f Makefile ] || /usr/bin/make clean
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean 
 dpkg-source -b cluster-glue-1.0.12~rc1+hg2777
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building cluster-glue using existing ./cluster-glue_1.0.12~rc1+hg2777.orig.tar.bz2
dpkg-source: info: building cluster-glue in cluster-glue_1.0.12~rc1+hg2777-1.debian.tar.xz
dpkg-source: info: building cluster-glue in cluster-glue_1.0.12~rc1+hg2777-1.dsc
 debian/rules build
dh_testdir
test -x ./configure || ./autogen.sh
You must have libtool installed to compile the cluster-glue package.
Download the appropriate package for your system,
or get the source tarball at: ftp://ftp.gnu.org/pub/gnu/libtool/
make: *** [configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Debian-ha-maintainers mailing list