Bug#862135: src:zookeeper: FTBFS with cppunit 0.14 (AM_PATH_CPPUNIT/cppunit-config removed)

Rene Engelhard rene at debian.org
Mon May 8 20:27:03 UTC 2017


Package: src:zookeeper
Version: 3.4.9-2
Severity: normal

Dear Maintainer,

[ cppunit 0.14 is not in Debian yet, see #861718. Thus normal for now ]

On a rebuild test using ratt I noticed your package doesn't build with
cppunit 0.14:

[...]
# Compile C library
cd src/c && autoreconf -i
configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in library
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in library
configure.ac:37: error: possibly undefined macro: AM_PATH_CPPUNIT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
debian/rules:22: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:19: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[...]

cppunit 0.14 removed cppunit-config (and thus also /usr/share/aclocal,
which of course then means AM_PATH_CPPUNIT isn't there anymore.)

You should use pkg-config for it now. (that one is available since
long.)

I put my package for testing to
https://people.debian.org/~rene/libreoffice/5.4/cppunit/

Regards,

Rene



More information about the pkg-java-maintainers mailing list