perlbrew install perl-5.32.1
fails on macOS Big Sur (11.3.1)
The end of the log file includes this:
Test Summary Report
-------------------
porting/libperl.t (Wstat: 65280 Tests: 35 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=2678, Tests=1208628, 934 wallclock secs (75.33 usr 15.27 sys + 505.35 cusr 79.82 csys = 675.77 CPU)
Result: FAIL
make: *** [test_harness] Error 1
##### Brew Failed #####
It also fails in the same way when I try to install perl versions 5.32.0 and 5.30.3
Any clues as to why the perl installation is failing? And how to fix it?
Related
I switched from Perl 5.30 to Perl 5.36 and using Mojolicious 8.33. I tried installing Mango::BSON::ObjectID using CPAN.
cpan Mango::BSON::ObjectID
But it was throwing errors.
Test Summary Report
t/bson.t (Wstat: 256 Tests: 182 Failed: 1)
Failed test: 106
Non-zero exit status: 1
Files-13, Tests=205, 4 wallclock secs ( 0.05 usr 0.01 sys+ 1.89
cusr 0.22 csys=2.17 CPU)
Result: FAIL
Failed 1/13 test programs. 1/205 subtests failed.
make: *** [Makefile:942: test_dynamic] Error 255
ODC/Mango-1.30.tar.gz
/usr/bin/make test NOT OK
//hint// to see the cpan testers results for installing this
module, try:
reports ODC/Mango-1.38.tar.gz
So, I just want to know if Mango is supported in Perl 5.36.0 or not. And if it is not being supported, then what is the alternative to Mango?
I am using cpan -L local PDL::Graphics::PLplot. I am getting a failure message.
Test Summary Report
-------------------
t/plplot.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/plplot_library_tests.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=3, Tests=0, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
Result: FAIL
Failed 2/3 test programs. 0/0 subtests failed.
Makefile:803: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
-> FAIL Installing PDL::Graphics::PLplot
When installing using cpanm I noticed I was missing some modules libpdl-stats-perl Cannot find hdf library, libdf.a, libplplotd.so, HDF, GD, Proj once those were installed it started working. I did have to install to a non standard perl directory.
I have installed bioperl on WSL Ubuntu 18.04 with sudo apt-get install bioperl bioperl-run. I tried to install Bio::Grep with cpanm but it failed. From build.log file it seems that something fails during testing:
#
# *****************************************************************************
# * Bioperl : FOUND *
# * Bioperl-run: FOUND *
# * Backend : No backend found in path. You should install the back-ends *
# * before running these tests. This way you make sure that the *
# * parsers work with your installed version of the back-end. *
# * EMBOSS : FOUND *
# *****************************************************************************
t/00.checkprereq.t ............ ok
# Failed test 'use Bio::Grep::Backend::Agrep;'
# at t/00.load.t line 14.
# Tried to use 'Bio::Grep::Backend::Agrep'.
# Error: UNIVERSAL does not export anything at ...
...
Test Summary Report
-------------------
t/00.load.t (Wstat: 1280 Tests: 12 Failed: 5)
Failed tests: 3-7
Non-zero exit status: 5
t/10.backends.all.t (Wstat: 65280 Tests: 133 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 344 tests but ran 133.
t/11.backends.guugle.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Parse errors: Bad plan. You planned 0 tests but ran 1.
t/11.backends.re.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 30 tests but ran 1.
t/20.filter.t (Wstat: 65280 Tests: 17 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 46 tests but ran 17.
t/30.features.alignments.t (Wstat: 65280 Tests: 50 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 108 tests but ran 50.
t/30.features.updownstream.t (Wstat: 65280 Tests: 16 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 46 tests but ran 16.
t/40.utils.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 30 tests but ran 1.
t/50.synopsis.t (Wstat: 512 Tests: 9 Failed: 2)
Failed tests: 6-7
Non-zero exit status: 2
Files=13, Tests=242, 10 wallclock secs ( 0.11 usr 0.19 sys + 2.33 cusr 5.13 csys = 7.76 CPU)
Result: FAIL
Failed 9/13 test programs. 8/242 subtests failed.
-> FAIL Installing Bio::Grep failed
It seems that someone created ticket and encountered similar problem before but I did not find a solution.
The fix is simple: Remove the use UNIVERSAL ...; line.
wget https://cpan.metacpan.org/authors/id/L/LI/LIMAONE/Bio-Grep-v0.10.6.tar.gz
tar xvzf Bio-Grep-v0.10.6.tar.gz
cd Bio-Grep-v0.10.6
perl -pe's/^(?=use UNIVERSAL)/#/' -i~ lib/Bio/Grep/Backend/BackendI.pm
perl Makefile.PL && make test && make install
I tried to install HTML::TreeBuilderX::ASP_NET with cpan on Windows 7.
I have strawberry perl setup.
Everything went smoothly until the end when I got the following. Is this something I should worry about?
Test Summary Report
-------------------
t/10-traits.t (Wstat: 65280 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 3.
t/boilerplate.t (Wstat: 0 Tests: 2 Failed: 0)
TODO passed: 1-2
Files=7, Tests=22, 3 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 CPU)
Result: FAIL
Failed 1/7 test programs. 2/22 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
ECARROLL/HTML-TreeBuilderX-ASP_NET-0.09.tar.gz: make_test NO
then when installing WWW::Mechanize
I got
Test Summary Report
-------------------
t\local\back.t (Wstat: 256 Tests: 47 Failed: 1)
Failed test: 33
Non-zero exit status: 1
t\local\click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
Files=52, Tests=550, 247 wallclock secs ( 0.42 usr + 0.28 sys = 0.70 CPU)
Result: FAIL
Failed 1/52 test programs. 1/550 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
JESSE/WWW-Mechanize-1.70.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JESSE/WWW-Mechanize-1.70.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JESSE/WWW-Mechanize-1.70.tar.gz : make_test NO
It tells you that some tests failed and therefore the install will not proceed. The failed tests are in t/10-traits.t and the failed tests are 2 and 3. Whether you should worry about this depends on what the tests are and why they are failing.
These are the failing tests:
eval { HTML::TreeBuilderX::ASP_NET->new_with_traits( traits => ['htmlElement'] ) };
ok ( !$#, 'htmlElement trait construction is good!!' );
eval {
HTML::TreeBuilderX::ASP_NET->new_with_traits( traits => ['htmlElement'] );
HTML::Element->new('a', href => "__doPostBack('foo','bar')" )->httpRequest;
};
like ( $#, qr/<form>/, 'Success with use! (failed without the parent form)' );
I get the following results when doing cpan install CGI on Ubuntu 10.4.
Test Summary Report
-------------------
t/tmpdir.t (Wstat: 0 Tests: 9 Failed: 0)
TODO passed: 3, 6, 8
t/url.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=39, Tests=695, 2 wallclock secs ( 0.45 usr 0.11 sys + 1.19 cusr 0.21 csys = 1.96 CPU)
Result: FAIL
Failed 1/39 test programs. 0/695 subtests failed.
make: *** [test_dynamic] Error 255
MARKSTOS/CGI.pm-3.55.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MARKSTOS/CGI.pm-3.55.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MARKSTOS/CGI.pm-3.55.tar.gz : make_test NO
And cpan force install also create same results. Has anyone had this error, does anyone know how to fix it?
Don't install modules from CPAN if you have a packet manager. This may cause problems with update or with other modules.
Just use:
apt-get install libcgi-pm-perl
OR, if you can't find the package with needed module, you must make a package first ( you need to install dh-make-perl package for that)
sample of creating debian/ubuntu package:
wget http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-3.63.tar.gz
tar -xvpf CGI.pm-3.63.tar.gz
cd CGI.pm-3.63/
dh-make-perl
debian/rules binary
and install it with
sudo dpkg -i packagename.deb