Bug#862127: src:sipxtapi: FTBFS with cppunit 0.14 (AM_PATH_CPPUNIT/cppunit-config removed)

Rene Engelhard rene at debian.org
Mon May 8 20:26:36 UTC 2017


Package: src:sipxtapi
Version: 3.3.0~test17-2.1
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:

[...]
dh build --with autoreconf --builddirectory=.
   dh_testdir -O--builddirectory=.
   dh_update_autotools_config -O--builddirectory=.
   dh_autoreconf -O--builddirectory=.
configure.ac:75: warning: macro 'AM_PATH_CPPUNIT' not found in library
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:75: warning: macro 'AM_PATH_CPPUNIT' not found in library
configure.ac:75: error: possibly undefined macro: AM_PATH_CPPUNIT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:79: error: possibly undefined macro: AC_MSG_WARN
autoreconf: /usr/bin/autoconf failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
debian/rules:30: 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-voip-maintainers mailing list