Bug#1039074: adplay: FTBFS with libsdl1.2-compat-dev: missing build-dependency on pkgconf
Source: adplay
Version: 1.8.1-3
Severity: important
Tags: ftbfs trixie sid
I tried compiling adplay on a porterbox with libsdl1.2-compat-dev
instead of libsdl1.2-dev, in preparation for having a future version of
sdl12-compat take over the libsdl1.2-dev name.
I found that adplay FTBFS with:
> configure.ac:19: error: possibly undefined macro: AC_CHECK_LIB
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:19: error: possibly undefined macro: AC_MSG_ERROR
> configure.ac:21: error: possibly undefined macro: AC_MSG_WARN
> autoreconf: error: /usr/bin/autoconf failed with exit status: 1
> dh_autoreconf: error: autoreconf -f -i returned exit code 1
This appears to be fixable by installing pkgconf, which this package
requires for the pkg.m4 macros.
With the old libsdl1.2-dev, pkgconf was pulled in by this dependency chain:
libsdl1.2-dev -> libpulse-dev -> libglib2.0-dev -> pkg-config -> pkgconf
As a pragmatic workaround for legacy software I'm going to make
libsdl1.2-dev depend on pkgconf, but please fix this properly by adding
Build-Depends on all the components that this package explicitly uses.
Thanks,
smcv
Reply to: