Bug#761780: ntl: 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:42:10 UTC 2014


Package: src:ntl
Version: 5.5.2-2
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/ntl_5.5.2-2_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
	
[...]
SCHROOT_SESSION_ID=unstable-amd64-sbuild-26b3d091-1f0c-46e9-a2e4-532347fb89c3
SCHROOT_UID=1000
SCHROOT_USER=user
SHELL=/bin/sh
USER=user

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

dpkg-buildpackage: source package ntl
dpkg-buildpackage: source version 5.5.2-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Bernhard R. Link <brlink at debian.org>
 dpkg-source --before-build ntl-5.5.2
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
if test -e src/makefile ; then /usr/bin/make -C src clobber ;fi
make[1]: Entering directory '/«PKGBUILDDIR»/src'
rm -f ntl.a mach_desc.h ../include/NTL/mach_desc.h  GetTime.c 
rm -f lip_gmp_aux_impl.h ../include/NTL/gmp_aux.h
sh RemoveProg QuickTest BerlekampTest CanZassTest ZZXFacTest MoreFacTest LLLTest  BitMatTest MatrixTest CharPolyTest RRTest QuadTest  GF2XTest GF2EXTest subset ZZ_pEXTest lzz_pEXTest MakeDesc TestGetTime gen_lip_gmp_aux gen_gmp_aux
rm -f *.o
rm -rf small
rm -f cfileout mfileout
rm -rf .libs *.lo libntl.la
rm -f all
make[1]: Leaving directory '/«PKGBUILDDIR»/src'
rm -f build-arch-stamp
rm -f src/makefile include/NTL/config.h
dh_clean
 dpkg-source -b ntl-5.5.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ntl using existing ./ntl_5.5.2.orig.tar.gz
dpkg-source: warning: ignoring deletion of file src/makefile, use --include-removal to override
dpkg-source: warning: ignoring deletion of file include/NTL/config.h, use --include-removal to override
dpkg-source: info: building ntl in ntl_5.5.2-2.debian.tar.xz
dpkg-source: info: building ntl in ntl_5.5.2-2.dsc
 debian/rules build
cd src && ./configure \
	WIZARD=off SHARED=on \
	CFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith ' CXXFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' \
	CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='' \
	DEF_PREFIX='/usr' \
	NTL_GMP_LIP=on NTL_STD_CXX=on SHARED=on \
	NTL_GF2X_LIB=off
***** checking for libtool *****
Error: bad libtool (libtool) -- try glibtool? at DoConfig line 137.
make: *** [src/makefile] Error 2
debian/rules:25: recipe for target 'src/makefile' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list