Discussion:
[Mojolicious] Error installing Mojolicious 8 on Strawberry Perl 5.28
Warren Humphreys
2018-09-25 10:02:29 UTC
Permalink
Hi folks,

I upgraded my Strawberry Perl installation on my corporate machine yesterday and tried to install Mojolicious 8.0 using cpanm, and got the following failures. Any help in figuring out what to do would be appreciated.
It’s not a burning issue as Strawberry Perl 5.28 comes with Mojolicious 7.85 included, but I’d like to solve anyway.

I’m behind a proxy, so http_proxy and https_proxy are set in order to be able to pull down the package - is this impacting the test?

Relevant bits from the logs: -

cp lib/Test/Mojo.pm blib\lib\Test\Mojo.pm
cp lib/Mojolicious/resources/templates/mojo/menubar.html.ep blib\lib\Mojolicious\resources\templates\mojo\menubar.html.ep
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/hypnotoad blib\script\hypnotoad
pl2bat.bat blib\script\hypnotoad
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/mojo blib\script\mojo
pl2bat.bat blib\script\mojo
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/morbo blib\script\morbo
pl2bat.bat blib\script\morbo
"I:\Tools\Perl\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/*/*.t
cannot unlink file for C:\Users\anonymous\AppData\Local\Temp\dvl6DmjglM\mojo.tmp.iEUl0hdW6bSo6xxz: Permission denied at I:/Tools/Perl/perl/lib/File/Temp.pm line 1616.
cannot remove directory for C:/Users/anonymous/AppData/Local/Temp/dvl6DmjglM: Directory not empty at I:/Tools/Perl/perl/lib/File/Temp.pm line 1616.





t/mojolicious/validation_lite_app.t ........ ok
# WebSocket closed with status 1006

# Failed test 'WebSocket closed with status 1009'
# at t/mojolicious/websocket_lite_app.t line 163.
Use of uninitialized value $loop in hash element at I:\Tools\Perl\data\.cpanm\work\1537802881.13980\Mojolicious-8.0\blib\lib/Mojo/UserAgent.pm line 202.
Mojo::Reactor::Poll: I/O watcher failed: Can't call method "remove" on an undefined value at I:\Tools\Perl\data\.cpanm\work\1537802881.13980\Mojolicious-8.0\blib\lib/Mojo/UserAgent.pm line 293.
# Looks like you failed 1 test of 291.
t/mojolicious/websocket_lite_app.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/291 subtests



Test Summary Report
-------------------
t/mojolicious/websocket_lite_app.t (Wstat: 256 Tests: 291 Failed: 1)
Failed test: 56
Non-zero exit status: 1
Files=98, Tests=11162, 147 wallclock secs ( 1.45 usr + 1.25 sys = 2.70 CPU)
Result: FAIL
Failed 1/98 test programs. 1/11162 subtests failed.
gmake: *** [Makefile:1048: test_dynamic] Error 255
-> FAIL Installing Mojolicious failed. See I:\Tools\Perl\data\.cpanm\work\1537802881.13980\build.log for details. Retry with --force to force install it.
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Warren Humphreys
2018-09-25 10:25:02 UTC
Permalink
Scratch this - the installation is now working - appears to have been some environmental issue in our infrastructure. No changes on my machine, but it’s now installing ok.

Sorry for time-wasting!
Post by Warren Humphreys
Hi folks,
I upgraded my Strawberry Perl installation on my corporate machine yesterday and tried to install Mojolicious 8.0 using cpanm, and got the following failures. Any help in figuring out what to do would be appreciated.
It’s not a burning issue as Strawberry Perl 5.28 comes with Mojolicious 7.85 included, but I’d like to solve anyway.
I’m behind a proxy, so http_proxy and https_proxy are set in order to be able to pull down the package - is this impacting the test?
Relevant bits from the logs: -
cp lib/Test/Mojo.pm blib\lib\Test\Mojo.pm
cp lib/Mojolicious/resources/templates/mojo/menubar.html.ep blib\lib\Mojolicious\resources\templates\mojo\menubar.html.ep
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/hypnotoad blib\script\hypnotoad
pl2bat.bat blib\script\hypnotoad
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/mojo blib\script\mojo
pl2bat.bat blib\script\mojo
"I:\Tools\Perl\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/morbo blib\script\morbo
pl2bat.bat blib\script\morbo
"I:\Tools\Perl\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/*/*.t
cannot unlink file for C:\Users\anonymous\AppData\Local\Temp\dvl6DmjglM\mojo.tmp.iEUl0hdW6bSo6xxz: Permission denied at I:/Tools/Perl/perl/lib/File/Temp.pm line 1616.
cannot remove directory for C:/Users/anonymous/AppData/Local/Temp/dvl6DmjglM: Directory not empty at I:/Tools/Perl/perl/lib/File/Temp.pm line 1616.
t/mojolicious/validation_lite_app.t ........ ok
# WebSocket closed with status 1006
# Failed test 'WebSocket closed with status 1009'
# at t/mojolicious/websocket_lite_app.t line 163.
Use of uninitialized value $loop in hash element at I:\Tools\Perl\data\.cpanm\work\1537802881.13980\Mojolicious-8.0\blib\lib/Mojo/UserAgent.pm line 202.
Mojo::Reactor::Poll: I/O watcher failed: Can't call method "remove" on an undefined value at I:\Tools\Perl\data\.cpanm\work\1537802881.13980\Mojolicious-8.0\blib\lib/Mojo/UserAgent.pm line 293.
# Looks like you failed 1 test of 291.
t/mojolicious/websocket_lite_app.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/291 subtests
Test Summary Report
-------------------
t/mojolicious/websocket_lite_app.t (Wstat: 256 Tests: 291 Failed: 1)
Failed test: 56
Non-zero exit status: 1
Files=98, Tests=11162, 147 wallclock secs ( 1.45 usr + 1.25 sys = 2.70 CPU)
Result: FAIL
Failed 1/98 test programs. 1/11162 subtests failed.
gmake: *** [Makefile:1048: test_dynamic] Error 255
-> FAIL Installing Mojolicious failed. See I:\Tools\Perl\data\.cpanm\work\1537802881.13980\build.log for details. Retry with --force to force install it.
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Loading...