Re: Parrot doesn't build on OS X

2008-11-02 Thread Stéphane Payrard
That's trunk, and I did a make real clean

On Sat, Nov 1, 2008 at 9:36 PM, Mark J. Reed <[EMAIL PROTECTED]> wrote:
> Trunk or 0.8.0?  Trunk builds fine on my iMac running the same Darwin
> version you report (leopard 10.5.5).
>
>
>
> On 11/1/08, Ovid <[EMAIL PROTECTED]> wrote:
>> For the past few days, Parrot has failed to build on my MacBook.  Today I
>> moved my parrot directory and did a fresh svn checkout.  "perl Configure.pl"
>> ran fine without problem. "make" does fine until about here:
>>
>> $ make
>> Compiling with:
>> xx.c
>> /usr/bin/gcc-4.0 
>> make -C compilers/pge
>> perl -MExtUtils::Command -e rm_f PGE.pbc
>> ../../runtime/parrot/library/PGE.pbc
>> perl -e "" >PGE/builtins_gen.pir
>> ../../parrot -o PGE.pbc --output-pbc PGE.pir
>> ../../parrot ../../runtime/parrot/library/PGE/Perl6Grammar.pir
>> --output=PGE/builtins_gen.pir PGE/builtins.pg
>> make[1]: *** [PGE.pbc] Bus error
>> make[1]: *** Deleting file `PGE.pbc'
>> make: *** [compilers.dummy] Error 2
>>
>> $ uname -a
>> Darwin curtis-poes-computer-2.local 9.5.0 Darwin Kernel Version 9.5.0: Wed
>> Sep  3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
>>
>> Cheers,
>> Ovid
>> --
>> Buy the book - http://www.oreilly.com/catalog/perlhks/
>> Tech blog- http://use.perl.org/~Ovid/journal/
>> Twitter  - http://twitter.com/OvidPerl
>> Official Perl 6 Wiki - http://www.perlfoundation.org/perl6
>>
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
> Mark J. Reed <[EMAIL PROTECTED]>
>



-- 
cognominal stef


[perl #60304] Rakudo fails to catch undeclared variables at compile-time

2008-11-02 Thread Carl Mäsak
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #60304]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=60304 >


Rakudo r32280 compiles programs with undeclared variables without
complaining, and then dies with a strange error message when running
the programs.

$ perl6 -c -e 'say $x'
syntax OK

$ perl6 -e 'say $x'
No handler to delete.
[...]


[perl #60312] [BUG] OpenBSD Smolder test failures

2008-11-02 Thread via RT
# New Ticket Created by  James Keenan 
# Please include the string:  [perl #60312]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=60312 >


Thanks to some automated test reporting setups (which I think are  
still coming from magnachef), we are getting a steady stream of test  
reports on the Smolder site from FreeBSD, NetBSD and OpenBSD.  Of the  
three, the first two generally pass 100% of tests, but OpenBSD's  
performance has often been much poorer.  Of late, OpenBSD has been  
passing 99.95% of its tests, which is a clear improvement over just a  
month ago.  So I figured it would probably be good to put all the  
failures we're still getting on OpenBSD in one place to see if  
patterns emerge.

I want to stress that I have neither experience with, nor access to,  
OpenBSD.  So I have no particular insight into these failures, nor  
can I directly test patches.

As of today, there are 6 tests failing on OpenBSD, as reported on  
Smolder.

1.  t/compilers/imcc/syn/veracity.t - Test #5:

pir_output_is( <<'CODE', <<'OUT', "Float NaN" );
.sub test :main
 $N0 = 'NaN'
 unless $N0 goto not_nan
 say "NaN is true"

 not_nan:
 end
.end
CODE
NaN is true
OUT

not ok 5 - Float NaN

#   Failed test 'Float NaN'
#   at t/compilers/imcc/syn/veracity.t line 113.
#  got: ''
# expected: 'NaN is true
# '


2.  t/op/arithmetics.t - Test #7:

not ok 7 - turn a native number into its negative

pasm_output_is( <<'CODE', <

Re: Parrot doesn't build on OS X

2008-11-02 Thread Andy Dougherty
On Sat, 1 Nov 2008, Mark J. Reed wrote:

> Trunk or 0.8.0?  Trunk builds fine on my iMac running the same Darwin
> version you report (leopard 10.5.5).

There are also other issues to consider:  What libraries are in use?  
[e.g. there is speculation that it may be a libgmp issue].  What 
compiler options were given?  All this information, and more, is given in 
the 'myconfig' file.  Attaching that to the problem report would likely be 
useful.

Also, running the core tests might help pinpoint the problem.

-- 
Andy Dougherty  [EMAIL PROTECTED]


Re: Argument scoping error or bug?

2008-11-02 Thread Chris Dolan

On Oct 27, 2008, at 2:07 PM, Patrick R. Michaud wrote:


On Sat, Oct 25, 2008 at 10:52:13AM +0200, Moritz Lenz wrote:

You have just experienced this bug:
http://rt.perl.org/rt3/Ticket/Display.html?id=58392
"Recursion and for loops interact badly in Rakudo".

Patrick is working on it.


That said, I'm also looking for others to help work on it.
But it's not a pretty bug, and it's deeply embedded in
Parrot internals.  :-)



I expect the answer is "not really", but is there anything that a  
motivated novice like me can do to help?  I switched to the "lex"  
branch and looked at the changes you've made (svn diff -r32136:HEAD),  
but I also see that it's not in a working state right now (./perl6 - 
e"say 'Hello, world.'" => Lexical '$/' not found)


Tip jar?

Chris