Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 125000
Status: open
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/03podcoverage.t: failures prevent installation
Today I attempted to install Maypole against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer. Notwithstanding the fact that no new CPAN release has been made in nearly 10 years, I was surprised to find out that the only fatalities in the tests were in the file for POD coverage. Attached please find an excerpt from the cpanm build.log and the relevant 'perl -V' output. Do you expect that Maypole will ever be updated? Thank you very much. Jim Keenan
Subject: TEEJAY.Maypole-2.13.log.txt
{ author => "TEEJAY", dist => "Maypole", distname => "Maypole-2.13", distversion => 2.13, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing Maypole-2.13", "cp lib/Maypole/templates/factory/login blib/lib/Maypole/templates/factory/login", "cp lib/Maypole/templates/factory/search_form blib/lib/Maypole/templates/factory/search_form", "cp lib/Maypole/Model/CDBI/DFV.pm blib/lib/Maypole/Model/CDBI/DFV.pm", "cp lib/Maypole/templates/factory/addnew blib/lib/Maypole/templates/factory/addnew", "cp lib/Maypole/View/Base.pm blib/lib/Maypole/View/Base.pm", "cp lib/Maypole/templates/factory/navbar blib/lib/Maypole/templates/factory/navbar", "cp lib/Maypole/Constants.pm blib/lib/Maypole/Constants.pm", "cp lib/Maypole/Model/Base.pm blib/lib/Maypole/Model/Base.pm", "cp lib/Maypole/View/TT.pm blib/lib/Maypole/View/TT.pm", "cp lib/Maypole/templates/factory/pager blib/lib/Maypole/templates/factory/pager", "cp lib/Maypole/Config.pm blib/lib/Maypole/Config.pm", "cp lib/Maypole/Application.pm blib/lib/Maypole/Application.pm", "cp lib/Maypole/templates/factory/header blib/lib/Maypole/templates/factory/header", "cp lib/Maypole/Manual.pod blib/lib/Maypole/Manual.pod", "cp lib/Maypole/Session.pm blib/lib/Maypole/Session.pm", "cp lib/Maypole/Manual/Inheritance.pod blib/lib/Maypole/Manual/Inheritance.pod", "cp lib/Maypole/Headers.pm blib/lib/Maypole/Headers.pm", "cp lib/CGI/Untaint/Maypole.pm blib/lib/CGI/Untaint/Maypole.pm", "cp lib/CGI/Maypole.pm blib/lib/CGI/Maypole.pm", "cp lib/Maypole/Manual/View.pod blib/lib/Maypole/Manual/View.pod", "cp lib/Maypole/templates/factory/edit blib/lib/Maypole/templates/factory/edit", "cp lib/Maypole/Manual/BuySpy.pod blib/lib/Maypole/Manual/BuySpy.pod", "cp lib/Maypole/HTTPD/Frontend.pm blib/lib/Maypole/HTTPD/Frontend.pm", "cp lib/Maypole/templates/factory/view blib/lib/Maypole/templates/factory/view", "cp lib/Maypole/Manual/About.pod blib/lib/Maypole/Manual/About.pod", "cp lib/Maypole/Manual/Workflow.pod blib/lib/Maypole/Manual/Workflow.pod", "cp lib/Maypole/templates/factory/title blib/lib/Maypole/templates/factory/title", "cp lib/Maypole.pm blib/lib/Maypole.pm", "cp lib/Maypole/Manual/Plugins.pod blib/lib/Maypole/Manual/Plugins.pod", "cp lib/Maypole/templates/factory/frontpage blib/lib/Maypole/templates/factory/frontpage", "cp lib/Maypole/templates/beer/addnew blib/lib/Maypole/templates/beer/addnew", "cp lib/Maypole/Manual/Install.pod blib/lib/Maypole/Manual/Install.pod", "cp lib/Maypole/HTTPD.pm blib/lib/Maypole/HTTPD.pm", "cp lib/Maypole/Manual/Cookbook.pod blib/lib/Maypole/Manual/Cookbook.pod", "cp lib/Maypole/templates/factory/maypole.css blib/lib/Maypole/templates/factory/maypole.css", "cp lib/Maypole/Manual/Beer.pod blib/lib/Maypole/Manual/Beer.pod", "cp lib/Maypole/Model/CDBI.pm blib/lib/Maypole/Model/CDBI.pm", "cp lib/Maypole/templates/factory/maypole blib/lib/Maypole/templates/factory/maypole", "cp lib/Maypole/templates/factory/list blib/lib/Maypole/templates/factory/list", "cp lib/Maypole/Model/CDBI/FromCGI.pm blib/lib/Maypole/Model/CDBI/FromCGI.pm", "cp lib/Maypole/Manual/Flox.pod blib/lib/Maypole/Manual/Flox.pod", "cp lib/Maypole/templates/factory/footer blib/lib/Maypole/templates/factory/footer", "cp lib/Maypole/Model/CDBI/Plain.pm blib/lib/Maypole/Model/CDBI/Plain.pm", "cp lib/Apache/MVC.pm blib/lib/Apache/MVC.pm", "cp lib/Maypole/Manual/StandardTemplates.pod blib/lib/Maypole/Manual/StandardTemplates.pod", "cp lib/Maypole/templates/factory/macros blib/lib/Maypole/templates/factory/macros", "cp lib/Maypole/Model/CDBI/AsForm.pm blib/lib/Maypole/Model/CDBI/AsForm.pm", "cp lib/Maypole/Model/CDBI/Base.pm blib/lib/Maypole/Model/CDBI/Base.pm", "cp lib/Maypole/Manual/Model.pod blib/lib/Maypole/Manual/Model.pod", "cp lib/Maypole/CLI.pm blib/lib/Maypole/CLI.pm", "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/prep528/testing/perl-5.27.10/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t", "Subroutine Maypole::view_object redefined at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Class/Data/Inheritable.pm line 26.", "t/00compile.t ....... ok", "have_httpd : ", "t/01.httpd-basic.t .. ok", "Subroutine Maypole::view_object redefined at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Class/Data/Inheritable.pm line 26.", "t/01basics.t ........ skipped: SQLite not working or BeerDB module could not be loaded: Couldn't require loader class \"Class::DBI::Loader::SQLite\", \"Can't locate Class/DBI/SQLite.pm in \@INC (you may need to install the Class::DBI::SQLite module) (\@INC contains: examples /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/lib /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/arch /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10 .) at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Class/DBI/Loader/SQLite.pm line 9.", "t/02pod.t ........... ok", "Subroutine Maypole::view_object redefined at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Class/Data/Inheritable.pm line 26.", "", "# Failed test 'Pod coverage on Maypole::HTTPD'", "# at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Test/Pod/Coverage.pm line 133.", "# Maypole::HTTPD: requiring 'Maypole::HTTPD' failed", "Too late to run CHECK block at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/lib/Maypole/CLI.pm line 17.", "", "# Failed test 'Pod coverage on Apache::MVC'", "# at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Test/Pod/Coverage.pm line 133.", "# Apache::MVC: requiring 'Apache::MVC' failed", "", "# Failed test 'Pod coverage on Maypole::Model::CDBI::DFV'", "# at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Test/Pod/Coverage.pm line 133.", "# Maypole::Model::CDBI::DFV: requiring 'Maypole::Model::CDBI::DFV' failed", "# Looks like you failed 3 tests of 21.", "t/03podcoverage.t ... ", "Dubious, test returned 3 (wstat 768, 0x300)", "Failed 3/21 subtests ", "t/apache_mvc.t ...... skipped: Neither Apache2::RequestRec nor Apache::Request is installed: Can't locate Apache/Request.pm in \@INC (you may need to install the Apache::Request module) (\@INC contains: /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/lib /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/arch /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10 .) at t/apache_mvc.t line 9.", "Subroutine Maypole::view_object redefined at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/Class/Data/Inheritable.pm line 26.", "Argument \"X\" isn't numeric in numeric ne (!=) at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522707005.7795/Maypole-2.13/blib/lib/CGI/Maypole.pm line 60.", "t/cgi_maypole.t ..... ok", "t/constants.t ....... ok", "error : couldn't connect to mysql at t/db_colinfo.t line 10.", " ", "using driver : SQLite at t/db_colinfo.t line 177.", "Column 'id' in BeerDB::BeerTestsqlite clashes with built-in method at t/db_colinfo.t line 189.", "Use of uninitialized value within %correct_nullables in numeric eq (==) at t/db_colinfo.t line 202.", "t/db_colinfo.t ...... ok", "t/headers.t ......... ok", "Tests 15 to 21", "", "Tests 22 to 27", "", "tests 28 to 38", "", "Tests 39 - 48", "", "status : 0", "Tests 49 to 53", "", "Tests 54 to 58", "", "Tests 59 to 63", "", "Tests 66 to 71", "", "Tests 75 to 84", "", "t/maypole.t ......... ok", "CGI::param called in list context from t/pathtools.t line 89, this can lead to vulnerabilities. See the warning in \"Fetching the value or values of a single named parameter\" at /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/CGI.pm line 412.", "t/pathtools.t ....... ok", "", "Test Summary Report", "-------------------", "t/03podcoverage.t (Wstat: 768 Tests: 21 Failed: 3)", " Failed tests: 7, 10, 17", " Non-zero exit status: 3", "t/maypole.t (Wstat: 0 Tests: 84 Failed: 0)", " TODO passed: 44, 51-52, 60, 62-63", "Files=12, Tests=433, 3 wallclock secs ( 0.07 usr 0.02 sys + 1.52 cusr 0.30 csys = 1.90 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7043)", }
Subject: freebsd-11.0.perl-5.27.10_V.txt
Summary of my perl5 (revision 5 version 27 subversion 10) configuration: Platform: osname=freebsd osvers=11.0-release-p1 archname=amd64-freebsd-thread-multi uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Mar 21 2018 12:59:59 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib/5.27.10/amd64-freebsd-thread-multi lib/5.27.10 lib /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10
On 2018-04-02 16:32:54, JKEENAN wrote: Show quoted text
> Today I attempted to install Maypole against perl-5.27.10 on FreeBSD- > 11.0 using 'cpanm' as the installer. Notwithstanding the fact that no > new CPAN release has been made in nearly 10 years, I was surprised to > find out that the only fatalities in the tests were in the file for > POD coverage. Attached please find an excerpt from the cpanm > build.log and the relevant 'perl -V' output.
While this test failure is indeed an issue that should be corrected, please don't allow pod, critic, coverage or kwalitee tests to run for normal user installs, as they make the installation fail unnecessarily when newer versions of the tester module introduces errors that you cannot anticipate. Also spelling tests are dependent on what dictionaries are installed locally, and critic tests use all plugins that are installed, neither of which can be predicted in advance. Either move these tests to xt/, or guard them with: plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};