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

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



Package: src:apr
Version: 1.5.1-2
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/apr_1.5.1-2_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
	
[...]

dpkg-buildpackage: source package apr
dpkg-buildpackage: source version 1.5.1-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Stefan Fritsch <sf@debian.org>
 dpkg-source --before-build apr-1.5.1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean -Bdebian/build --parallel --with autotools_dev
   dh_testdir -O-Bdebian/build -O--parallel
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_auto_clean
rm -rf debian/build
for f in configure build/libtool.m4 build/ltmain.sh ; do [ ! -e $f.dr-orig ] || mv $f.dr-orig $f ; done
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_autotools-dev_restoreconfig -O-Bdebian/build -O--parallel
   dh_clean -O-Bdebian/build -O--parallel
 dpkg-source -b apr-1.5.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building apr using existing ./apr_1.5.1.orig.tar.bz2
dpkg-source: info: building apr in apr_1.5.1-2.debian.tar.xz
dpkg-source: info: building apr in apr_1.5.1-2.dsc
 debian/rules build
make: Nothing to be done for 'build'.
 fakeroot debian/rules binary
dh binary -Bdebian/build --parallel --with autotools_dev
   debian/rules build
make[1]: Entering directory '/«PKGBUILDDIR»'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_testdir -O-Bdebian/build -O--parallel
   dh_autotools-dev_updateconfig -O-Bdebian/build -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/«PKGBUILDDIR»'
mkdir -p debian/build/docs
for f in configure build/libtool.m4 build/ltmain.sh ; do [ -e $f.dr-orig ] || cp -p $f $f.dr-orig ; done
./buildconf
buildconf: checking installation...
buildconf: python version 2.7.8 (ok)
buildconf: autoconf version 2.69 (ok)
buildconf: libtool not found.
           You need libtool version 1.4 or newer installed
           to build APR from SVN.
make[1]: *** [override_dh_auto_configure] Error 1
debian/rules:76: recipe for target 'override_dh_auto_configure' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [binary] Error 2
debian/rules:18: recipe for target 'binary' failed
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


Reply to: