Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614684 - www-apache/mod_perl fails tests with perl 5.26+ ( t/apache/read.t , t/filter/in_bbs_inject_header.t )
Summary: www-apache/mod_perl fails tests with perl 5.26+ ( t/apache/read.t , t/filte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-5.26
  Show dependency tree
 
Reported: 2017-04-04 19:53 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-12-22 12:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,453.25 KB, text/plain)
2017-04-04 19:53 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
emerge --info (einfo,4.73 KB, text/plain)
2017-04-04 19:54 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
error_log (error_log,430.46 KB, text/plain)
2017-04-04 19:58 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
mod_perl-2.0.10:20181124-073235.log' (mod_perl-2.0.10:20181124-073235.log.xz,34.14 KB, application/x-xz)
2018-11-24 07:39 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)