ljepson / cgi-ex Goto Github PK
View Code? Open in Web Editor NEWCGI Utility Suite - Makes powerful application writing fun and easy
License: Other
CGI Utility Suite - Makes powerful application writing fun and easy
License: Other
Document Dist::Zilla requirement and possibly expand Makefile
With perl 5.28.1 I see the following warning:
Constants from lexical variables potentially modified elsewhere are deprecated. This will not be allowed in Perl 5.32 at /home/cpansand/.local/share/.cpan/build/2018120422/CGI-Ex-2.47-0/blib/lib/CGI/Ex/App/Constants.pm line 106.
Hey Lonny,
The following commits were all inexplicably reverted -- at the same time -- in 0098f50 and so are not in the latest release:
c6d58cd - Bumping the version of CGI::Ex to 2.43 and adding info to the changelog
49ae68d - Allow HTML5 input types to be filled
2d1f4ae - Silence warning about CGI::param in list context
1677670 - Fix bug preventing logging out if bouncing
It looks like the 2.43 version bump revert was at least later restored somewhat in 60bc0b9, but the others are still missing.
I'm guessing it was unintentional because the history looks a little confused. ๐ If it was purposeful, though, let me know what the problems are and I'll fix them. My apps rely on those commits, so I can't upgrade to CGI::Ex 2.44.
On a brand new install of Ubuntu 16, when I run cpanm CGI::Ex
the tests fail.
Here is the build log:
cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for x86_64-linux-gnu-thread-multi
Work directory is /home/ubuntu/.cpanm/work/1506539105.12737
You have make /usr/bin/make
You have LWP 6.27
You have /bin/tar: tar (GNU tar) 1.28
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
Searching CGI::Ex () on cpanmetadb ...
--> Working on CGI::Ex
Fetching http://www.cpan.org/authors/id/L/LJ/LJEPSON/CGI-Ex-2.45.tar.gz
-> OK
Unpacking CGI-Ex-2.45.tar.gz
Entering CGI-Ex-2.45
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01)
Configuring CGI-Ex-2.45
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for CGI::Ex
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01)
Checking if you have Template::Alloy 1.016 ... Yes (1.020)
Checking if you have File::Temp 0 ... Yes (0.2304)
Checking if you have CGI 0 ... Yes (4.36)
Building and testing CGI-Ex-2.45
cp lib/CGI/Ex/JSONDump.pm blib/lib/CGI/Ex/JSONDump.pm
cp lib/CGI/Ex/App.pod blib/lib/CGI/Ex/App.pod
cp lib/CGI/Ex/App.pm blib/lib/CGI/Ex/App.pm
cp lib/CGI/Ex/Template.pm blib/lib/CGI/Ex/Template.pm
cp lib/CGI/Ex/yaml_load.js blib/lib/CGI/Ex/yaml_load.js
cp lib/CGI/Ex/Conf.pm blib/lib/CGI/Ex/Conf.pm
cp lib/CGI/Ex.pm blib/lib/CGI/Ex.pm
cp lib/CGI/Ex/Fill.pm blib/lib/CGI/Ex/Fill.pm
cp lib/CGI/Ex/sha1.js blib/lib/CGI/Ex/sha1.js
cp lib/CGI/Ex/Validate.pm blib/lib/CGI/Ex/Validate.pm
cp lib/CGI/Ex/validate.js blib/lib/CGI/Ex/validate.js
cp lib/CGI/Ex/Die.pm blib/lib/CGI/Ex/Die.pm
cp lib/CGI/Ex/Auth.pm blib/lib/CGI/Ex/Auth.pm
cp lib/CGI/Ex/Dump.pm blib/lib/CGI/Ex/Dump.pm
cp lib/CGI/Ex/md5.js blib/lib/CGI/Ex/md5.js
cp lib/CGI/Ex/App/Constants.pm blib/lib/CGI/Ex/App/Constants.pm
cp lib/CGI/Ex/Validate.pod blib/lib/CGI/Ex/Validate.pod
Manifying 11 pod documents
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_ex_00_base.t ................ ok
t/1_validate_00_base.t .......... ok
t/1_validate_03_cgi.t ........... ok
t/1_validate_05_types.t ......... ok
t/1_validate_07_yaml.t .......... ok
t/1_validate_11_no_extra.t ...... ok
t/1_validate_12_change.t ........ ok
t/1_validate_14_untaint.t ....... ok
t/2_fill_00_base.t .............. ok
t/2_fill_01_form.t .............. ok
t/2_fill_02_hidden.t ............ ok
t/2_fill_03_checkbox.t .......... ok
t/2_fill_04_select.t ............ ok
t/2_fill_05_textarea.t .......... ok
t/2_fill_06_radio.t ............. ok
t/2_fill_07_reuse.t ............. ok
t/2_fill_08_multiple_objects.t .. ok
t/2_fill_09_default_type.t ...... ok
t/2_fill_10_escape.t ............ ok
t/2_fill_11_target.t ............ ok
t/2_fill_12_mult.t .............. ok
t/2_fill_13_warning.t ........... ok
t/2_fill_14_password.t .......... ok
t/2_fill_16_ignore_fields.t ..... ok
t/2_fill_17_xhtml.t ............. ok
t/2_fill_18_coderef.t ........... ok
t/2_fill_19_complex.t ........... ok
t/2_fill_20_switcharoo.t ........ ok
t/3_conf_00_base.t .............. ok
t/4_app_00_base.t ............... ok
t/5_dump_00_base.t .............. ok
t/6_die_00_base.t ............... ok
t/7_template_00_base.t .......... ok
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 57.
# Failed test 'Printed was not set'
# at t/8_auth_00_base.t line 58.
# Failed test 'Set_cookie called'
# at t/8_auth_00_base.t line 59.
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 64.
# Failed test 'Printed was not set'
# at t/8_auth_00_base.t line 65.
# Failed test 'Set_cookie called'
# at t/8_auth_00_base.t line 66.
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 71.
# Failed test 'Printed was not set'
# at t/8_auth_00_base.t line 72.
# Failed test 'Set_cookie called'
# at t/8_auth_00_base.t line 73.
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 86.
# Failed test 'Printed was not set'
# at t/8_auth_00_base.t line 87.
# Failed test 'Set_cookie called'
# at t/8_auth_00_base.t line 88.
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 93.
# Failed test 'Printed was not set'
# at t/8_auth_00_base.t line 94.
# Failed test 'Set_cookie called'
# at t/8_auth_00_base.t line 95.
# Failed test 'deleted_cookie was called'
# at t/8_auth_00_base.t line 103.
# Failed test 'correct user on failed passed information'
# at t/8_auth_00_base.t line 104.
# got: undef
# expected: 'test'
# Failed test 'Got good auth'
# at t/8_auth_00_base.t line 108.
Died at t/8_auth_00_base.t line 112.
# Looks like you planned 68 tests but ran 32.
# Looks like you failed 18 tests of 32 run.
# Looks like your test exited with 255 just after 32.
t/8_auth_00_base.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 54/68 subtests
t/9_jsondump_00_base.t .......... ok
Test Summary Report
-------------------
t/8_auth_00_base.t (Wstat: 65280 Tests: 32 Failed: 18)
Failed tests: 2-4, 6-8, 10-12, 19-21, 23-25, 30-32
Non-zero exit status: 255
Parse errors: Bad plan. You planned 68 tests but ran 32.
Files=35, Tests=773, 1 wallclock secs ( 0.15 usr 0.01 sys + 1.26 cusr 0.10 csys = 1.52 CPU)
Result: FAIL
Failed 1/35 test programs. 18/773 subtests failed.
Makefile:932: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing CGI::Ex failed. See /home/ubuntu/.cpanm/work/1506539105.12737/build.log for details. Retry with --force to force install it.
Allow scalars to be coerced into arrayrefs with this syntax: foo => {type => [], coerce => 1}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.