[Debian-med-packaging] Bug#761768: librcsb-core-wrapper: 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:57 UTC 2014
Package: src:librcsb-core-wrapper
Version: 1.005-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/librcsb-core-wrapper_1.005-1_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
[...]
rm -rf wrapper/python/build
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_clean -O--parallel
dpkg-source -b librcsb-core-wrapper-1.005
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building librcsb-core-wrapper using existing ./librcsb-core-wrapper_1.005.orig.tar.gz
dpkg-source: warning: ignoring deletion of file dict-obj-file/test/mmcif_std.odb, use --include-removal to override
dpkg-source: info: building librcsb-core-wrapper in librcsb-core-wrapper_1.005-1.debian.tar.xz
dpkg-source: info: building librcsb-core-wrapper in librcsb-core-wrapper_1.005-1.dsc
debian/rules build
dh build --parallel --with python2
dh_testdir -O--parallel
dh_auto_configure -O--parallel
debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_auto_build --parallel
make[2]: Entering directory '/«PKGBUILDDIR»'
sh -c '\
export PIC=-fPIC; \
export WWPDB_XERCESC_INC=/usr/include; \
export WWPDB_XERCESC_LIB_DIR=/usr/lib; \
export WWPDB_XERCESC_LIB=xerces-c; \
( cd ./util; ./compile.sh ); \
libtool --mode=link g++ -version-info 0:1:0 -rpath /usr/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,--as-needed -l${WWPDB_XERCESC_LIB} -o lib/librcsb-core-wrapper.la lib/*.lo'
------------------------------------------------------------
**** Making etc ****
------------------------------------------------------------
Using platform specific configuration for system: gnu4
Platform configuration done.
------------------------------------------------------------
**** Making common ****
------------------------------------------------------------
make[3]: Entering directory '/«PKGBUILDDIR»/common'
libtool --mode=compile g++ -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -ansi -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/RcsbPlatform.C -o ./obj/RcsbPlatform.o
make[3]: libtool: Command not found
Makefile:156: recipe for target 'RcsbPlatform.o' failed
make[3]: *** [RcsbPlatform.o] Error 127
make[3]: Leaving directory '/«PKGBUILDDIR»/common'
sh: 7: libtool: not found
make[2]: *** [lib/librcsb-core-wrapper.la] Error 127
Makefile:107: recipe for target 'lib/librcsb-core-wrapper.la' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build-nopy] Error 2
debian/rules:19: recipe for target 'override_dh_auto_build-nopy' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Debian-med-packaging
mailing list