Thursday, December 17, 2015

Perl 6 not ready for public

So, I decided to give Perl 6 another shot and started following the instructions on the Rakudo site. At this point I am close to giving up before I even try the language. The toolchain can't even install the Task::Star modules without throwing (apparently random) errors:

==> Installing URI                                                                                                                                                                     [7/1359]
Cannot unbox a type object
  in block  at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/B201D511F64454BC5E452EC9462760053C6848E6:47
  in sub indir at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/A53E0F0E090CB7D94232655B313BD1FCD1B7EAEC:19
  in method install at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/B201D511F64454BC5E452EC9462760053C6848E6:35
  in method install at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/C00256636183FD042FEA5829095D1A25590B6B30:133
  in block  at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/C00256636183FD042FEA5829095D1A25590B6B30:214
  in method resolve at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/C00256636183FD042FEA5829095D1A25590B6B30:194
  in sub MAIN at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/resources/5F6FE1201C3F94D880DFE287BB4EAA362301D0AA:20
  in block  at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/resources/5F6FE1201C3F94D880DFE287BB4EAA362301D0AA:11

cowens@tp:~$ panda install Task::Star
==> Task::Star depends on Bailador, DBIish, URI, Linenoise, LWP::Simple, JSON::RPC, Pod::To::HTML, p6doc, MIME::Base64
==> Bailador depends on URI
==> Linenoise depends on LibraryMake
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64, URI, URI
==> JSON::RPC depends on URI, LWP::Simple
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64, URI, URI
==> Pod::To::HTML depends on URI
==> p6doc depends on URI, File::Temp
==> File::Temp depends on File::Directory::Tree
==> Fetching URI
==> Building URI
==> Testing URI
t/01.t ................... ok
t/escape.t ............... ok
t/november-urlencoded.t .. ok
t/rfc-3986-examples.t .... ok
All tests successful.
Files=4, Tests=93, 14 wallclock secs ( 0.04 usr  0.01 sys + 12.74 cusr  0.60 csys = 13.39 CPU)
Result: PASS
==> Installing URI
==> Successfully installed URI
==> Fetching Bailador
Use of uninitialized value %ENV of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in sub git-fetch at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/D4786F66A877594DD88B8F0
5722A4FC2CB0266EB:39
==> Building Bailador
==> Testing Bailador
Use of uninitialized value %ENV of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at /home/cowens/.rakudobrew/moar-nom/install/share/perl6/site/sources/A53E0F0E090CB7D94232655B313BD1
FCD1B7EAEC:72
t/01-route-existance.t ..... ok
t/03-response-content.t .... ok
t/04-templates-mustache.t .. ok
t/04-templates.t ........... ok
t/05-post-content.t ........ ok
t/06-cookies.t ............. ok
t/07-errors.t .............. ok
All tests successful.
Files=7, Tests=551, 106 wallclock secs ( 0.16 usr  0.01 sys + 102.30 cusr  3.43 csys = 105.90 CPU)
Result: PASS
==> Installing Bailador
Internal error: zeroed target thread ID in work pass
cowens@tp:~$ panda install Task::Star
==> Task::Star depends on Bailador, DBIish, Linenoise, LWP::Simple, JSON::RPC, Pod::To::HTML, p6doc, MIME::Base64
==> Linenoise depends on LibraryMake
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64
==> JSON::RPC depends on LWP::Simple
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64
==> p6doc depends on File::Temp
==> File::Temp depends on File::Directory::Tree
==> Fetching Bailador
==> Building Bailador
==> Testing Bailador
t/01-route-existance.t ..... ok
t/03-response-content.t .... ok
t/04-templates-mustache.t .. ok
t/04-templates.t ........... ok
t/05-post-content.t ........ ok
t/06-cookies.t ............. ok
t/07-errors.t .............. ok
All tests successful.
Files=7, Tests=551, 94 wallclock secs ( 0.17 usr  0.02 sys + 90.90 cusr  3.16 csys = 94.25 CPU)
Result: PASS
==> Installing Bailador
==> Successfully installed Bailador

So it failed to install URI, but running it again causes it to install it successfully? And then there are the constant warnings about "Use of uninitialized value %ENV of type Any in string context\nAny of .^name, .perl, .gist, or .say can stringify undefined things, if needed." Then it fails with the a different error and then succeeds after being rerun. So far this is not looking like Perl 6 is ready for the public.

No comments:

Post a Comment