Bug#761776: mate-power-manager: 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:06 UTC 2014


Package: src:mate-power-manager
Version: 1.8.0+dfsg1-3
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/mate-power-manager_1.8.0+dfsg1-3_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
	
[...]
config.status: creating data/icons/scalable/apps/Makefile
config.status: creating data/icons/scalable/status/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-scrollkeeper

                    MATE Power Manager 1.8.0
                  =============================

        prefix:                    /usr
        datadir:                   ${datarootdir}
        compiler:                  gcc
        cflags:                    -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
        gnome-keyring support:     yes
        Building extra applets:    yes
        Self test support:         no
        GTK+ API version:          2.0
        Use libunique:             yes
        Docbook support:           yes
        documentation dir:         ${datarootdir}/doc/mate-power-manager-1.8.0
        dbus-1 services dir:       ${datarootdir}/dbus-1/services

make[1]: Leaving directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1'
   dh_auto_build -O--parallel
make[1]: Entering directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1'
make  all-recursive
make[2]: Entering directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1'
Making all in src
make[3]: Entering directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1/src'
libtool --mode=execute dbus-binding-tool	\
	--prefix=gpm_manager			\
	--mode=glib-server			\
	--output=org.mate.PowerManager.h	\
	./org.mate.PowerManager.xml
/bin/bash: libtool: command not found
Makefile:2305: recipe for target 'org.mate.PowerManager.h' failed
make[3]: *** [org.mate.PowerManager.h] Error 127
make[3]: Leaving directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
Makefile:479: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1'
Makefile:410: recipe for target 'all' failed
make[1]: Leaving directory '/«BUILDDIR»/mate-power-manager-1.8.0+dfsg1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-mate-team mailing list