Bug#1039575: powermanga: FTBFS with libsdl1.2-compat-dev: missing build-dependency on libpng-dev

Simon McVittie smcv at debian.org
Tue Jun 27 12:04:35 BST 2023


Source: powermanga
Version: 0.93.1-5
Severity: important
Tags: ftbfs trixie sid

I tried recompiling powermanga with libsdl1.2-compat-dev instead of
libsdl1.2-dev, in preparation for having src:sdl12-compat take over the
libsdl1.2-dev package name.

I found that powermanga failed to build from source in this situation:

> configure:5847: error: no png.h; please install libpng12-dev or equivalent

Historically, libsdl1.2-dev would have pulled in libpng-dev via this
dependency chain:

    libsdl1.2-dev -> libcaca-dev -> libslang2-dev -> libpng-dev

but SDL 2 no longer supports ASCII-art output because the joke is no
longer sufficiently funny to justify the dependency, breaking this
dependency chain.

powermanga explicitly checks for <png.h> in its configure script,
so it should explicitly build-depend on libpng-dev rather than
relying on unrelated packages to pull that in. Please add the missing
build-dependency. I've confirmed that this is enough to make it compile,
but I have not otherwise tested the resulting binaries.

Because libsdl1.2*-dev are inherently legacy packages, I might add a fake
dependency on libpng-dev to libsdl1.2-compat-dev for source compatibility
(particularly if I find that other packages are affected by this), but
please add the build-dependency to powermanga anyway.

Thanks,
    smcv



More information about the Pkg-games-devel mailing list