Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614684

Summary: www-apache/mod_perl fails tests with perl 5.26+ ( t/apache/read.t , t/filter/in_bbs_inject_header.t )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.debian.org/849082
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 613764    
Attachments: build.log
emerge --info
error_log
mod_perl-2.0.10:20181124-073235.log'

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-04 19:53:37 UTC
Created attachment 469150 [details]
build.log

I'm not sure what's going on here, I assume stack changing stuff happened. 

But doesn't seem like I can blame @INC for this

Block against bug #612408 or bug #613764 if you think its warranted.

t/apache/read.t ......................... 
1..1
# Running under perl version 5.025011 for linux
# Current time local: Tue Apr  4 18:53:01 2017
# Current time GMT:   Tue Apr  4 18:53:01 2017
# Using Test.pm version 1.30
# Using Apache/Test.pm version 1.40
not ok 1
# Failed test 1 in t/apache/read.t at line 52

t/filter/in_bbs_inject_header.t ......... 
# connecting to localhost:8556
1..36
# Running under perl version 5.025011 for linux
# Current time local: Tue Apr  4 18:54:36 2017
# Current time GMT:   Tue Apr  4 18:54:36 2017
# Using Test.pm version 1.30
# Using Apache/Test.pm version 1.40
request has failed (the response code was: 400)
see t/logs/error_log for more details
Dubious, test returned 2 (wstat 512, 0x200)
Failed 36/36 subtests
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-04 19:54:15 UTC
Created attachment 469152 [details]
emerge --info
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-04 19:58:06 UTC
Created attachment 469154 [details]
error_log
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-11-24 07:39:13 UTC
Created attachment 556094 [details]
mod_perl-2.0.10:20181124-073235.log'

Yep. Still failing on 5.28 final. Yaaay.
Comment 4 Larry the Git Cow gentoo-dev 2018-12-21 23:39:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51f0209d1d749e4749c6bab33ba130549892f66

commit a51f0209d1d749e4749c6bab33ba130549892f66
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-21 23:38:43 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-21 23:39:12 +0000

    www-apache/mod_perl: Partly fix tests, bug 614684
    
    Partly fix tests; the breakage was *not* caused by Perl,
    but by Apache 2.4 (as opposed to Apache 2.2). Patches from
    Debian.
    
    Still fails with a similar problem (syntax error in test
    config file, bc. of old Apache syntax).
    
    Bug: https://bugs.gentoo.org/614684
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../files/mod_perl-2.0.10-apache24-tests-1.patch   | 33 ++++++++++++++++++++++
 .../files/mod_perl-2.0.10-apache24-tests-2.patch   | 23 +++++++++++++++
 www-apache/mod_perl/mod_perl-2.0.10.ebuild         |  4 ++-
 3 files changed, 59 insertions(+), 1 deletion(-)
Comment 5 Larry the Git Cow gentoo-dev 2018-12-22 12:46:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bbddc6ad013611aa67b1ff91ef447756c4d023

commit 70bbddc6ad013611aa67b1ff91ef447756c4d023
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-22 12:46:10 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-22 12:46:27 +0000

    www-apache/mod_perl: Tests are now fixed, bug 614684
    
    Only remaining thing was PEBKAC
    
    Closes: https://bugs.gentoo.org/662692
    Closes: https://bugs.gentoo.org/614684
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 www-apache/mod_perl/mod_perl-2.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)