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

Bug#761735: buddy: libtool split: package needs a b-d on libtool-bin (or avoid using the libtool binary)



Package: src:buddy
Version: 2.4-10
Severity: wishlist
User: debian-cross@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/buddy_2.4-10_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
	
[...]
Unpack source
â??â??â??â??â??â??â??â??â??â??â??â??â??

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Aug 19 17:46:44 2014 UTC using RSA key ID 1DDD8C9B
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./buddy_2.4-10.dsc
dpkg-source: info: extracting buddy in buddy-2.4
dpkg-source: info: unpacking buddy_2.4.orig.tar.gz
dpkg-source: info: unpacking buddy_2.4-10.debian.tar.xz

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-22fdbf11-4a9e-4ad7-98d8-3a123ba9e57c
SCHROOT_UID=1000
SCHROOT_USER=user
SHELL=/bin/sh
USER=user

dpkg-buildpackage
â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??

dpkg-buildpackage: source package buddy
dpkg-buildpackage: source version 2.4-10
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Aurelien Jarno <aurel32@debian.org>
 dpkg-source --before-build buddy-2.4
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
libtool --mode=clean rm
make: libtool: Command not found
make: *** [clean] Error 127
debian/rules:33: recipe for target 'clean' failed
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2


Reply to: