Skip to content

Instantly share code, notes, and snippets.

@timo
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/0856734414bc1a53fb7b to your computer and use it in GitHub Desktop.
Save timo/0856734414bc1a53fb7b to your computer and use it in GitHub Desktop.
diff --git a/src/core/CompUnitRepo/Local/Installation.pm b/src/core/CompUnitRepo/Local/Installation.pm
index e2be844..7522d8e 100644
--- a/src/core/CompUnitRepo/Local/Installation.pm
+++ b/src/core/CompUnitRepo/Local/Installation.pm
@@ -2,19 +2,33 @@ class CompUnitRepo::Local::Installation does CompUnitRepo::Locally {
has %!dists;
has $!cver = nqp::hllize(nqp::atkey(nqp::gethllsym('perl6', '$COMPILER_CONFIG'), 'version'));
+ has $!manifest_data;
+ has $!manifest_abspath;
+
method BUILD(:$!IO, :$!lock, :$!WHICH) {
- my $manifest := $!IO.child("MANIFEST");
- my $abspath := $!IO.abspath;
- %!dists{$abspath} = $manifest.e
- ?? from-json($manifest.slurp)
- !! {};
- %!dists{$abspath}<file-count> //= 0;
- %!dists{$abspath}<dist-count> //= 0;
- %!dists{$abspath}<dists> //= [ ];
+ my $manifest = $!IO.child("MANIFEST");
+ note "looking at $manifest to see if it exists: {$manifest.e}";
+ $!manifest_abspath = $!IO.abspath;
+ $!manifest_data = $manifest.e
+ ?? $manifest.slurp
+ !! '{}';
}
method writeable-path {
- %!dists.keys.first( *.IO.w )
+ %.dists.keys.first( *.IO.w )
+ }
+
+ method dists {
+ if defined $!manifest_data {
+ note "reading the manifest from data: $!manifest_data.perl()";
+ %!dists = %(from-json($!manifest_data));
+ note "this is our data: %!dists.perl()";
+ $!manifest_data = Str;
+ %!dists{$!manifest_abspath}<file-count> //= 0;
+ %!dists{$!manifest_abspath}<dist-count> //= 0;
+ %!dists{$!manifest_abspath}<dists> //= [ ];
+ }
+ %!dists
}
my $windows_wrapper = '@rem = \'--*-Perl-*--
@@ -70,7 +84,7 @@ sub MAIN(:$name, :$auth, :$ver, *@, *%) {
method install(:$dist!, *@files) {
$!lock.protect( {
my $path = self.writeable-path or die "No writeable path found";
- my $repo = %!dists{$path};
+ my $repo = %.dists{$path};
my $file-id := $repo<file-count>;
my $d = CompUnitRepo::Distribution.new( |$dist.metainfo );
state $is-win //= $*DISTRO.is-win; # only look up once
@@ -158,7 +172,7 @@ See http://design.perl6.org/S22.html#provides for more information.\n";
method files($file, :$name, :$auth, :$ver) {
my @candi;
- for %!dists.kv -> $path, $repo {
+ for %.dists.kv -> $path, $repo {
for @($repo<dists>) -> $dist {
my $dver = $dist<ver>
?? nqp::istype($dist<ver>,Version)
@@ -183,7 +197,7 @@ See http://design.perl6.org/S22.html#provides for more information.\n";
method candidates($name, :$file, :$auth, :$ver) {
my @candi;
- for %!dists.kv -> $path, $repo {
+ for %.dists.kv -> $path, $repo {
for @($repo<dists>) -> $dist {
my $dver = $dist<ver>
?? nqp::istype($dist<ver>,Version)
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
reading the manifest from data: "\{}"
this is our data: {}<>
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: False
reading the manifest from data: "\{}"
this is our data: {}<>
==> Bootstrapping Panda
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: False
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{}"
this is our data: {}<>
==> Fetching File::Find
==> Building File::Find
Compiling lib/File/Find.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: False
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
==> Testing File::Find
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: False
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{}"
this is our data: {}<>
reading the manifest from data: "\{}"
this is our data: {}<>
t/01-file-find.t .. ok
All tests successful.
Files=1, Tests=10, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.60 cusr 0.02 csys = 0.64 CPU)
Result: PASS
==> Installing File::Find
==> Successfully installed File::Find
==> Fetching Shell::Command
==> Building Shell::Command
Compiling lib/Shell/Command.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
==> Testing Shell::Command
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
===SORRY!===
Probable version skew in pre-compiled '/home/timo/perl6/ecosystem/panda/ext/File__Find/lib/File/Find.pm' (cause: no object at index 296)
t/02-shell-command.t ..
No subtests run
Test Summary Report
-------------------
t/02-shell-command.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.52 cusr 0.02 csys = 0.56 CPU)
Result: FAIL
test stage failed for Shell::Command: Tests failed
in method install at /home/timo/perl6/ecosystem/panda/lib/Panda.pm:127
in method resolve at /home/timo/perl6/ecosystem/panda/lib/Panda.pm:198
in sub MAIN at bin/panda:20
in sub MAIN at bin/panda:18
in block <unit> at bin/panda:82
==> Fetching JSON::Tiny
==> Building JSON::Tiny
Compiling lib/JSON/Tiny/Actions.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
Compiling lib/JSON/Tiny/Grammar.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
Compiling lib/JSON/Tiny.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
==> Testing JSON::Tiny
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
t/01-parse.t ...... ok
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
t/02-structure.t .. ok
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
t/03-unicode.t .... ok
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 2,\n \"dist-count\" : 1,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n }\n ]\n}"
this is our data: {:dist-count(1), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}]), :file-count(2)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
t/04-roundtrip.t .. ok
All tests successful.
Files=4, Tests=120, 2 wallclock secs ( 0.04 usr 0.00 sys + 1.90 cusr 0.12 csys = 2.06 CPU)
Result: PASS
==> Installing JSON::Tiny
==> Successfully installed JSON::Tiny
==> panda depends on Shell::Command
==> Fetching Shell::Command
==> Building Shell::Command
Compiling lib/Shell/Command.pm to mbc
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 8,\n \"dist-count\" : 2,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n },\n \{\n \"id\" : 1,\n \"name\" : \"JSON::Tiny\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"A minimal JSON (de)serializer\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"JSON::Tiny\" : \{\n \"pm\" : \{\n \"file\" : 2,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 3,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Actions\" : \{\n \"pm\" : \{\n \"file\" : 4,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 5,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Grammar\" : \{\n \"pm\" : \{\n \"file\" : 6,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 7,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny\"\n }\n ]\n}"
this is our data: {:dist-count(2), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}, {:auth(Any), :depends([]), :description("A minimal JSON (de)serializer"), :files({}), :id(1), :name("JSON::Tiny"), :provides({"JSON::Tiny" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(3), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(2), :time(1428656306)})}, "JSON::Tiny::Actions" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(5), :time(1428656305)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(4), :time(1428656305)})}, "JSON::Tiny::Grammar" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(7), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(6), :time(1428656305)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny"), :ver("*")}]), :file-count(8)}<>
==> Testing Shell::Command
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
reading the manifest from data: "\{\n \"file-count\" : 8,\n \"dist-count\" : 2,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n },\n \{\n \"id\" : 1,\n \"name\" : \"JSON::Tiny\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"A minimal JSON (de)serializer\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"JSON::Tiny\" : \{\n \"pm\" : \{\n \"file\" : 2,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 3,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Actions\" : \{\n \"pm\" : \{\n \"file\" : 4,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 5,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Grammar\" : \{\n \"pm\" : \{\n \"file\" : 6,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 7,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny\"\n }\n ]\n}"
this is our data: {:dist-count(2), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}, {:auth(Any), :depends([]), :description("A minimal JSON (de)serializer"), :files({}), :id(1), :name("JSON::Tiny"), :provides({"JSON::Tiny" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(3), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(2), :time(1428656306)})}, "JSON::Tiny::Actions" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(5), :time(1428656305)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(4), :time(1428656305)})}, "JSON::Tiny::Grammar" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(7), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(6), :time(1428656305)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny"), :ver("*")}]), :file-count(8)}<>
reading the manifest from data: "\{}"
this is our data: {}<>
===SORRY!===
Probable version skew in pre-compiled '/home/timo/perl6/ecosystem/panda/ext/File__Find/lib/File/Find.pm' (cause: no object at index 296)
t/02-shell-command.t ..
No subtests run
Test Summary Report
-------------------
t/02-shell-command.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.59 cusr 0.02 csys = 0.63 CPU)
Result: FAIL
test stage failed for Shell::Command: Tests failed
in method install at /home/timo/perl6/ecosystem/panda/lib/Panda.pm:127
in method reify at src/gen/m-CORE.setting:9633
in block at src/gen/m-CORE.setting:9546
in method reify at src/gen/m-CORE.setting:9517
in method gimme at src/gen/m-CORE.setting:10045
in method sink at src/gen/m-CORE.setting:10539
in method resolve at /home/timo/perl6/ecosystem/panda/lib/Panda.pm:194
in sub MAIN at bin/panda:20
in sub MAIN at bin/panda:18
in block <unit> at bin/panda:82
Failure Summary
----------------
Shell::Command
*test stage failed for Shell::Command: Tests failed
/home/timo/perl6/ecosystem/panda
*test stage failed for Shell::Command: Tests failed
==> Please make sure that /home/timo/perl6/install/share/perl6/site/bin is in your PATH
==> Reinstalling
looking at /home/timo/.perl6/2015.03-218-g49ba4bf/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/vendor/MANIFEST to see if it exists: False
looking at /home/timo/perl6/install/share/perl6/site/MANIFEST to see if it exists: True
reading the manifest from data: "\{}"
this is our data: {}<>
reading the manifest from data: "\{}"
this is our data: {}<>
reading the manifest from data: "\{}"
this is our data: {}<>
reading the manifest from data: "\{\n \"file-count\" : 8,\n \"dist-count\" : 2,\n \"dists\" : [\n \{\n \"id\" : 0,\n \"name\" : \"File::Find\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"Bla bla\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"File::Find\" : \{\n \"pm\" : \{\n \"file\" : 0,\n \"time\" : 1428656301,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 1,\n \"time\" : 1428656302,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/File__Find\"\n },\n \{\n \"id\" : 1,\n \"name\" : \"JSON::Tiny\",\n \"auth\" : null,\n \"ver\" : \"*\",\n \"description\" : \"A minimal JSON (de)serializer\",\n \"depends\" : [ ],\n \"provides\" : \{\n \"JSON::Tiny\" : \{\n \"pm\" : \{\n \"file\" : 2,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 3,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Actions\" : \{\n \"pm\" : \{\n \"file\" : 4,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 5,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n },\n \"JSON::Tiny::Grammar\" : \{\n \"pm\" : \{\n \"file\" : 6,\n \"time\" : 1428656305,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n },\n \"moarvm\" : \{\n \"file\" : 7,\n \"time\" : 1428656306,\n \"cver\" : \"2015.03-218-g49ba4bf\"\n }\n }\n },\n \"files\" : \{ },\n \"source-url\" : \"/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny\"\n }\n ]\n}"
this is our data: {:dist-count(2), :dists([{:auth(Any), :depends([]), :description("Bla bla"), :files({}), :id(0), :name("File::Find"), :provides({"File::Find" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(1), :time(1428656302)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(0), :time(1428656301)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/File__Find"), :ver("*")}, {:auth(Any), :depends([]), :description("A minimal JSON (de)serializer"), :files({}), :id(1), :name("JSON::Tiny"), :provides({"JSON::Tiny" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(3), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(2), :time(1428656306)})}, "JSON::Tiny::Actions" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(5), :time(1428656305)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(4), :time(1428656305)})}, "JSON::Tiny::Grammar" => {:moarvm({:cver("2015.03-218-g49ba4bf"), :file(7), :time(1428656306)}), :pm({:cver("2015.03-218-g49ba4bf"), :file(6), :time(1428656305)})}}), :source-url("/home/timo/perl6/ecosystem/panda/ext/JSON__Tiny"), :ver("*")}]), :file-count(8)}<>
===SORRY!===
Could not find Shell::Command in any of: /home/timo/.perl6/2015.03-218-g49ba4bf/lib, /home/timo/.perl6/2015.03-218-g49ba4bf, /home/timo/perl6/install/share/perl6/lib, /home/timo/perl6/install/share/perl6/vendor/lib, /home/timo/perl6/install/share/perl6/site/lib, /home/timo/perl6/install/share/perl6, /home/timo/perl6/install/share/perl6/vendor, /home/timo/perl6/install/share/perl6/site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment