Bug#789093: libapache2-authcookie-perl: FTBFS: test failures

Niko Tyni ntyni at debian.org
Sun Aug 16 17:27:43 UTC 2015


On Wed, Jun 17, 2015 at 07:50:28PM +0000, Damyan Ivanov wrote:
> Package: libapache2-authcookie-perl
> Version: 3.22-1
> Severity: serious
> 
> libapache2-authcookie-perl fails to build from source in an up to date 
> pbuilder:
> 
> Test Summary Report
> -------------------
> t/real.t     (Wstat: 10240 Tests: 49 Failed: 40)
>   Failed tests:  3-26, 28-34, 39, 41-44, 46-49
>   Non-zero exit status: 40

This was broken by libapache2-mod-perl2_2.0.9~rc1-1, which integrated
the upstream fix for https://rt.cpan.org/Public/Bug/Display.html?id=87620
(Apache-Test: add -D APACHE24 if running under httpd 2.4).

Unfortunately the upstream fix ended up using APACHE2_4 instead of
APACHE24 which we had adopted from an earlier version of the fix, so the
Apache-Test in jessie is now using a different definition from the rest of
the world. The current libapache2-authcookie-perl package is relying on
the jessie behaviour (APACHE24).

While the fix for libapache2-authcookie-perl is a trivial 
 sed -i s/APACHE24/APACHE2_4/ debian/patches/authcookie-httpd-24.patch
I suppose it at least needs an additional versioned build-dependency on
libapache2-mod-perl2 (>= 2.0.9~rc1-1).

I wonder if it would be worthwhile to update libapache2-mod-perl2 in stable
to define both APACHE24 and APACHE2_4, so that people could start using the
latter now rather than have their configs broken by the next release.

I also wonder how much this really matters, given Apache-AuthCookie
is apparently the only one that needs this.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list