Re: [perl #128156] dependency errors

2016-06-14 Thread Lloyd Fournier
@FROGGS for me that test passes with https://github.com/rakudo/rakudo/commit/491af6034d (without your fix). Your commit did fix the issue of the file's content changing (and therefore the SHA) causing re-precompilati

[perl #128156] dependency errors

2016-06-12 Thread Tobias Leich via RT
These patches fix and test the remaining issue: https://github.com/rakudo/rakudo/commit/d0a00164e9 https://github.com/perl6/roast/commit/716b94f7ff

Re: [perl #128156] dependency errors

2016-06-10 Thread Lloyd Fournier
https://rt.perl.org/Public/Bug/Display.html?id=128371 rather On Sat, Jun 11, 2016 at 8:38 AM Lloyd Fournier wrote: > another one: > > https://rt.perl.org/Public/Bug/Display.html?id=128156 > > On Tue, Jun 7, 2016 at 9:29 PM Lloyd Fournier > wrote: > >> I've tested both issues with the branch: >>

Re: [perl #128156] dependency errors

2016-06-10 Thread Lloyd Fournier
another one: https://rt.perl.org/Public/Bug/Display.html?id=128156 On Tue, Jun 7, 2016 at 9:29 PM Lloyd Fournier wrote: > I've tested both issues with the branch: > > issue #1 (changing dependency contents leads to goofed re-precomp) -- > Still broken > issue #2 (collisions on timestamps leads

Re: [perl #128156] dependency errors

2016-06-07 Thread Lloyd Fournier
I've tested both issues with the branch: issue #1 (changing dependency contents leads to goofed re-precomp) -- Still broken issue #2 (collisions on timestamps leads to goofed re-precomp) -- Fixed! for reference another example of issue #1 was reported recently: https://rt.perl.org/Public/Bug/Dis

Re: [perl #128156] dependency errors

2016-05-24 Thread mt1957
Hi, Another symptom from the same bug. After modifying a sub module I get an error like the following; Type 'Semi-xml::Sxml' is not declared at /home/marcel/Languages/Perl6/Projects/Semi-xml/t/108-xml.t:43 --> my Semi-xml::Sxml⏏ $x .= new; Malformed my at /home/marcel/Languages/Perl6/Proj

Re: [perl #128156] dependency errors

2016-05-23 Thread Lloyd Fournier
wrt to outdating files. What I would actually expect from looking at the code is for it to fail to produce a valid $handle and fallback to non-precomp loading. my $handle = ( self.may-precomp and ( my $loaded = self.load($id, :since($source.modified), :@precomp-

Re: [perl #128156] dependency errors

2016-05-22 Thread Lloyd Fournier
I've done some more investigation. There are two seperate issues: 1. The main issue wrt this ticket. It hits you will you are editing code. It can be reproduced (on any platform) with: P6="perl6" lib="templib" test -e $lib && rm -r $lib; mkdir $lib sleep="sleep 2"; echo 'class Top1 { }; need Need

Re: [perl #128156] dependency errors

2016-05-21 Thread Lloyd Fournier
nine++ has attempted to fix this issue: https://github.com/rakudo/rakudo/commit/c59e4dc44772cb09edeb8aa7f0ce0385f951cf5d Though it seems to have made the failure more random. Try the following: while true; do test -e lib && rm -r lib; # this is needed to trigger it for some reason mkdir

Re: [perl #128156] dependency errors

2016-05-20 Thread Lloyd Fournier
It seems to have been introduced by one of nine's commits on the 13th. This or one of the commits just before it I think: https://github.com/rakudo/rakudo/commit/4fb3f94fcd39699f69e9d175315f9f1357e8faf3 On Fri, May 20, 2016 at 11:26 PM Lloyd Fournier wrote: > err leme try that again > > Precomp

Re: [perl #128156] dependency errors

2016-05-20 Thread Lloyd Fournier
err leme try that again Precomp is broken for dependency chains 3 or longer when one of the dependencies down the chain is *changed*. To expand: Sometimes it gives you a problem where you get "Missing or wrong version of dependency" and sometimes symbols that should have been merged from GLOBALis

Re: [perl #128156] dependency errors

2016-05-20 Thread Lloyd Fournier
I've been getting something similar and I've managed to golf it. mkdir lib; echo 'class One { }; need Two;' > lib/One.pm6 echo 'class Two { }; need Three;' > lib/Two.pm6 echo '' > lib/Three.pm6 perl6 -Ilib -e 'need One; say (GLOBAL:::exists ?? "OK" !! "NOT OK")' echo "changing file" && touch lib/T

[perl #128156] dependency errors

2016-05-16 Thread via RT
# New Ticket Created by mt1957 # Please include the string: [perl #128156] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128156 > Hi, I get the following error more often than before after some edits in my source files. Mi