Bug#756382: libembperl-perl: FTBFS: #236 EmbperlObject/epobase.htm test failure: Error in Line 8
Niko Tyni
ntyni at debian.org
Tue Jul 29 11:40:20 UTC 2014
Package: libembperl-perl
Version: 2.5.0-1
Severity: serious
Tags: patch
This package fails to build on current sid/amd64:
Testing mod_perl mode...
[...]
#235 EmbperlObject/errdoc/epoerrdoc2.htm...ok
#236 EmbperlObject/epobase.htm...
Error in Line 8
Is: ></p><
Should: ></BODY></HTML><
Input: test/html/EmbperlObject/epobase.htm
Output: test/tmp/out.htm
Compared to: test/cmp/epobase.htm
Log: test/tmp/test.log
Testparameter:
errors = 1
offline = 0
cgi = 0
ERRORS detected! NOT all tests have been passed successfully
Makefile:1613: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 8
This diff shows the problem:
--- test/cmp/epobase.htm 2014-07-29 14:16:55.223944564 +0300
+++ test/tmp/out.htm 2014-07-29 14:18:46.785998659 +0300
@@ -1,10 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
-<HTML><HEAD>
-<TITLE>403 Forbidden</TITLE>
-</HEAD><BODY>
-<H1>Forbidden</H1>
-^.*?You don't have permission to access /embperl/EmbperlObject/epobase.htm
-^on this server
-</BODY></HTML>
-
-
+<html><head>
+<title>403 Forbidden</title>
+</head><body>
+<h1>Forbidden</h1>
+<p>You don't have permission to access /embperl/EmbperlObject/epobase.htm
+on this server.<br />
+</p>
+</body></html>
The apache2 error page was changed slightly by this upstream commit:
https://github.com/apache/httpd/commit/4f8fc53c8f6df76a42ccc89275fcede766662f9e
https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/http/http_protocol.c?r1=1487127&r2=1610328
which was included in apache2 2.4.10, recently uploaded in sid.
Patch attached, this works for me with both 2.4.9 and 2.4.10.
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adapt-to-an-Apache-2.4.10-error-page-change.patch
Type: text/x-diff
Size: 940 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140729/c0d3fc60/attachment.patch>
More information about the pkg-perl-maintainers
mailing list