Package: src:shapelib
Version: 1.3.0-3
Severity: wishlist
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, and sometimes
   in 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

To test your packages with the libtool-bin package removed, please use
the binaries found at

  deb ./

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
and some discussion in the orignal issue filed for libtool (#682045).

The full build log can be found at:
The last lines of the build log are at the end of this report.

dpkg-buildpackage: source package shapelib
dpkg-buildpackage: source version 1.3.0-3
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Francesco Paolo Lovergine 
 dpkg-source --before-build shapelib-1.3.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/«PKGBUILDDIR»'
make[2]: Entering directory '/«PKGBUILDDIR»'
rm -f *.o shptest shpcreate shpadd shpdump shprewind dbfcreate dbfadd dbfdump 
shptreedump  libshp.a 
rm -rf *.lo *.la .libs
make[2]: Leaving directory '/«PKGBUILDDIR»'
make -C /«PKGBUILDDIR»/contrib clean
make[2]: Entering directory '/«PKGBUILDDIR»/contrib'
rm -f shpdxf shpproj dbfinfo shpcentrd shpdata shpwkb dbfcat dbfinfo shpinfo 
shpfix shpcat *.o
make[2]: Leaving directory '/«PKGBUILDDIR»/contrib'
rm -f contrib/Shape_PointInPoly contrib/shpsort
make[1]: Leaving directory '/«PKGBUILDDIR»'
 dpkg-source -b shapelib-1.3.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building shapelib using existing ./shapelib_1.3.0.orig.tar.gz
dpkg-source: info: building shapelib in shapelib_1.3.0-3.debian.tar.xz
dpkg-source: info: building shapelib in shapelib_1.3.0-3.dsc
 debian/rules build
dh build
   debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
make[2]: Entering directory '/«PKGBUILDDIR»'
libtool --mode=compile gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.3.0\" 
-DSTDC_HEADERS=1  -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -c shpopen.c
make[2]: libtool: Command not found
Makefile:118: recipe for target '.libs/' failed
make[2]: *** [.libs/] Error 127
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build] Error 2
debian/rules:7: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Pkg-grass-devel mailing list

Reply via email to