Re: [perl #56006] [BUG]: Test failures on Solaris10-x86

2008-06-19 Thread chromatic
On Thursday 19 June 2008 19:04:07 James Keenan via RT wrote:

> On Thu Jun 19 18:41:07 2008, [EMAIL PROTECTED] wrote:
> > I'm a little confused; why SKIP a passing TODO?
> We know that one test is now passing on some operating systems:  Darwin,
> Linux, and this Solaris.   But we don't know about others.
>
> Is there any way to write the test such that it is not treated as TODO
> on those 3 OSes, but rather as a normal test (i.e., one which we expect
> to pass)?

Some of the other TODO tests use code like:

my @todo;
@todo = ( todo => 'some reason' ) if $^O =~ /SomePlatform/;

some_test_assertion( $expect, $receive, $description, @todo );

This seems appropriate here.

-- c


[perl #56120] [OK] Solaris 10 on sparc

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


Using Perl 5.8.8, gnumake and the Sun C compiler version 5.9, I get the 
following results from 'make test' on a Sparc system running Solaris 10 with 
Parrot svn revision 28514:

t/op/sprintf.ok
117/308 skipped: various reasons, 1/308 unexpectedly succeeded
TODO PASSED test 157

t/codingstd/trailing_space...NOK 1/1
#   Failed test 'no trailing whitespace'
#   at t/codingstd/trailing_space.t line 50.
# Trailing space or tab char found in the following files:
# /home/phoebus3/ANJ/work/parrot/config/init/hints/darwin.pm 13
# That's 1 failed files out of 1550 files total.
# Looks like you failed 1 test of 1.
t/codingstd/trailing_space...dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  List of Failed
---
t/codingstd/trailing_space.t1   256 11  1
 (1 subtest UNEXPECTEDLY SUCCEEDED), 28 tests and 600 subtests skipped.
Failed 1/585 test scripts. 1/11214 subtests failed.
Files=585, Tests=11214, 1823 wallclock secs (493.17 cusr + 115.70 csys = 
608.87 CPU)
Failed 1/585 test programs. 1/11214 subtests failed.
make: *** [test] Error 1


Running 'make spectest_regression' in languages/perl6 gives 100% success:

All tests successful, 434 subtests skipped.
Files=64, Tests=1230, 855 wallclock secs (840.91 cusr +  6.04 csys = 846.95 
CPU)

- Andrew
-- 
Talk is cheap. Show me the code. -- Linus Torvalds


Re: [perl #56118] AutoReply: --jitcapable seg fault on Darwin x86 10.5.3 on Revision: 28564

2008-06-19 Thread Andy Bach
Here's a simpler bt (from integer_42.pasm)

#0  0x8fe18b42 in __dyld_misaligned_stack_error ()
#1  0x0004 in ?? ()
#2  0x005cbbe0 in real_exception (interp=0x112a00, ret_addr=0x0,
exitcode=28, format=0x85143b "Divide by zero") at src/exceptions.c:903
#3  0x0104cc5f in ?? ()
#4  0x005dec4d in runops_jit (interp=0x112a00, pc=0x130550) at
src/interpreter.c:692
#5  0x005df033 in runops_int (interp=0x112a00, offset=0) at
src/interpreter.c:918
#6  0x005df9f7 in runops (interp=0x112a00, offs=0) at src/inter_run.c:106
#7  0x005dfc8a in runops_args (interp=0x112a00, sub=0x30ce50,
obj=0x103ce70, meth_unused=0x0, sig=0x84d710 "vP", ap=0xb90c
"4?0") at src/inter_run.c:232
#8  0x005dfdc9 in Parrot_runops_fromc_args (interp=0x112a00,
sub=0x30ce50, sig=0x84d710 "vP") at src/inter_run.c:301
#9  0x005c870f in Parrot_runcode (interp=0x112a00, argc=1,
argv=0xba18) at src/embed.c:943
#10 0x00829299 in imcc_run_pbc (interp=0x112a00, obj_file=0,
output_file=0x0, argc=1, argv=0xba18) at compilers/imcc/main.c:782
#11 0x00829d6d in imcc_run (interp=0x112a00, sourcefile=0xbaa0
"/usr/share/cvs/afbach/parrot/t/op/integer_42.pasm", argc=1,
argv=0xba18) at compilers/imcc/main.c:1070
#12 0x210c in main (argc=1, argv=0xba18) at src/main.c:61


Re: [perl #56118] AutoReply: --jitcapable seg fault on Darwin x86 10.5.3 on Revision: 28564

2008-06-19 Thread Andy Bach
After some fiddling (thanks Bruce!!!) I was able to get a core dump -
here's the backtrace:

#0  0x005d4405 in gc_ms_alloc_objects (interp=0x1117c0, pool=0x111b10)
at src/gc/smallobject.c:399
399 pool->objects_per_alloc = (size_t)(pool->objects_per_alloc *
(gdb) bt
#0  0x005d4405 in gc_ms_alloc_objects (interp=0x1117c0, pool=0x111b10)
at src/gc/smallobject.c:399
#1  0x005d410a in gc_ms_get_free_pmc_ext (interp=0x1117c0,
pool=0x111b10) at src/gc/smallobject.c:278
#2  0x005d7067 in new_pmc_ext (interp=0x1117c0) at src/headers.c:344
#3  0x005d6fde in new_pmc_header (interp=0x1117c0, flags=67109888) at
src/headers.c:313
#4  0x0061ef0e in get_new_pmc_header (interp=0x1117c0, base_type=40,
flags=1024) at src/pmc.c:246
#5  0x0061eb60 in pmc_new (interp=0x1117c0, base_type=40) at src/pmc.c:71
#6  0x007ee66b in Parrot_PMCProxy_init (interp=0x1117c0, pmc=0x30cb20)
at pmcproxy.pmc:95
#7  0x007ee82c in Parrot_PMCProxy_init_pmc (interp=0x1117c0,
pmc=0x30cb20, init_data=0x30cb3c) at pmcproxy.pmc:124
#8  0x0061f110 in pmc_new_init (interp=0x1117c0, base_type=64,
init=0x30cb3c) at src/pmc.c:347
#9  0x006123b7 in Parrot_oo_get_class_str (interp=0x1117c0,
name=0x2f1e3c) at src/oo.c:287
#10 0x005805ce in Parrot_new_p_sc (cur_opcode=0x320178,
interp=0x1117c0) at pmc.ops:87
#11 0x00337c9d in ?? ()
#12 0x005dec4d in runops_jit (interp=0x1117c0, pc=0x320178) at
src/interpreter.c:692
#13 0x005df033 in runops_int (interp=0x1117c0, offset=1022) at
src/interpreter.c:918
#14 0x005df9f7 in runops (interp=0x1117c0, offs=1022) at src/inter_run.c:106
#15 0x005dfc8a in runops_args (interp=0x1117c0, sub=0x30e6e8,
obj=0x30cb90, meth_unused=0x100fb88, sig=0x84d356 "v", ap=0xb680
"t?0") at src/inter_run.c:232
#16 0x005e002a in Parrot_run_meth_fromc_args (interp=0x1117c0,
sub=0x30e6e8, obj=0x30cb90, meth=0x100fb88, sig=0x84d356 "v") at
src/inter_run.c:421
#17 0x007b30f1 in initialize_parents (interp=0x1117c0,
object=0x30cb90, all_parents=0x30cd6c) at class.pmc:343
#18 0x007b4eda in Parrot_Class_instantiate (interp=0x1117c0,
pmc=0x30dd48, init=0x103ba70) at class.pmc:1103
#19 0x0058060f in Parrot_new_p_sc (cur_opcode=0x31feb8,
interp=0x1117c0) at pmc.ops:90
#20 0x00337706 in ?? ()
#21 0x005dec4d in runops_jit (interp=0x1117c0, pc=0x31fb4c) at
src/interpreter.c:692
#22 0x005df033 in runops_int (interp=0x1117c0, offset=627) at
src/interpreter.c:918
#23 0x005df9f7 in runops (interp=0x1117c0, offs=627) at src/inter_run.c:106
#24 0x005dfc8a in runops_args (interp=0x1117c0, sub=0x30ead8,
obj=0x30d5bc, meth_unused=0x100e988, sig=0x856cf6 "vS", ap=0xb920
"?[/") at src/inter_run.c:232
#25 0x005e002a in Parrot_run_meth_fromc_args (interp=0x1117c0,
sub=0x30ead8, obj=0x30d5bc, meth=0x100e988, sig=0x856cf6 "vS") at
src/inter_run.c:421
#26 0x007e05b1 in Parrot_Object_push_string (interp=0x1117c0,
pmc=0x30d5bc, value=0x2f5b8c) at src/pmc/object.c:3083
#27 0x00ac2b08 in ?? ()
#28 0x005dec4d in runops_jit (interp=0x1117c0, pc=0x32400c) at
src/interpreter.c:692
#29 0x005df033 in runops_int (interp=0x1117c0, offset=3) at
src/interpreter.c:918
#30 0x005df9f7 in runops (interp=0x1117c0, offs=3) at src/inter_run.c:106
#31 0x005dfc8a in runops_args (interp=0x1117c0, sub=0x30fe50,
obj=0x103ba70, meth_unused=0x0, sig=0x84d710 "vP", ap=0xbafc
"\b?0") at src/inter_run.c:232
#32 0x005dfdc9 in Parrot_runops_fromc_args (interp=0x1117c0,
sub=0x30fe50, sig=0x84d710 "vP") at src/inter_run.c:301
#33 0x005c870f in Parrot_runcode (interp=0x1117c0, argc=1,
argv=0xbc00) at src/embed.c:943
#34 0x00829299 in imcc_run_pbc (interp=0x1117c0, obj_file=0,
output_file=0x0, argc=1, argv=0xbc00) at compilers/imcc/main.c:782
#35 0x00829d6d in imcc_run (interp=0x1117c0, sourcefile=0xbc60
"/usr/share/cvs/afbach/parrot/examples/pir/sudoku.pir", argc=1,
argv=0xbc00) at compilers/imcc/main.c:1070
#36 0x210c in main (argc=1, argv=0xbc00) at src/main.c:61


[perl #56120] [OK] Solaris 10 on sparc

2008-06-19 Thread James Keenan via RT
On Thu Jun 19 16:50:19 2008, [EMAIL PROTECTED] wrote:
> Using Perl 5.8.8, gnumake and the Sun C compiler version 5.9, I get
> the
> following results from 'make test' on a Sparc system running Solaris
> 10 with
> Parrot svn revision 28514:
> 
> t/op/sprintf.ok
> 117/308 skipped: various reasons, 1/308 unexpectedly succeeded
> TODO PASSED test 157
> 
> t/codingstd/trailing_space...NOK 1/1
> #   Failed test 'no trailing whitespace'
> #   at t/codingstd/trailing_space.t line 50.
> # Trailing space or tab char found in the following files:
> # /home/phoebus3/ANJ/work/parrot/config/init/hints/darwin.pm 13
> # That's 1 failed files out of 1550 files total.
> # Looks like you failed 1 test of 1.
> t/codingstd/trailing_space...dubious
> Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
> Failed 1/1 tests, 0.00% okay
> Failed Test  Stat Wstat Total Fail  List of Failed
>
---
> t/codingstd/trailing_space.t1   256 11  1


This has been fixed in a separate ticket.




[perl #56006] [BUG]: Test failures on Solaris10-x86

2008-06-19 Thread James Keenan via RT
On Thu Jun 19 18:41:07 2008, [EMAIL PROTECTED] wrote:

> I'm a little confused; why SKIP a passing TODO?
> 


We know that one test is now passing on some operating systems:  Darwin,
Linux, and this Solaris.   But we don't know about others.

Is there any way to write the test such that it is not treated as TODO
on those 3 OSes, but rather as a normal test (i.e., one which we expect
to pass)?

(This was requested by a participant in the Build Fest yesterday at YAPC.)


[perl #56102] Fwd: [PATCH] add git-svn instructions to gettingstarted.pod

2008-06-19 Thread James Keenan via RT
Learned that Coke had already opened a ticket for this; merged this one
into that.


[perl #56122] [Fwd: [PATCH] add git-svn instructions to gettingstarted.pod]

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


Forwarding to open RT:

 Original Message 
Subject: [PATCH] add git-svn instructions to gettingstarted.pod
Date: Wed, 18 Jun 2008 14:23:44 -0400
From: [EMAIL PROTECTED] (Hans Dieter Pearcey)
To: [EMAIL PROTECTED]
Newsgroups: perl.perl6.internals

The obvious way to use git-svn with the parrot repo will result in the 
entire
history being checked out, which is undesirable.  The attached patch points
people towards only checking out HEAD.

hdp.

diff --git a/docs/gettingstarted.pod b/docs/gettingstarted.pod
index e6e18f8..731e434 100644
--- a/docs/gettingstarted.pod
+++ b/docs/gettingstarted.pod
@@ -41,10 +41,20 @@ the Parrot distribution. The procedure for this is:
 
 =item *
 
-Or, if you're one of those rsync folks, you can access the repository with:
+If you're one of those rsync folks, you can access the repository with:
 
 C
 
+=item *
+
+If you're using git-svn, you can check out just the latest version:
+
+Chttps://svn.perl.org/parrot>
+
+Note the current revision.
+
+C<< git svn clone -s -r  https://svn.perl.org/parrot >>
+
 =back
 
 The above instructions are also on the Parrot website:



Re: [perl #56006] Test failures on Solaris10-x86

2008-06-19 Thread chromatic
On Thursday 19 June 2008 18:33:33 James Keenan via RT wrote:

> On Wed Jun 18 09:04:53 2008, [EMAIL PROTECTED] wrote:

> > Running 'make test' on Solaris 10 x86 box, the following tests fail
> > (or unexpectedly succeed):
> >
> > t/op/sprintf.ok
> > 117/308 skipped: various reasons, 1/308 unexpectedly succeeded
> > TODO PASSED test 157
>
> In Perl 5, what is the value for $^O on your system?  (I'd like to have
> it for doing a SKIP on the TODO passing test above.)

I'm a little confused; why SKIP a passing TODO?

I suspect that that box has Test::Harness 2.x installed, while you probably 
have TAP::Harness installed, so you're seeing different output for the same 
TAP state.

-- c


[perl #55950] problem compiling OpenGL/GLUT on PPC OS X

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 06:55:49 2008, packy wrote:

> 
> With my patch for DEPLOYMENT_TARGET in place, running 'make  
> realclean; perl Configure.pl; make' yields the same warning messages,  
> but the build doesn't stop immediately afterward, probably because  
> it's no longer running a parallel make and pieces that were being  
> compiled earlier during the parallel make are delayed during a serial  
> make.

Packy:  Other than warnings, during 'make', are there outstanding issues
in this ticket?

Thank you very much.
kid51


[perl #56006] Test failures on Solaris10-x86

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 09:04:53 2008, [EMAIL PROTECTED] wrote:
> Running 'make test' on Solaris 10 x86 box, the following tests fail
> (or unexpectedly succeed):
> 
> t/op/sprintf.ok
> 117/308 skipped: various reasons, 1/308 unexpectedly succeeded
> TODO PASSED test 157
> 
> 

In Perl 5, what is the value for $^O on your system?  (I'd like to have
it for doing a SKIP on the TODO passing test above.)

Thank you very much.

kid51


IMCC Musings from Register Allocator Change Experience

2008-06-19 Thread chromatic
Per some investigation and discussion at the hackathon, I've looked in to 
refactoring the register allocator.  IMCC keeps track of all symbolic 
registers within a compilation unit in a hash of SymReg structures.

When building PBC, IMCC needs to decide how to map symbolic registers ($P1, 
$N0, $S3, lexicals, etc) to Parrot registers (P0, N0, S0, etc).

To do so, it performs several types of analysis -- much of this is non trivial 
anyway -- but ends up walking this hash several times per compilation unit 
per register type.

Algorithmically speaking, even though coloring and allocating registers is 
non-trivial, I believe even a mathemetician would refer to this as sort of a 
disaster.

The more I dive into IMCC's allocation and context flow and optimization code, 
the more I realize that refactoring it into something more amenable to how 
PIR and PBC actually work will take a lot of time that perhaps I could spend 
on implementing new things, not just improving existing things that (for all 
that they're proofs of concept with bugs, sure, but known bugs) mostly work.

Much of the problem is that plenty of things are interconnected unfortunately.  
That means that changing something in one place ripples throughout the code.

I'm starting to convince myself that the entire PBC-modeling structure that 
IMCC takes is fundamentally wrong -- but the only likely replacement, pirc, 
has blocked for months awaiting better access to PBC.

We can probably reach Parrot 1.0 without replacing IMCC (and that's probably 
the right decision), but IMCC as it exists now will be an increasing 
maintenance and performance and evolutionary drawback over time.

Fortunately, we can implement stage one of refactoring by cleaning up the code 
slightly and performing small changes -- but we really need to rethink its 
internal data structures dramatically.  That makes me wonder if we're better 
off investing resources elsewhere and encouraging a likely replacement.

-- c


[perl #56044] [OK]: Report on Parrot/rakudo Build Fest at YAPC

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 10:05:28 2008, [EMAIL PROTECTED] wrote:


Thanks for the report and thanks for coming to the build fest!

kid51


[perl #56056] [PATCH] Report on Parrot Build Fest at YAPC

2008-06-19 Thread James Keenan via RT
I think Barney beat you to it in r28520.  Resolving ticket.  Thanks for
attending the Build Fest and contributing patches!

kid51


Re: [perl #56052] Storable issue

2008-06-19 Thread Mark Glines
On Thursday 19 June 2008 16:46:23 chromatic wrote:
> On Thursday 19 June 2008 12:40:49 Andrew Johnson wrote:
> > No, sorry. I first saw the problem a couple of weeks ago, but that was my
> > first attempt to build on this platform. The simplest solution is
> > probably to raise the minimum required version of Perl from 5.8.0 (as
> > listed in README) to whichever version has Storable fixed (certainly on
> > Solaris 10 with Perl 5.8.8 it works fine).
>
> I think 5.8.1 is okay (and certainly a five year old version of Perl isn't
> too onerous a burden, especially given some of our other dependencies).

I haven't had a chance to install the various revs of perl and try them yet, 
but ...

Looking at Storable.xs in the various perl revs, it looks like 5.8.4 is the 
earliest version of perl which won't have this issue.  If that isn't an 
acceptable requirement for parrot, I can try to figure out how to make the 
pmc2c data structures more compatible, so the older versions of Storable can 
serialize them properly.

Mark


[perl #56040] [OK]: Report on Parrot/Raduko Build Fest at YAPC

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 10:00:38 2008, [EMAIL PROTECTED] wrote:
> OS tested today: CentOS 5.0
> 

> I would like to setup daily automated smoke tests for CentOS, FreeBSD
> and Solaris when I get back home. I can probably setup a virtual
> server and run a variety of *BSD machines for this.
> 
> What are the steps needed to perform and complete the smoke tests?
> 

In principal, all you need to do is to type 'make smoke' instead of
'make test'.

But, as we have found out the hard way, 'make smoke' is written such
that our smoke server may silently reject your report.  So my advice is
to try it once on each of the OSes you mentioned, then check to see if
the results made it to the front page.

Thanks for coming to the Build Fest!  (Marking ticket resolved and
adding reference to RT discussing smoke test problems.)

kid51


[perl #56026] [OK] Report on Parrot/Rakudo Build Fest at YAPC.

2008-06-19 Thread James Keenan via RT
Thanks for the report, Shane.  Resolving ticket.

kid51


Re: [perl #56052] Storable issue

2008-06-19 Thread chromatic
On Thursday 19 June 2008 12:40:49 Andrew Johnson wrote:

> No, sorry. I first saw the problem a couple of weeks ago, but that was my
> first attempt to build on this platform. The simplest solution is probably
> to raise the minimum required version of Perl from 5.8.0 (as listed in
> README) to whichever version has Storable fixed (certainly on Solaris 10
> with Perl 5.8.8 it works fine).

I think 5.8.1 is okay (and certainly a five year old version of Perl isn't too 
onerous a burden, especially given some of our other dependencies).

-- c


[perl #55856] Eliminating (?) _handle_darwin_for_macports and _handle_darwin_for_fink

2008-06-19 Thread James Keenan via RT
At the hackathon, I got a verbal that the patch worked.  So I merged the
handledarwin branch into trunk and committed yesterday.  Marking ticket
resolved.

kid51


[perl #52214] [BUG] [PATCH]: Lipo poses problems when building Parrot on Darwin with Apple-built Perl 5.8

2008-06-19 Thread James Keenan via RT
Keeping fingers crossed, I'm marking this ticket resolved.


[perl #56032] YAPC::NA 2008 Chicago Buildfest Results

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 09:56:01 2008, jbisbee wrote:
> I was building on OSX PPC Lepord 10.5.3 using
> owerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
> 
> My initial build failed the readline configure step and threw the
> following excpetion

Jeff (Todd, and anyone else getting the auto::readline error):

Can you try out this patch:
http://rt.perl.org/rt3/Ticket/Attachment/389086/176448/darwin-editline-failer.txt

kid51


[perl #56022] [OK]: Build report FreeBSD 6.3/Sparc64

2008-06-19 Thread James Keenan via RT
On Wed Jun 18 09:52:17 2008, [EMAIL PROTECTED] wrote:
> Date: 2008-06-18
> Platform: FreeBSD 6.3/Sparc64 (Sun Ultra 5)
> Perl version: 5.10.0
> 
> Parrot build: successful
> Perl 6 build: successful
> Perl 6 make test: successful
> 
> Output files attached.


Joe:  Thanks for the very detailed report.  If you can periodically test
parrot on this OS/platform combo, let us know of any failures.

Thank you very much.
Jim Keenan


[perl #56108] [BUG] make fails in languages/perl6

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56108]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56108 >


Per the README in languages/perl6:

  To build the compiler, start by building Parrot, then change
  to the languages/perl6/ subdirectory and type "make".

Parrot built just fine.  However, 'make' in languages/perl6 (OS X)
fails with:

  ../../parrot  -o perl6.pbc perl6.pir
  src/interpreter.c:1030: failed assertion 
  'interp->op_count == core->op_count'
  make: *** [perl6.pbc] Abort trap

Full details below signoff.  Let me know if there's any additional
information I can provide.

Cheers,
Ovid

$ uname -a
Darwin curtis-poes-computer-2.local 8.11.1 Darwin Kernel Version
8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386
i386 i386

$ make
../../parrot 
/Users/ovid/code/parrot/runtime/parrot/library/PGE/Perl6Grammar.pbc \
--output=src/gen_grammar.pir \
src/parser/grammar.pg src/parser/grammar-oper.pg
../../parrot  /Users/ovid/code/parrot/compilers/nqp/nqp.pbc
--output=src/gen_actions.pir \
--encoding=fixed_8 --target=pir src/parser/actions.pm
perl -MExtUtils::Command -e cat src/classes/Object.pir
src/classes/Any.pir src/classes/Scalar.pir src/classes/Bool.pir
src/classes/Str.pir src/classes/Num.pir src/classes/Int.pir
src/classes/Complex.pir src/classes/IO.pir src/classes/List.pir
src/classes/Array.pir src/classes/Mapping.pir src/classes/Hash.pir
src/classes/Range.pir src/classes/Code.pir src/classes/Junction.pir
src/classes/Failure.pir src/classes/Role.pir src/classes/Pair.pir
src/classes/Whatever.pir src/classes/Capture.pir src/classes/Subset.pir
src/classes/Grammar.pir src/builtins/globals.pir
src/builtins/assign.pir src/builtins/cmp.pir src/builtins/control.pir
src/builtins/guts.pir src/builtins/io.pir src/builtins/match.pir
src/builtins/math.pir src/builtins/misc.pir
src/builtins/named-unary.pir src/builtins/op.pir
src/builtins/parrot.pir src/builtins/system.pir src/builtins/traits.pir
 >src/gen_builtins.pir
perl build/gen_mutable_pmc.pl src/pmc/mutable_pmc.template \
src/pmc/mutable.pmc
cd src/pmc && perl /Users/ovid/code/parrot/tools/build/dynpmc.pl
generate perl6str mutable perl6scalar mutablevar
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --dump perl6str.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --dump mutable.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --dump
perl6scalar.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --dump mutablevar.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --c perl6str.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --c mutable.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --c perl6scalar.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --c mutablevar.pmc
perl /Users/ovid/code/parrot/tools/build/pmc2c.pl --library perl6_group
--c perl6str.pmc mutable.pmc perl6scalar.pmc mutablevar.pmc
cd src/pmc && perl /Users/ovid/code/parrot/tools/build/dynpmc.pl
compile perl6str mutable perl6scalar mutablevar
cc -c -o perl6str.o -I/Users/ovid/code/parrot/include
-I/Users/ovid/code/parrot/src/pmc
-I/Users/ovid/code/parrot/compilers/bcg/include -g -pipe -fno-common
-no-cpp-precomp  -I/usr/local/include -pipe -fno-common
-Wno-long-double  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED 
-DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN 
-DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED 
-DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16
-fvisibility=hidden -maccumulate-outgoing-args -W -Wall
-Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment
-Wdisabled-optimization -Wendif-labels -Wextra -Wformat
-Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k
-Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces
-Wmissing-field-initializers -Wno-missing-format-attribute
-Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith
-Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare
-Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default
-Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros
-Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wimplicit-int -Wmain
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull
-I/opt/local/include -DHAS_GETTEXT   -g -Wno-shadow 
-DHAVE_COMPUTED_GOTO  perl6str.c
cc -c -o mutable.o -I/Users/ovid/code/parrot/include
-I/Users/ovid/code/parrot/src/pmc
-I/Users/ovid/code/parrot/compilers/bcg/include -g -pipe -fno-common
-no-cpp-precomp  -I/usr/local/include -pipe -fno-common
-Wno-long-double  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED 
-DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN 
-DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED 
-DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16
-fvisibility=hidden -maccumulate-outgoing-args -W -Wall
-Waggregate-return -Wcast-a

Re: [perl #56052] Storable issue

2008-06-19 Thread Andrew Johnson
On Thursday 19 June 2008 12:13:40 Mark Glines via RT wrote:
> On Wed Jun 18 10:57:05 2008, [EMAIL PROTECTED] wrote:
> > On Solaris10 with sparc, during the make process I get this:
> >
> > perl /home/phoebus3/ANJ/work/parrot/tools/build/pmc2c.pl --c
> >subproxy.pmc
> > Cannot restore overloading on HASH(0x286dc8) (package
> >Parrot::Pmc2c::Emitter) at blib/lib/Storable.pm (autosplit into
> >blib/lib/auto/Storable/_retrieve.al) line 323, at
> >/home/phoebus3/ANJ/work/parrot/tools/build/dynpmc.pl line 200
> > gmake[1]: *** [all] Error 255
> > gmake[1]: Leaving directory
> >`/home/phoebus3/ANJ/work/parrot/src/dynpmc'
> > make: *** [dynpmc.dummy] Error 2
>
> Do you happen to know whether this recently started occurring, or
> whether it has been the case for a while?

No, sorry. I first saw the problem a couple of weeks ago, but that was my 
first attempt to build on this platform. The simplest solution is probably to 
raise the minimum required version of Perl from 5.8.0 (as listed in README) 
to whichever version has Storable fixed (certainly on Solaris 10 with Perl 
5.8.8 it works fine).

- Andrew
-- 
Talk is cheap. Show me the code. -- Linus Torvalds


[perl #56052] Storable issue

2008-06-19 Thread Mark Glines via RT
On Wed Jun 18 10:57:05 2008, [EMAIL PROTECTED] wrote:
> On Solaris10 with sparc, during the make process I get this:
> 
> perl /home/phoebus3/ANJ/work/parrot/tools/build/pmc2c.pl --c
>subproxy.pmc
> Cannot restore overloading on HASH(0x286dc8) (package
>Parrot::Pmc2c::Emitter) at blib/lib/Storable.pm (autosplit into
>blib/lib/auto/Storable/_retrieve.al) line 323, at
>/home/phoebus3/ANJ/work/parrot/tools/build/dynpmc.pl line 200
> gmake[1]: *** [all] Error 255
> gmake[1]: Leaving directory
>`/home/phoebus3/ANJ/work/parrot/src/dynpmc'
> make: *** [dynpmc.dummy] Error 2

Hi,

Do you happen to know whether this recently started occurring, or
whether it has been the case for a while?

Mark



Re: [perl #56110] Warnings on Solaris

2008-06-19 Thread chromatic
On Thursday 19 June 2008 13:33:13 Andrew Johnson wrote:

> These warnings occur when compiling on Solaris, both x86 and sparc:
>
> "src/packfile.c", line 351: warning: argument #1 is incompatible with
> prototype:
> prototype: pointer to char : "/usr/include/sys/mman.h", line 161
> argument : pointer to long
> "src/packfile.c", line 878: warning: argument #1 is incompatible with
> prototype:
> prototype: pointer to char : "/usr/include/sys/mman.h", line 161
> argument : pointer to long
>
> The sys/mman.h header file line 161 defines:
>
> extern int munmap(caddr_t, size_t);
>
> Note that from the above warning messages, we know that caddr_t is char*.
>
> However the sys/mman.h file has two other definitions of munmap, depending
> on some configuration macros.  These are the relevent lines:
>
> #ifdef  __STDC__
> #if (_POSIX_C_SOURCE > 2) || defined(_XPG4_2)
>
> extern int munmap(void *, size_t);
>
> #else   /* (_POSIX_C_SOURCE > 2) || defined(_XPG4_2) */
>
> extern int munmap(caddr_t, size_t);
>
> #else   /* __STDC__ */
>
> extern int munmap();
>
> #endif  /* __STDC__ */
>
> I don't know what the Parrot convention is for setting these macros or I'd
> have included a patch.

We could move those file inclusions into include/parrot/packfile.h, and then 
wrap those defines in a Solaris-specific block.  That seems reasonably clean 
to me.  (#ifdef hell is more manageable in header files than source files.)

If you worked up a patch that satisfied your sense of aesthetics, it'd 
probably pass muster.

-- c


[perl #56118] --jitcapable seg fault on Darwin x86 10.5.3 on Revision: 28564

2008-06-19 Thread Andy Bach
# New Ticket Created by  "Andy Bach" 
# Please include the string:  [perl #56118]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56118 >


Building w/ JIT a number of the smokej tests fail:
10911 OK from 11062 tests (98.63% ok)

(all smoke tests pass) w/ seg faults. For instance:
./parrot -j   t/op/integer_42.pasm

fails (though these both:
./parrot   t/op/integer_42.pasm
./parrot -j -Ot  t/op/integer_42.pasm

succeed) Using dtrace I get:
2008-06-19 17:43:59.574 dtrace[40553:10b] *** Terminating app due to
uncaught exception 'NSRangeException', reason: '*** -[NSCFArray
objectAtIndex:]: index (0) beyond bounds (0)'

t/op/string_70.pasm and examples/pir/sudoku.pir (two other failing
tests) have the same dtrace result

perl Configure.pl  --jitcapable
Parrot Version 0.6.3 Configure 2.0
Copyright (C) 2001-2008, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case I'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST...mmak..done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints files...e.done.
Finding header files distributed with Parrot..done.
Determining what C compiler and linker to use.done.
Determining whether make is installed..yes.
Determining whether lex is installed...skipped.
Determining whether yacc is installed..skipped.
Determining if your C compiler is actually gcc.yes.
Seeing if GNU libc is installed.no.
Determining whether libc has the backtrace* functions..yes.
Determining Fink location on Darwin.Fink not installed.
Determining Macports location on Darwinyes.
Determining if your C compiler is actually Visual C++...no.
Detecting compiler attributes (-DHASATTRIBUTE_xxx)done.
Detecting supported compiler warnings (-Wxxx)... pbc...set for gcc.
Enabling optimization...no.
Determining flags for building shared libraries...done.
Determine if parrot should be linked against a shared library..yes.
Determining what charset files should be compiled in..done.
Determining what encoding files should be compiled in.done.
Determining what types Parrot should use..done.
Determining what opcode files should be compiled in...done.
Determining what pmc files should be compiled in..done.
Determining your minimum pointer alignment. 1 byte.
Probing for C headers...
..done.
Determining some sizesdone.
Computing native byteorder for Parrot's wordsize.little-endian.
Test the type of va_ptr (this test is likely to segfault)stack.
Figuring out how to pack() Parrot's types.done.
Figuring out what formats should be used for sprintf..done.
Determining if your C library has a working S_ISREGyes.
Determining CPU architecture and OS...done.
Determining architecture, OS and JIT capability...done.
Generating CPU specific stuff.done.
Verifying that the compiler supports function pointer castsyes.
Determining whether your compiler supports computed goto...yes.
Determining if your compiler supports inline...yes.
Determining what allocator to use.done.
Determining if your C library supports memalignalready set.
Determining some signal stuff.done.
Determining whether there is socklen_t.yes.
Determining if your C library has setenv / unsetenv...both.
Determining if your platform supports AIO...no.
Determining if your platform supports GMP...no.
Determining if your platform supports readline..no.
Determining if your platform supports gdbm..

Re: [perl #56020] [OK]: Report on Parrot Build Fest at YAPC

2008-06-19 Thread Packy Anderson

On Jun 19, 2008, at 11:34 AM, Ovid wrote:

--- Packy Anderson <[EMAIL PROTECTED]> wrote:


On Jun 18, 2008, at 11:51 AM, Parrot via RT wrote:

Successful parrot build on ancient Debian/i386 system, most of the
way through "make test" (it's taking _forever_, mostly because this
is a PII 266 system)

$ uname -a
Linux daffy 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686

unknown

... and make test finished:

All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 30 tests and

595 subtests skipped.
Files=585, Tests=11192, 2674 wallclock secs (2176.58 cusr + 203.55
csys = 2380.13 CPU)


This looks like you're using an older version of Test::Harness.  If  
you
upgrade, it will break things down further, including telling you  
which

test in which test program unexpectedly succeeded.


All tests successful.

Test Summary Report
---
t/op/sprintf.t (Wstat: 0 Tests: 308  
Failed: 0)

  TODO passed:   157
Files=585, Tests=11192, 2623 wallclock secs (38.17 usr  9.82 sys +  
2168.90 cusr 200.64 csys = 2417.53 CPU)

Result: PASS


[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
Another try. Builds and pass tests both with C and C++.

Index: src/string.c
===
--- src/string.c	(revisión: 28565)
+++ src/string.c	(copia de trabajo)
@@ -265,7 +265,7 @@
 /* Set up the cstring cache, then load the basic encodings and charsets */
 if (!interp->parent_interpreter) {
 parrot_new_cstring_hash(interp, &const_cstring_hash);
-interp->const_cstring_hash  = (struct Hash *)const_cstring_hash;
+interp->const_cstring_hash  = (Hash *)const_cstring_hash;
 Parrot_charsets_encodings_init(interp);
 }
 /* initialize the constant string table */
Index: include/parrot/parrot.h
===
--- include/parrot/parrot.h	(revisión: 28565)
+++ include/parrot/parrot.h	(copia de trabajo)
@@ -274,6 +274,7 @@
 #define PACKAGE "parrot"
 #define LOCALEDIR  "."
 
+typedef struct _hash Hash;
 
 #include "parrot/settings.h"
 #include "parrot/enums.h"
Index: include/parrot/hash.h
===
--- include/parrot/hash.h	(revisión: 28565)
+++ include/parrot/hash.h	(copia de trabajo)
@@ -56,7 +56,7 @@
 void *value;
 } HashBucket;
 
-typedef struct _hash {
+struct _hash {
 HashBucket *bs; /* store of buckets */
 HashBucket **bi;/* list of Bucket pointers */
 HashBucket *free_list;  /* empty buckets */
@@ -69,7 +69,7 @@
updated for each new hash */
 hash_comp_fn   compare; /* compare two keys, 0 = equal */
 hash_hash_key_fn hash_val;  /* generate a hash value for key */
-} Hash;
+};
 
 /* HEADERIZER BEGIN: src/hash.c */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
Index: include/parrot/interpreter.h
===
--- include/parrot/interpreter.h	(revisión: 28565)
+++ include/parrot/interpreter.h	(copia de trabajo)
@@ -388,7 +388,7 @@
 struct _Caches * caches;  /* see caches.h */
 
 STRING **const_cstring_table; /* CONST_STRING(x) items */
-struct Hash *const_cstring_hash;  /* cache of const_string items */
+Hash*const_cstring_hash;  /* cache of const_string items */
 
 struct QUEUE* task_queue; /* per interpreter queue */
 struct _handler_node_t *exit_handler_list;/* exit.c */


[perl #56110] Warnings on Solaris

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


These warnings occur when compiling on Solaris, both x86 and sparc:

"src/packfile.c", line 351: warning: argument #1 is incompatible with 
prototype:
prototype: pointer to char : "/usr/include/sys/mman.h", line 161
argument : pointer to long
"src/packfile.c", line 878: warning: argument #1 is incompatible with 
prototype:
prototype: pointer to char : "/usr/include/sys/mman.h", line 161
argument : pointer to long

The sys/mman.h header file line 161 defines:

extern int munmap(caddr_t, size_t);

Note that from the above warning messages, we know that caddr_t is char*.

However the sys/mman.h file has two other definitions of munmap, depending on
some configuration macros.  These are the relevent lines:

#ifdef  __STDC__
#if (_POSIX_C_SOURCE > 2) || defined(_XPG4_2)

extern int munmap(void *, size_t);

#else   /* (_POSIX_C_SOURCE > 2) || defined(_XPG4_2) */

extern int munmap(caddr_t, size_t);

#else   /* __STDC__ */

extern int munmap();

#endif  /* __STDC__ */

I don't know what the Parrot convention is for setting these macros or I'd 
have included a patch.

- Andrew


Re: [perl #55954] [PATCH]: Add 'make smolder_test' target

2008-06-19 Thread C.J. Adams-Collier
James,

Did you svn add the new files first?  I didn't see any new files in that
diff...  You can usually get a commit bit by asking on #perl6 on
irc.freenode.net

Cheers,

C.J.

On Tue, 2008-06-17 at 12:37 -0700, James Keenan wrote:
> # New Ticket Created by  James Keenan 
> # Please include the string:  [perl #55954]
> # in the subject line of all future correspondence about this issue. 
> # http://rt.perl.org/rt3/Ticket/Display.html?id=55954 >
> 
> 
> Forwarding Michael's post so that an RT is opened.
> I've got this working pretty well on my checkout (except that the current
> revision, #28476, doesn't build). You can do a "make smolder_test" and have 
> the
> results sent to the Smolder server. I talked with chromatic and some others
> about removing some of the old existing smoke stuff, but I'll do that later.
> 
> So now the question is how do I send this as a patch. It touches several files
> and adds new ones. Is a simple svn diff good enough? If so, it's attached.
> 


signature.asc
Description: This is a digitally signed message part


[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
Forget previous patch, is broken. I'll keep working on it.



[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
This is a cleaner version.

Index: src/string.c
===
--- src/string.c	(revisión: 28553)
+++ src/string.c	(copia de trabajo)
@@ -265,7 +265,7 @@
 /* Set up the cstring cache, then load the basic encodings and charsets */
 if (!interp->parent_interpreter) {
 parrot_new_cstring_hash(interp, &const_cstring_hash);
-interp->const_cstring_hash  = (struct Hash *)const_cstring_hash;
+interp->const_cstring_hash  = (Hash *)const_cstring_hash;
 Parrot_charsets_encodings_init(interp);
 }
 /* initialize the constant string table */
Index: include/parrot/parrot.h
===
--- include/parrot/parrot.h	(revisión: 28553)
+++ include/parrot/parrot.h	(copia de trabajo)
@@ -274,6 +274,7 @@
 #define PACKAGE "parrot"
 #define LOCALEDIR  "."
 
+typedef struct _hash Hash;
 
 #include "parrot/settings.h"
 #include "parrot/enums.h"
Index: include/parrot/interpreter.h
===
--- include/parrot/interpreter.h	(revisión: 28553)
+++ include/parrot/interpreter.h	(copia de trabajo)
@@ -388,7 +388,7 @@
 struct _Caches * caches;  /* see caches.h */
 
 STRING **const_cstring_table; /* CONST_STRING(x) items */
-struct Hash *const_cstring_hash;  /* cache of const_string items */
+Hash*const_cstring_hash;  /* cache of const_string items */
 
 struct QUEUE* task_queue; /* per interpreter queue */
 struct _handler_node_t *exit_handler_list;/* exit.c */


[perl #56102] Fwd: [PATCH] add git-svn instructions to gettingstarted.pod

2008-06-19 Thread Will Coleda via RT
On Thu Jun 19 09:56:35 2008, coke wrote:
> Forwarding to parrotbug to open a ticket.
> 
> 
> -- Forwarded message --
> From: Hans Dieter Pearcey <[EMAIL PROTECTED]>
> Date: Wed, Jun 18, 2008 at 2:23 PM
> Subject: [PATCH] add git-svn instructions to gettingstarted.pod
> To: [EMAIL PROTECTED]
> 
> 
> The obvious way to use git-svn with the parrot repo will result in the
> entire
> history being checked out, which is undesirable.  The attached patch
> points
> people towards only checking out HEAD.
> 
> hdp.
> 
> 

Thanks, applied with minor tweaks as r28553.


-- 
Will "Coke" Coleda


[perl #56102] Fwd: [PATCH] add git-svn instructions to gettingstarted.pod

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


Forwarding to parrotbug to open a ticket.


-- Forwarded message --
From: Hans Dieter Pearcey <[EMAIL PROTECTED]>
Date: Wed, Jun 18, 2008 at 2:23 PM
Subject: [PATCH] add git-svn instructions to gettingstarted.pod
To: [EMAIL PROTECTED]


The obvious way to use git-svn with the parrot repo will result in the entire
history being checked out, which is undesirable.  The attached patch points
people towards only checking out HEAD.

hdp.



-- 
Will "Coke" Coleda
diff --git a/docs/gettingstarted.pod b/docs/gettingstarted.pod
index e6e18f8..731e434 100644
--- a/docs/gettingstarted.pod
+++ b/docs/gettingstarted.pod
@@ -41,10 +41,20 @@ the Parrot distribution. The procedure for this is:
 
 =item *
 
-Or, if you're one of those rsync folks, you can access the repository with:
+If you're one of those rsync folks, you can access the repository with:
 
 C
 
+=item *
+
+If you're using git-svn, you can check out just the latest version:
+
+Chttps://svn.perl.org/parrot>
+
+Note the current revision.
+
+C<< git svn clone -s -r  https://svn.perl.org/parrot >>
+
 =back
 
 The above instructions are also on the Parrot website:


Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
--- Jonathan Worthington <[EMAIL PROTECTED]> wrote:

> OK, that's in the dynops loading code. I'm be interesting to see
> what:
> 
> prove t/dynoplibs
> 
> Gives you. (This is in Parrot root, not Rakudo.) And also, your
> platform 
> etc. (in fact, the contents of the myconfig file, generated by 
> Configure.pl, will likely cover it.) I'm currently suspecting this
> may 
> be a Parrot level issue with dynamic ops on your platform, rather
> than 
> something specific to Rakudo's usage of them (which is still an 
> important problem to solve, but it's good to know exactly where the 
> problem lies).

No problem.

$ prove -v t/dynoplibs/
t/dynoplibs/dan
1..6
not ok 1 - mul_i_ic_nc

#   Failed test 'mul_i_ic_nc'
#   at t/dynoplibs/dan.t line 26.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 25
# 
not ok 2 - mul_i_i_nc

#   Failed test 'mul_i_i_nc'
#   at t/dynoplibs/dan.t line 37.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 42
# 
not ok 3 - mul_i_ic_n

#   Failed test 'mul_i_ic_n'
#   at t/dynoplibs/dan.t line 49.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 42
# 
not ok 4 - mul_i_i_n

#   Failed test 'mul_i_i_n'
#   at t/dynoplibs/dan.t line 61.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 42
# 
not ok 5 - mul pir syntax

#   Failed test 'mul pir syntax'
#   at t/dynoplibs/dan.t line 74.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 42
# 
not ok 6 - mul pasm syntax

#   Failed test 'mul pasm syntax'
#   at t/dynoplibs/dan.t line 87.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 11
# 
# Looks like you failed 6 tests of 6.
 Dubious, test returned 6 (wstat 1536, 0x600)
 Failed 6/6 subtests 
t/dynoplibs/myops..
1..10
not ok 1 - fortytwo

#   Failed test 'fortytwo'
#   at t/dynoplibs/myops.t line 31.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 42
# 
not ok 2 - what_do_you_get_if_you_multiply_six_by_nine

#   Failed test 'what_do_you_get_if_you_multiply_six_by_nine'
#   at t/dynoplibs/myops.t line 42.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# fortytwo
# 
not ok 3 - hcf

#   Failed test 'hcf'
#   at t/dynoplibs/myops.t line 53.
#   'src/interpreter.c:1030: failed assertion
'interp->op_count == core->op_count'
# '
# doesn't match '/neither here
# (?!nor there)/
# '
# './parrot   "/Users/ovid/code/parrot/t/dynoplibs/myops_3.pir"' failed
with exit code [SIGNAL 6]
not ok 4 - a short cheating quine

#   Failed test 'a short cheating quine'
#   at t/dynoplibs/myops.t line 76.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# .loadlib "myops_ops"
# q
# 
not ok 5 - one alarm

#   Failed test 'one alarm'
#   at t/dynoplibs/myops.t line 84.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 1
# alarm
# 2
# 3
# done.
# 
not ok 6 - three alarm

#   Failed test 'three alarm'
#   at t/dynoplibs/myops.t line 122.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# /7/
# 
not ok 7 - repeating alarm

#   Failed test 'repeating alarm'
#   at t/dynoplibs/myops.t line 174.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# /alarm
# alarm
# alarm/
# 
not ok 8 - bxand - A AND B, but not BOTH

#   Failed test 'bxand - A AND B, but not BOTH'
#   at t/dynoplibs/myops.t line 200.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# F
# F
# F
# F
# 
not ok 9 - conv_u2_i

#   Failed test 'conv_u2_i'
#   at t/dynoplibs/myops.t line 228.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 32767
# 32768
# 65535
# 0
# 65535
# 
not ok 10 - conv_i2_i

#   Failed test 'conv_i2_i'
#   at t/dynoplibs/myops.t line 261.
# Exited with error code: [SIGNAL 6]
# Received:
# src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
# 
# Expected:
# 32767
# -

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Jonathan Worthington

Ovid wrote:

Nope. Same error :(
  

Ouch. :-(


../../parrot  -o perl6.pbc perl6.pir
src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
make: *** [perl6.pbc] Abort trap

At revision 28566
  

OK, that's in the dynops loading code. I'm be interesting to see what:

prove t/dynoplibs

Gives you. (This is in Parrot root, not Rakudo.) And also, your platform 
etc. (in fact, the contents of the myconfig file, generated by 
Configure.pl, will likely cover it.) I'm currently suspecting this may 
be a Parrot level issue with dynamic ops on your platform, rather than 
something specific to Rakudo's usage of them (which is still an 
important problem to solve, but it's good to know exactly where the 
problem lies).


Thanks,

Jonathan



Re: [svn:parrot] r28492 - trunk/src/gc

2008-06-19 Thread chromatic
On Tuesday 17 June 2008 15:01:43 [EMAIL PROTECTED] wrote:

> Log:
> [src/gc] Add some basic function-level documentation to src/gc/memory.c as
> per RT#48260. More is needed, but I've covered the basics.

Excellent.

One thing most people don't notice -- neither criticism nor concern, but a 
tiny bit of polish I try to apply:

> Modified: trunk/src/gc/memory.c
> ===
>=== --- trunk/src/gc/memory.c  (original)
> +++ trunk/src/gc/memory.c Tue Jun 17 15:01:43 2008
> @@ -30,7 +30,8 @@
>
>  =item C
>
> -Uses C to allocate system memory.
> +Uses C to allocate system memory. Panics if the system cannot
> +return memory.

Indicative mood.

> @@ -203,7 +209,10 @@
>
>  =item C
>
> -RT#48260: Not yet documented!!!
> +Resize a chunk of system memory.  Unlike realloc(), it can handle a
> +NULL pointer, in which case you get a malloc back. If
> +C macro is defined, prints debug information to
> +C.

Imperative mood.

Subtle, but I like the consistency of all indicative all the time.  Anyone 
have any comments, or are you all rolling your eyes and looking up 
grammatical moods on Wikipedia now?

-- c


Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
--- Jonathan Worthington <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Ovid wrote:
> >> http://rt.perl.org/rt3/Ticket/Display.html?id=56108 
> >> 
> This is related to Rakudo starting to use dynops (dynamic op
> libraries) 
> today. I managed to mess up the makefile by forgetting to stick in
> the 
> cleaning stuff, meaning that it could sometimes also fail with a
> realclean.
> 
> So:
> * svn up to the latest version
> * make realclean
> * Remove everything in langauges/perl6/src/ops apart from perl6.ops
> * Build as usual
> 
> That should do it - if not, please just reply and say so.

Nope. Same error :(

../../parrot  -o perl6.pbc perl6.pir
src/interpreter.c:1030: failed assertion 'interp->op_count ==
core->op_count'
make: *** [perl6.pbc] Abort trap

At revision 28566

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


[perl #56016] [OK]: Report on Parrot/rakudo Build Fest at YAPC

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



I running on a Win32 (WindowsXP) using the Visual Studio Express 9,
and Activestate 5.8

Was able to successfully build except for the fake exceutable. The bytecode 
worked fine. Went on to spectest_regression which then found a couple of 
problems which was fixed by Patrick and the last one was told was a known 
failure, but filed a seperate report anyways.

Charlie




Perl 6 and Parrot presentations on Perl 6 Wiki

2008-06-19 Thread Conrad Schneiker
FYI.

 

Just added links to 9 presentations on Perl 6 and Parrot (by Patrick Michaud
and Jonathan Worthington) that some of you may want to look at.

 

http://www.perlfoundation.org/perl6/index.cgi?perl_6_articles_and_presentati
ons 

 

Best regards,

Conrad Schneiker

 

  www.AthenaLab.com

 

Official Perl 6 Wiki -  
http://www.perlfoundation.org/perl6 

Official Parrot Wiki -  
http://www.perlfoundation.org/parrot 

 



Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Jonathan Worthington

Hi,

Ovid wrote:
http://rt.perl.org/rt3/Ticket/Display.html?id=56108 

This is related to Rakudo starting to use dynops (dynamic op libraries) 
today. I managed to mess up the makefile by forgetting to stick in the 
cleaning stuff, meaning that it could sometimes also fail with a realclean.


So:
* svn up to the latest version
* make realclean
* Remove everything in langauges/perl6/src/ops apart from perl6.ops
* Build as usual

That should do it - if not, please just reply and say so.

Thanks!

Jonathan



Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
> http://rt.perl.org/rt3/Ticket/Display.html?id=56108 

D'oh!  I would help if I provided the parrot version:

$ svn info
Path: .
URL: https://svn.perl.org/parrot/trunk
Repository Root: https://svn.perl.org/parrot
Repository UUID: d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Revision: 28555
Node Kind: directory
Schedule: normal
Last Changed Author: jonathan
Last Changed Rev: 28555
Last Changed Date: 2008-06-19 19:43:36 +0100 (Thu, 19 Jun 2008)

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


[perl #56004] [TODO] implement .method (with $_ as implicit invocant)

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


This is part of my ongoing (albeit slow) effort to turn missing rakudo
features into tickets.

Currently (r28510) rakudo can't handle method calls with empty
invocants, which should work on $_.

for 1 .. 2 -> { .say };
No result object
current instr.: 'parrot;Perl6;Grammar;Actions;expect_term' pc 109346
(src/gen_actions.pir:8681)

This is used in the test suite in many places, for example in
S29-str/capitalize.t, S29-num/abs.t and S29-str/quotemeta.t

Cheers,
Moritz
-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/


Re: [svn:parrot] r28546 - in trunk/languages/perl6: . config/makefiles src/builtins src/ops src/parser

2008-06-19 Thread chromatic
On Thursday 19 June 2008 12:01:47 Will Coleda wrote:

> On Thu, Jun 19, 2008 at 2:58 PM, chromatic <[EMAIL PROTECTED]> wrote:

> > I'd like to replace all of the string_from_literal with const_string. 
> > While the former calculates the string length at compile time (and saves
> > a very short strlen call at runtime), const_string uses a cache of
> > constant string headers, trading a lookup cost to retrieve or store a
> > singletone string header for not allocating a new non-constant string
> > header on each invocation.

> > We'll already have "Mutable" and "attributes" in the cache, so this is
> > effectively a free optimization.

> Does this cache work with dynops, dynpmcs, etc??

CONST_STRING (in core) is the compile-time cache, so it's indexed access into 
the constant string array.  Because dynops and dynpmc's can't use that cache 
(they can't put indexes into libparrot, for obvious reasons), I recently 
added a keyed cache and made sure that all CONST_STRINGs compiled into 
libparrot are available that way too.

If you use const_string in dynops and dynpmcs, they can use that keyed cache.  
It's a little bit slower than the indexed cache in core, but memoized strings 
that you aren't going to modify in place are very good.

(Though dynpmcs can use the CONST_STRING macro, it's just a #define for 
const_string I added so that people can read core PMCs and use the same names 
for things as they would in dynpmcs without having to understand the 
differences between them.  If you want a constant string that you aren't 
going to modify, use CONST_STRING.  We should probably add a similar #define 
when we generate dynops.)

-- c


Re: [svn:parrot] r28546 - in trunk/languages/perl6: . config/makefiles src/builtins src/ops src/parser

2008-06-19 Thread Will Coleda
On Thu, Jun 19, 2008 at 2:58 PM, chromatic <[EMAIL PROTECTED]> wrote:
> On Thursday 19 June 2008 07:28:55 [EMAIL PROTECTED] wrote:
>
>> Log:
>> [rakudo] Implement basic use of does operator for mixing in a role to an
>> existing object at runtime. This was most neatly done with a dynop, so this
>> check-in also adds a dynops file for Rakudo. make makefile will be required
>> to build after this check-in.
>
>> Added: trunk/languages/perl6/src/ops/perl6.ops
>> ===
>>=== --- (empty file)
>> +++ trunk/languages/perl6/src/ops/perl6.ops   Thu Jun 19 07:28:54 2008
>> @@ -0,0 +1,77 @@
>> +/*
>> + * $Id:$
>> + * Copyright (C) 2008, The Perl Foundation.
>> + */
>> +
>> +#include "parrot/dynext.h"
>> +#include "../../../../src/pmc/pmc_object.h"
>> +VERSION = PARROT_VERSION;
>> +
>> +/*  */
>> +inline op rebless_subclass(in PMC, in PMC) :base_core {
>> +PMC *current_class;
>> +PMC *parent_list;
>> +PMC *value;
>> +int i, num_parents, in_parents, new_attribs;
>> +
>> +/* First verify that the object's class is a superclass of the one
>> we're + * to re-bless it into. While we're at it, count the number of
>> attributes + * the current class has that the parent class does not. */
>> +current_class = VTABLE_get_class(interp, $1);
>> +parent_list = VTABLE_inspect_str(interp, $2,
>> string_from_literal(interp, "all_parents"));
>> +num_parents = VTABLE_elements(interp, parent_list);
>> +in_parents = 0;
>> +new_attribs = 0;
>
> The initializations and declarations can go on the same lines.
>
> I'd like to replace all of the string_from_literal with const_string.  While
> the former calculates the string length at compile time (and saves a very
> short strlen call at runtime), const_string uses a cache of constant string
> headers, trading a lookup cost to retrieve or store a singletone string
> header for not allocating a new non-constant string header on each
> invocation.
>
> We'll already have "Mutable" and "attributes" in the cache, so this is
> effectively a free optimization.
>
> -- c
>

Does this cache work with dynops, dynpmcs, etc??


-- 
Will "Coke" Coleda


Re: [svn:parrot] r28546 - in trunk/languages/perl6: . config/makefiles src/builtins src/ops src/parser

2008-06-19 Thread chromatic
On Thursday 19 June 2008 07:28:55 [EMAIL PROTECTED] wrote:

> Log:
> [rakudo] Implement basic use of does operator for mixing in a role to an
> existing object at runtime. This was most neatly done with a dynop, so this
> check-in also adds a dynops file for Rakudo. make makefile will be required
> to build after this check-in.

> Added: trunk/languages/perl6/src/ops/perl6.ops
> ===
>=== --- (empty file)
> +++ trunk/languages/perl6/src/ops/perl6.ops   Thu Jun 19 07:28:54 2008
> @@ -0,0 +1,77 @@
> +/*
> + * $Id:$
> + * Copyright (C) 2008, The Perl Foundation.
> + */
> +
> +#include "parrot/dynext.h"
> +#include "../../../../src/pmc/pmc_object.h"
> +VERSION = PARROT_VERSION;
> +
> +/*  */
> +inline op rebless_subclass(in PMC, in PMC) :base_core {
> +PMC *current_class;
> +PMC *parent_list;
> +PMC *value;
> +int i, num_parents, in_parents, new_attribs;
> +
> +/* First verify that the object's class is a superclass of the one
> we're + * to re-bless it into. While we're at it, count the number of
> attributes + * the current class has that the parent class does not. */
> +current_class = VTABLE_get_class(interp, $1);
> +parent_list = VTABLE_inspect_str(interp, $2,
> string_from_literal(interp, "all_parents"));
> +num_parents = VTABLE_elements(interp, parent_list);
> +in_parents = 0;
> +new_attribs = 0;

The initializations and declarations can go on the same lines.

I'd like to replace all of the string_from_literal with const_string.  While 
the former calculates the string length at compile time (and saves a very 
short strlen call at runtime), const_string uses a cache of constant string 
headers, trading a lookup cost to retrieve or store a singletone string 
header for not allocating a new non-constant string header on each 
invocation.

We'll already have "Mutable" and "attributes" in the cache, so this is 
effectively a free optimization.

-- c


[perl #56040] [OK]: Report on Parrot/Raduko Build Fest at YAPC

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


OS tested today: CentOS 5.0

Compiled Parrot without issue. Built Parrot/Raduko without issue. Ran 'make 
spectest_regression' and it died with errors, but the issue was resolved and 
patched. The second run completed without issue.

I would like to setup daily automated smoke tests for CentOS, FreeBSD and 
Solaris when I get back home. I can probably setup a virtual server and run a 
variety of *BSD machines for this. 

What are the steps needed to perform and complete the smoke tests?

-Dan


[perl #55184] The presence of $_ in programs produces an error

2008-06-19 Thread Patrick R. Michaud via RT
On Mon Jun 16 07:48:41 2008, [EMAIL PROTECTED] wrote:
> The attached patch fixes the bug #55184: "The presence of $_ in
> programs produces an error", reported a while back.
> 
>  
> 
> It's a limited fix, and I'd be happy to hear how it could be improved.
> All rakudo tests pass after the patch has been applied.


Thanks for the patch; I'm rejecting it (or at least placing it on hold)
for now because I don't like promoting the __FLAG_VARIABLE meme that is
rapidly spreading itself throughout the code.  (It reminds me of the way
that references to 'infix:,' ended up proliferating throughout actions.pm.)

All of the $_, $!, and $/ handling in Rakudo needs to be refactored; at
this point I'd rather place things on hold for that refactor than add
even more code to the burden.  (I'm expecting to get to the refactor in
the next 4-5 days.)

Thanks again!

Pm





[perl #56024] make test output - solaris 8 sparc (xpg4)

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56024]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56024 >


$>uname -a
SunOS cmtnoc5-mx45 5.8 Generic_117350-38 sun4u sparc SUNW,Sun-Fire-V490

$>make test
Compiling with:
xx.c
/opt/SUNWspro/bin/cc -I./include -D_REENTRANT -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_GETTEXT -g 
-DHAVE_COMPUTED_GOTO -KPIC -I. -o xx.o -c xx.c
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' docs
perl -MExtUtils::Command -e mkpath ops
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
src/dynpmc
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
src/dynoplibs
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
compilers/pct
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
compilers/pge
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
compilers/tge
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
compilers/nqp
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
compilers/json
perl t/harness --gc-debug --running-make-test
t/configure/001-options..ok
t/configure/002-messages.ok
t/configure/003-steplist.ok
t/configure/004-configureok
2/30 skipped: various reasons
t/configure/005-run_one_step.ok
t/configure/006-bad_step.ok
t/configure/007-verbose_two..ok
t/configure/008-verbose_step_number..ok
t/configure/009-verbose_step_regex...ok
t/configure/010-verbose_step_num_uncalledok
t/configure/011-no_description...ok
t/configure/012-verbose..ok
t/configure/013-die..ok
t/configure/015-no_returnok
t/configure/016-no_return_but_result.ok
t/configure/017-revision_from_cache..skipped
all skipped: no reason given
t/configure/018-revision_to_cacheskipped
all skipped: no reason given
t/configure/019-version..ok
t/configure/020-version..ok
t/configure/021-version..ok
t/configure/022-version..ok
t/configure/023-version..ok
t/configure/024-version..ok
t/configure/025-options_test.ok
t/configure/026-options_test.ok
t/configure/027-option_or_data...ok
t/configure/028-option_or_data...ok
t/configure/029-option_or_data...ok
t/configure/030-option_or_data...ok
t/configure/031-base.ok
t/configure/032-data.ok
t/configure/033-step.ok
t/configure/034-step.ok
t/configure/035-step.ok
t/configure/036-config_steps.ok
t/configure/037-run_single_step..ok
t/configure/038-run_single_step..ok
t/configure/039-run_single_step..ok
t/configure/040-return_undef.ok
t/configure/041-return_undef.ok
t/configure/042-list_of_stepsok
t/configure/043-verbose_step_nameok
t/configure/044-slurp_file...ok
t/configure/045-generated_file_headerok
t/configure/046-interok
t/configure/047-interok
t/configure/048-return_result_undef..ok
t/configure/049-options_test.ok
t/configure/050-fatalok
t/configure/051-fatal_step...ok
t/configure/052-fatal_step...ok
t/configure/053-fatal_step...ok
t/configure/054-fatal_step...ok
t/configure/055-fatal_step...ok
t/configure/056-fatal_step...ok
t/configure/057-fatal_step...ok
t/configure/058-fatal_step...ok
t/configure/059-silent...ok
t/configure/060-silent...ok
t/steps/auto_aio-01..ok
t/steps/auto_aio-02..ok
t/steps/auto_aio-03..ok
t/steps/auto_aio-04..ok
t/steps/auto_alignptrs-01ok
t/steps/auto_alignptrs-02ok
t/steps/auto_alignptrs-03ok
t/steps/auto_alignptrs-04ok
t/steps/auto_alignptrs-05ok
t/steps/auto_alignptrs-06ok
t/steps/auto_alignptrs-07ok
t/steps/auto_arch-01.ok
t/steps/auto_arch-02.ok
t/steps/auto_arch-03.ok
t/steps/auto_arch-04.ok
t/steps/auto_arch-05.ok
t/steps/auto_arch-06.ok

Re: [perl #56030] AutoReply: Parrot buildfest YAPC::NA::2008 x86 Leopard, build revision 28515 - Configure msg on readline test

2008-06-19 Thread Andy Bach
Never mind - an newly added application got in the path w/ an older
version of something.  Original msg in Config is the only issue.


Re: [perl #56018] Tcl Language test failures with OS X

2008-06-19 Thread Will Coleda
On Wed, Jun 18, 2008 at 12:50 PM, via RT Shane Werner
<[EMAIL PROTECTED]> wrote:
> # New Ticket Created by  "Shane Werner"
> # Please include the string:  [perl #56018]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=56018 >
>
>
> Greetings,
>
> tcl_misc.t is failing in languages/tcl.
>
> #   Failed test 'reading environment variables'
> #   in t/tcl_misc.t at line 209.
> not ok 27 - reading environment variables
> #  got: 'env(PATH)=
> /usr/bin:/bin:/usr/sbin:/sbin
> # env(__CF_USER_TEXT_ENCODING) = 0x1F5:0:0
> # env(cow) = moo
> # env(cowpig)  = moink
> # env(pig) = oink
> # '
> # expected: 'env(PATH)   = /usr/bin:/bin:/usr/sbin:/sbin
> # env(cow)= moo
> # env(cowpig) = moink
> # env(pig)= oink
> # '
>
> First assumed issue was with undef of %ENV hash.  But threw a Dump(\%ENV)
> into the tcl_misc.t and came back with:
>
> $VAR1 = {
>  'cow' => 'moo',
>  'cowpig' => 'moink',
>  'pig' => 'oink',
>  'PATH' => '/usr/bin:/bin:/usr/sbin:/sbin'
>};
>
> Which does not include __CF_USER_TEXT_ENCODING.. so somehow something is
> stuffing this environment variable back into the mix.
>
> I have also tried an unset of this variable within the shell and verified it
> no longer appears in export and I still get the same exact error.  So I'm
> not sure if the compiler or OS X is throwing this variable back into the
> mix.
>
> uname -a:
>
> Darwin host237.wfci.iit.edu 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23
> 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386
>
> Thanks,
>
> Shane
>

It may be unreasonable for the harness (written in perl) to assume
that just because it unsets ENV that nothing else will add things back
in. The tcl test should probably be modified to merely check for the
presence of the three set keys rather than the absence of all the
other keys.



-- 
Will "Coke" Coleda


Re: [perl #55712] [PATCH] Some refactoring, cleaning, and pdd28 accommodation of the parrot string subsystem

2008-06-19 Thread NotFound
On Thu, Jun 19, 2008 at 4:23 AM, Andrew Whitworth via RT
<[EMAIL PROTECTED]> wrote:

> Patch applies cleanly, but "make perl6" fails on Debian(Ubuntu 8.04) x86
> for me. I've attached a backtrace of the failure, for anybody who is
> intrepid enough to take a look at it.

Thanks for the testing. I think we must wait to solve first some
problems in concatenating mixed encoded strings before doing this.

-- 
Salu2


[perl #56044] [OK]: Report on Parrot/rakudo Build Fest at YAPC

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56044]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56044 >


On:  PPC OS X 10.4.11  
Summary: Shiny shiny

Specifically:

svn co https://svn.perl.org/parrot/trunk parrot - ok
Move to /usr/local/parrot and configure - ok
make - ok
make test - 1 minor test error (submitted separately), otherwise ok
make perl6 - ok
testing perl6 at the hello world level - ok
further testing so far, ok. 


[perl #56034] [OK]: Report on Parrot/Rakudo build Fest at YAPC

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


Hi,

I just wanted to report on the results of my Parrot/Rakudo build, which 
went OK.

I was building on darwin on MacOS 10.5.3 leopard.

Regards,
Jim Krajewski


[perl #56052] Storable issue

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


On Solaris10 with sparc, during the make process I get this:

perl /home/phoebus3/ANJ/work/parrot/tools/build/pmc2c.pl --c subproxy.pmc
Cannot restore overloading on HASH(0x286dc8) (package Parrot::Pmc2c::Emitter) 
at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_retrieve.al) 
line 323, at /home/phoebus3/ANJ/work/parrot/tools/build/dynpmc.pl line 200
gmake[1]: *** [all] Error 255
gmake[1]: Leaving directory `/home/phoebus3/ANJ/work/parrot/src/dynpmc'
make: *** [dynpmc.dummy] Error 2

My perl is 5.8.0:

ctlapps1% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
uname='sunos phoebus 5.8 generic_108528-14 sun4u sparc sunw,sun-fire '
config_args='-Dprefix=/opt/local -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -I/opt/local/include 
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -I/opt/local/include -I/opt/gnu/include'
ccversion='Sun WorkShop 6 update 2 C 5.3 Patch 111679-06 2002/03/11', 
gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='/opt/SUNWspro/bin/cc', ldflags =' -L/opt/local/lib -L/opt/gnu/lib '
libpth=/opt/local/lib /opt/gnu/lib /opt/SUNWspro/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lrt -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/opt/local/lib -L/opt/gnu/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
  Built under solaris
  Compiled at Sep  1 2002 10:07:23
  %ENV:
PERL5LIB="/home/helios/ANJ/lib/perl"
  @INC:
/home/helios/ANJ/lib/perl
/opt/local/lib/perl5/5.8.0/sun4-solaris-thread-multi
/opt/local/lib/perl5/5.8.0
/opt/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi
/opt/local/lib/perl5/site_perl/5.8.0
/opt/local/lib/perl5/site_perl/5.6.1
/opt/local/lib/perl5/site_perl/5.6.0
/opt/local/lib/perl5/site_perl/5.005
/opt/local/lib/perl5/site_perl
.


Storable definitely came from the 5.8.0 library:

ctlapps1% perldoc -l Storable
/opt/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/Storable.pm



[perl #56030] Parrot buildfest YAPC::NA::2008 x86 Leopard, build revision 28515 - Configure msg on readline test

2008-06-19 Thread Andy Bach
# New Ticket Created by  "Andy Bach" 
# Please include the string:  [perl #56030]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56030 >


Parrot/perl6 build fine but:

Checking MANIFEST.done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints filesdone.
Finding header files distributed with Parrot..done.
Determining what C compiler and linker to use.done.
Determining whether make is installed..yes.
Determining whether lex is installed...skipped.
Determining whether yacc is installed..skipped.
Determining if your C compiler is actually gcc.yes.
Seeing if GNU libc is installed.no.
Determining whether libc has the backtrace* functions..yes.
Determining Fink location on Darwin.Fink not installed.
Determining Macports location on Darwinyes.
Determining if your C compiler is actually Visual C++...no.
Detecting compiler attributes (-DHASATTRIBUTE_xxx)done.
Detecting supported compiler warnings (-Wxxx)..set for gcc.
Enabling optimization...no.
Determining flags for building shared libraries...done.
Determine if parrot should be linked against a shared library..yes.
Determining what charset files should be compiled in..done.
Determining what encoding files should be compiled in.done.
Determining what types Parrot should use..done.
Determining what opcode files should be compiled in...done.
Determining what pmc files should be compiled in..done.
Determining your minimum pointer alignment. 1 byte.
Probing for C headers.done.
Determining some sizesdone.
Computing native byteorder for Parrot's wordsize.little-endian.
Test the type of va_ptr (this test is likely to segfault)stack.
Figuring out how to pack() Parrot's types.done.
Figuring out what formats should be used for sprintf..done.
Determining if your C library has a working S_ISREGyes.
Determining CPU architecture and OS...done.
Determining architecture, OS and JIT capability...done.
Generating CPU specific stuff.done.
Verifying that the compiler supports function pointer casts...done.
Determining whether your compiler supports computed goto...yes.
Determining if your compiler supports inline...yes.
Determining what allocator to use.done.
Determining if your C library supports memalignalready set.
Determining some signal stuff.done.
Determining whether there is socklen_t.yes.
Determining if your C library has setenv / unsetenv...both.
Determining if your platform supports AIO...no.
Determining if your platform supports GMP...no.
Determining if your platform supports readline...dyld: lazy symbol
binding failed: Symbol not found: _rl_get_keymap
  Referenced from: /usr/share/cvs/afbach/parrot/./test
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /usr/share/cvs/afbach/parrot/./test
  Expected in: dynamic lookup

...no.
Determining if your platform supports gdbm..no.
Determining if your platform supports pcreyes, 7.6.
Determining if your platform supports OpenGLyes, MacOSX_GLUT 5.
Determining if your platform supports crypto...yes, 0.9.7l.
Seeing if your configuration includes gettext...no.
Testing snprintf..done.
Determining whether perldoc is installed...yes.
Determining whether GNU m4 is installedyes.
Determining whether (exuberant) ctags is installed..no.
Determining Parrot's revision...r28515.
Determining whether ICU is installedn

Re: [perl #56030] AutoReply: Parrot buildfest YAPC::NA::2008 x86 Leopard, build revision 28515 - Configure msg on readline test

2008-06-19 Thread Andy Bach
Applied patch:
http://rt.perl.org/rt3//Public/Bug/Display.html?id=52212

which cleared up the config error (close ticket as it's a duplicate anyway)

Test Summary Report
---
t/op/sprintf.t (Wstat: 0 Tests: 308 Failed: 0)
  TODO passed:   157
t/codingstd/perlcritic.t   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=585, Tests=11387, 408 wallclock secs ( 4.01 usr  3.90 sys +
209.22 cusr 81.89 csys = 299.02 CPU)
Result: FAIL
Failed 1/585 test programs. 0/11387 subtests failed.

t/codingstd/perlcritic.Undefined subroutine
&Perl::Critic::Policy::NamingConventions::ProhibitAmbiguousNames::default_forbidden_words
called at t/codingstd/perlcritic.t line 142.
t/codingstd/perlcritic. Dubious, test returned
255 (wstat 65280, 0xff00)
 No subtests run



On Wed, Jun 18, 2008 at 3:09 PM, Andy Bach <[EMAIL PROTECTED]> wrote:
> Never mind - an newly added application got in the path w/ an older
> version of something.  Original msg in Config is the only issue.
>


[perl #56048] [OK]: Report on Parrot/Rakudo Build Fest at YAPC

2008-06-19 Thread Deven T. Corzine
# New Ticket Created by  "Deven T. Corzine" 
# Please include the string:  [perl #56048]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56048 >


I checked Parrot out of Subversion on my Windows laptop with 
TortoiseSVN, built it with the mingw32 gcc-3.4.5 compiler from the 
Strawberry Perl 5.10.0 distribution, ran the parrot tests, built Rakudo 
and ran the spectest_regression tests.  In the process, I discovered a 
quoting issue in "fudgeall", which I fixed and checked into the pugs 
repository, and mailed a patch for the Makefile to ignore errors when 
the "svn" command-line tool is unavailable to run the updates on the 
spectests.  The builds and tests were ultimately successful.


[perl #56020] [OK]: Report on Parrot Build Fest at YAPC

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


Successful parrot build on ancient Debian/i386 system, most of the  
way through "make test" (it's taking _forever_, mostly because this  
is a PII 266 system)

$ uname -a
Linux daffy 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown



[perl #56012] ccs make on solaris 8

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56012]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56012 >


Hi,
I have a bug using ccs make (/usr/ccs/bin/make). The following error 
happens when I run make. 
NOTE: /usr/xpg4/bin/make succeeds on the same host

$PATH = 
/usr/openwin/bin:/opt/perl588/bin:/bin:/usr/bin:/opt/boksm/bin:/opt/perl588/site/git-1.5.5/bin:/opt/perl588/site/postgres/bin:/opt/SUNWspro/bin:/usr/ccs/bin
uname -a == SunOS cmtnoc5-mx45 5.8 Generic_117350-38 sun4u sparc 
SUNW,Sun-Fire-V490

Compiling with:
xx.c
/opt/SUNWspro/bin/cc -I./include -D_REENTRANT -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_GETTEXT -g 
-DHAVE_COMPUTED_GOTO -KPIC -I. -o xx.o -c xx.c
perl tools/build/c2str.pl src/builtin.c > src/builtin.str
perl tools/build/c2str.pl src/debug.c > src/debug.str
perl tools/build/c2str.pl src/dynext.c > src/dynext.str
perl tools/build/c2str.pl src/exceptions.c > src/exceptions.str
perl tools/build/c2str.pl src/global.c > src/global.str
perl tools/build/c2str.pl src/global_setup.c > src/global_setup.str
perl tools/build/c2str.pl src/hll.c > src/hll.str
perl tools/build/c2str.pl src/inter_call.c > src/inter_call.str
perl tools/build/c2str.pl src/inter_cb.c > src/inter_cb.str
perl tools/build/c2str.pl src/inter_create.c > src/inter_create.str
perl tools/build/c2str.pl src/inter_misc.c > src/inter_misc.str
perl tools/build/c2str.pl src/io/io.c > src/io/io.str
perl tools/build/c2str.pl src/key.c > src/key.str
perl tools/build/c2str.pl src/library.c > src/library.str
perl tools/build/c2str.pl src/mmd.c > src/mmd.str
perl tools/build/c2str.pl src/packfile.c > src/packfile.str
perl tools/build/c2str.pl src/pmc.c > src/pmc.str
perl tools/build/c2str.pl src/oo.c > src/oo.str
perl tools/build/c2str.pl src/scheduler.c > src/scheduler.str
perl tools/build/c2str.pl src/spf_render.c > src/spf_render.str
perl tools/build/c2str.pl src/spf_vtable.c > src/spf_vtable.str
perl tools/build/c2str.pl src/sub.c > src/sub.str
perl tools/build/pmc2c.pl --vtable
perl tools/build/pmc2c.pl --dump src/pmc/default.pmc
perl tools/build/pmc2c.pl --c src/pmc/default.pmc
perl tools/build/c2str.pl src/pmc/default.c > src/pmc/default.str
perl tools/build/pmc2c.pl --dump src/pmc/null.pmc
perl tools/build/pmc2c.pl --c src/pmc/null.pmc
perl tools/build/c2str.pl src/pmc/null.c > src/pmc/null.str
perl tools/build/pmc2c.pl --dump src/pmc/env.pmc
perl tools/build/pmc2c.pl --c src/pmc/env.pmc
perl tools/build/c2str.pl src/pmc/env.c > src/pmc/env.str
perl tools/build/pmc2c.pl --dump src/pmc/key.pmc
perl tools/build/pmc2c.pl --c src/pmc/key.pmc
perl tools/build/c2str.pl src/pmc/key.c > src/pmc/key.str
perl tools/build/pmc2c.pl --dump src/pmc/random.pmc
perl tools/build/pmc2c.pl --c src/pmc/random.pmc
perl tools/build/c2str.pl src/pmc/random.c > src/pmc/random.str
perl tools/build/pmc2c.pl --dump src/pmc/unmanagedstruct.pmc
perl tools/build/pmc2c.pl --c src/pmc/unmanagedstruct.pmc
perl tools/build/c2str.pl src/pmc/unmanagedstruct.c > 
src/pmc/unmanagedstruct.str
perl tools/build/pmc2c.pl --dump src/pmc/managedstruct.pmc
perl tools/build/pmc2c.pl --c src/pmc/managedstruct.pmc
perl tools/build/c2str.pl src/pmc/managedstruct.c > 
src/pmc/managedstruct.str
perl tools/build/pmc2c.pl --dump src/pmc/delegate.pmc
perl tools/build/pmc2c.pl --c src/pmc/delegate.pmc
perl tools/build/c2str.pl src/pmc/delegate.c > src/pmc/delegate.str
perl tools/build/pmc2c.pl --dump src/pmc/fixedintegerarray.pmc
perl tools/build/pmc2c.pl --c src/pmc/fixedintegerarray.pmc
perl tools/build/pmc2c.pl --dump src/pmc/fixedpmcarray.pmc
perl tools/build/pmc2c.pl --dump src/pmc/resizablepmcarray.pmc
perl tools/build/pmc2c.pl --dump src/pmc/exception.pmc
perl tools/build/pmc2c.pl --c src/pmc/exception.pmc
perl tools/build/c2str.pl src/pmc/exception.c > src/pmc/exception.str
perl tools/build/pmc2c.pl --dump src/pmc/vtablecache.pmc
perl tools/build/pmc2c.pl --c src/pmc/vtablecache.pmc
perl tools/build/c2str.pl src/pmc/vtablecache.c > src/pmc/vtablecache.str
perl tools/build/pmc2c.pl --dump src/pmc/parrotio.pmc
perl tools/build/pmc2c.pl --c src/pmc/parrotio.pmc
perl tools/build/c2str.pl src/pmc/parrotio.c > src/pmc/parrotio.str
perl tools/build/pmc2c.pl --dump src/pmc/parrotlibrary.pmc
perl tools/build/pmc2c.pl --c src/pmc/parrotlibrary.pmc
perl tools/build/c2str.pl src/pmc/parrotlibrary.c > 
src/pmc/parrotlibrary.str
perl tools/build/pmc2c.pl --dump src/pmc/parrotinterpreter.pmc
perl tools/build/pmc2c.pl --c src/pmc/parrotinterpreter.pmc
perl tools/build/c2str.pl src/pmc/parrotinterpreter.c > 
src/pmc/parrotinterpreter.str
perl tools/build/pmc2c.pl --dump src/pmc/parrotthread.pmc
perl tools/build/pmc2c.pl --c src/pmc/parrotthread.pmc
perl tools/build/c2str.pl src/pmc/parrotthread.c > 
src/pmc/parrotthread.str
perl tools/build/pmc2c.pl --dump src/pmc/lexpad.pmc
perl tools/build/pmc2c.pl --c src/pmc/lexpad.pmc
perl tools/build/c2str.pl src/pmc/

Re: [perl #56020] [OK]: Report on Parrot Build Fest at YAPC

2008-06-19 Thread jerry gay
On Thu, Jun 19, 2008 at 9:34 AM, Ovid
<[EMAIL PROTECTED]> wrote:
> --- Packy Anderson <[EMAIL PROTECTED]> wrote:
>
>> On Jun 18, 2008, at 11:51 AM, Parrot via RT wrote:
>> > Successful parrot build on ancient Debian/i386 system, most of the
>> > way through "make test" (it's taking _forever_, mostly because this
>> > is a PII 266 system)
>> >
>> > $ uname -a
>> > Linux daffy 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686
>> unknown
>>
>> ... and make test finished:
>>
>> All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 30 tests and
>>
>> 595 subtests skipped.
>> Files=585, Tests=11192, 2674 wallclock secs (2176.58 cusr + 203.55
>> csys = 2380.13 CPU)
>
> This looks like you're using an older version of Test::Harness.  If you
> upgrade, it will break things down further, including telling you which
> test in which test program unexpectedly succeeded.
>
thanks for pointing that out. we're in the process of requiring TH3,
so we can get smolder working with parrot. the default test summary
report is harder for us to use in development (since it contains
multiple lines per file, it's not easy to highlight the filenames in
the terminal and get them to open in an editor for examination), but
we'll work with it until we find or create something better.

the benefits of better todo/skip/failure reporting and working with
smolder outweigh the rest.
~jerry


Re: [perl #56030] AutoReply: Parrot buildfest YAPC::NA::2008 x86 Leopard, build revision 28515 - Configure msg on readline test

2008-06-19 Thread Andy Bach
svn upped to 28515 and now attempting perl6 (all tests passed all
spectest_regression tests passed on 28513) and:

dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /data/wre/prereqs/lib/libJPEG.dylib

Trace/BPT trap

and tests failed. Now on rev 28524 perl Configure fails:
... [same as before]
Determining if your platform supports GMP...no.
Determining if your platform supports readline...dyld: lazy symbol
binding failed: Symbol not found: _rl_get_keymap
  Referenced from: /usr/share/cvs/afbach/parrot/./test
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /usr/share/cvs/afbach/parrot/./test
  Expected in: dynamic lookup

...no.
Determining if your platform supports gdbm..no.
Determining if your platform supports pcreyes, 7.6.
Determining if your platform supports OpenGL...dyld: Symbol not found:
__cg_jpeg_resync_to_restart
  Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /data/wre/prereqs/lib/libJPEG.dylib

Use of uninitialized value in concatenation (.) or string at
config/auto/opengl.pm line 198.
Use of uninitialized value in concatenation (.) or string at
config/auto/opengl.pm line 198.
.yes,  .
Determining if your platform supports crypto...dyld: Symbol not found:
__cg_jpeg_resync_to_restart
  Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /data/wre/prereqs/lib/libJPEG.dylib

.no.
Seeing if your configuration includes gettext...no.
Testing snprintf...dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /data/wre/prereqs/lib/libJPEG.dylib


step auto::snprintf died during execution: Can't run the snprintf
testing program:  at config/auto/snprintf.pm line 43.

 at Configure.pl line 66

Determining whether perldoc is installed...yes.
Determining whether GNU m4 is installedyes.
Determining whether (exuberant) ctags is installed..no.
Determining Parrot's revision...r28524.
Determining whether ICU is installedno.
Generating C headers..done.
Generating core pmc list..done.
Generating Digest PMC filesskipped.
Generating runtime/parrot/include.done.
Generating OpenGL bindings...Use of uninitialized value in numeric ge
(>=) at config/gen/opengl.pm line 851.
Use of uninitialized value in numeric ge (>=) at config/gen/opengl.pm line 852.
Use of uninitialized value in numeric ge (>=) at config/gen/opengl.pm line 853.
Use of uninitialized value in string eq at config/gen/opengl.pm line 854.
Use of uninitialized value in string eq at config/gen/opengl.pm line 855.
Use of uninitialized value in string eq at config/gen/opengl.pm line 855.
Use of uninitialized value in string eq at config/gen/opengl.pm line 858.
Use of uninitialized value in string eq at config/gen/opengl.pm line 858.
Use of uninitialized value in string eq at config/gen/opengl.pm line 858.
.done.
Generating NCI signature list.done.
Configuring languages.done.
Generating makefiles and other build filesdone.
Moving platform files into place..done.
Recording configuration data for later retrieval..done.
During configuration the following steps failed:
54:  auto::snprintf
You should diagnose and fix these errors before calling 'make'

a


[perl #56006] Test failures on Solaris10-x86

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


Running 'make test' on Solaris 10 x86 box, the following tests fail (or 
unexpectedly succeed):

t/op/sprintf.ok
117/308 skipped: various reasons, 1/308 unexpectedly succeeded
TODO PASSED test 157


t/pmc/pmcok 2/19
#   Failed test 'PMC type check'
#   at t/pmc/pmc.t line 102.
t/pmc/pmcNOK 5/19# Exited with error code: 
139
# Received:
# All names and ids ok.
# Segmentation Fault
#
# Expected:
# /All names and ids ok/
#
t/pmc/pmcok 14/19# Looks like you failed 1 
test of 19.
t/pmc/pmcdubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/19 tests, 94.74% okay (less 1 skipped test: 17 okay, 89.47%)


t/pmc/ro.ok 6/17
#   Failed test 'ROTest (dry run) ($I0 = value.'writer'(42))'
#   at t/pmc/ro.t line 192.
t/pmc/ro.NOK 9/17# Exited with error code: 
134
# Received:
# src/inter_call.c:253: failed assertion 'sig_pmc->vtable->base_type == 
enum_class_FixedIntegerArray'
# Abort
#
# Expected:
# reached end
#
t/pmc/ro.ok 12/17
#   Failed test 'ROTest (dry run) ($I0 = value.'reader'())'
#   at t/pmc/ro.t line 192.
t/pmc/ro.NOK 13/17# Exited with error code: 
134
# Received:
# src/inter_call.c:253: failed assertion 'PObj_is_PMC_TEST(sig_pmc)'
# Abort
#
# Expected:
# reached end
#

#   Failed test 'ROTest (read-only/okay) ($I0 = value.'reader'())'
#   at t/pmc/ro.t line 195.
t/pmc/ro.NOK 14/17# Exited with error code: 
134
# Received:
# src/inter_call.c:253: failed assertion 'PObj_is_PMC_TEST(sig_pmc)'
# Abort
#
# Expected:
# reached end
#
# Looks like you failed 3 tests of 17.
t/pmc/ro.dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 9, 13-14
Failed 3/17 tests, 82.35% okay


t/dynpmc/rationalok 1/2
#   Failed test 'version-method'
#   at t/dynpmc/rational.t line 45.
t/dynpmc/rationalNOK 2/2# Exited with error code: 
134
# Received:
# src/inter_call.c:253: failed assertion 'sig_pmc->vtable->base_type == 
enum_class_FixedIntegerArray'
# Abort
#
# Expected:
# 0.0.0
#
# Looks like you failed 1 test of 2.
t/dynpmc/rationaldubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay


t/stm/basic..ok 6/9
#   Failed test 'GC isn't too eager'
#   at t/stm/basic.t line 246.
t/stm/basic..NOK 8/9# Exited with error code: 
139
# Received:
# Segmentation Fault
#
# Expected:
# ok
#

#   Failed test 'Push limits (write and read records)'
#   at t/stm/basic.t line 279.
t/stm/basic..NOK 9/9# Exited with error code: 
139
# Received:
# Segmentation Fault
#
# Expected:
# done
#
# Looks like you failed 2 tests of 9.
t/stm/basic..dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 8-9
Failed 2/9 tests, 77.78% okay


t/stm/basic_mt...
#   Failed test 'wait (simple)'
#   at t/stm/basic_mt.t line 31.
# Exited with error code: 134
# Received:
# src/stm/backend.c:516: failed assertion 'newsub->first_read == 0'
# Abort
#
# Expected:
# okay
#
t/stm/basic_mt...ok 2/4
#   Failed test 'wait + invalidate outer transcation'
#   at t/stm/basic_mt.t line 217.
t/stm/basic_mt...NOK 4/4# Exited with error code: 
134
# Received:
# src/stm/backend.c:516: failed assertion 'newsub->first_read == 0'
# Abort
#
# Expected:
# okay
#
# Looks like you failed 2 tests of 4.
t/stm/basic_mt...dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1, 4
Failed 2/4 tests, 50.00% okay (less 2 skipped tests: 0 okay, 0.00%)


t/stm/runtimeok 1/5
#   Failed test 'queue adapted for the library'
t/stm/runtimeNOK 4/5#   at t/stm/runtime.t line 
506.
# Exited with error code: 134
# Received:
# src/stm/backend.c:516: failed assertion 'newsub->first_read == 0'
# Abort
#
# Expected:
# ok
#
# Looks like you failed 1 test of 5.
t/stm/runtimedubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay (less 2 skipped tests: 2 okay, 40.00%)


Failed Test Stat Wstat Total Fail  List of Failed
-

Re: qx{} or backtick?

2008-06-19 Thread Gaal Yahas
On Thu, Jun 19, 2008 at 9:01 AM, Gaal Yahas <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 19, 2008 at 7:45 AM, Gabor Szabo <[EMAIL PROTECTED]> wrote:
>> What replaces backtick or qx{} ?
>
> q:x{}, alternatively spelled qqx{}. From S02:

qq:x, that is of course.

-- 
Gaal Yahas <[EMAIL PROTECTED]>
http://gaal.livejournal.com/


Re: qx{} or backtick?

2008-06-19 Thread Gaal Yahas
On Thu, Jun 19, 2008 at 7:45 AM, Gabor Szabo <[EMAIL PROTECTED]> wrote:
> What replaces backtick or qx{} ?

q:x{}, alternatively spelled qqx{}. From S02:

  Note that qx// doesn't interpolate. [...]

  If you want to abbreviate further, just define a macro:
  macro qx { 'qq:x ' }  # equivalent to P5's qx//

-- 
Gaal Yahas <[EMAIL PROTECTED]>
http://gaal.livejournal.com/


[perl #56076] [PATCH] MACOSX_DEPLOYMENT_TARGET not defined during OSX PPC Rakudo build

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


On my OSX PPC 10.4.11 platform I did a "make perl6" from languages/ 
perl6, and I got the following:

cd src/pmc && perl /usr/local/source/parrot/tools/build/dynpmc.pl  
linklibs perl6str mutable perl6scalar mutablevar
c++ -o perl6_group.bundle lib-perl6_group.o perl6str.o mutable.o  
perl6scalar.o mutablevar.o  -lm -framework OpenGL -framework GLUT - 
lcrypto  -L/usr/local/lib -L/usr/local/source/parrot/blib/lib -L/opt/ 
local/lib  -L/usr/local/source/parrot/blib/lib -bundle -undefined  
dynamic_lookup -L/usr/local/source/parrot/blib/lib -lparrot
/usr/bin/ld: flag: -undefined dynamic_lookup can't be used with  
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
collect2: ld returned 1 exit status
partial link of perl6_group failed (256)
make: *** [src/pmc/perl6_group.bundle] Error 2

*grumble*  At this point, I could just export it in my .bashrc, or  
put it everywhere it ought to be.

I'm submitting a patch, adding the "#CONDITIONED_LINE(darwin):export  
MACOSX_DEPLOYMENT_TARGET := @osx_version@" line (and an explanatory  
comment) in all the config/makefiles/root.in files for all the  
languages in languages/  AND updating tools/dev/mk_language_shell.pl  
so it will be in future language shells.  I'm not sure if all  
languages will use gcc and g++, but I figured it's just an  
environment variable and it's better to define it when it's not  
needed than to not have it defined when it is.

-packy

Index: tools/dev/mk_language_shell.pl
===
--- tools/dev/mk_language_shell.pl  (revision 28529)
+++ tools/dev/mk_language_shell.pl  (working copy)
@@ -155,6 +155,9 @@
 CAT   = $(PERL) -MExtUtils::Command -e cat
 BUILD_DYNPMC  = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl
 RECONFIGURE   = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl
+#CONDITIONED_LINE(darwin):
+#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X 
compilation/linking
+#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
 
 ## places to look for things
 PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext
Index: languages/m4/config/makefiles/root.in
===
--- languages/m4/config/makefiles/root.in   (revision 28529)
+++ languages/m4/config/makefiles/root.in   (working copy)
@@ -9,6 +9,9 @@
 TOUCH = $(PERL) -MExtUtils::Command -e touch
 BUILD_DIR = @build_dir@
 RECONFIGURE   = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+#CONDITIONED_LINE(darwin):
+#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X 
compilation/linking
+#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
 
 default: all
 all: build 
Index: languages/forth/config/makefiles/root.in
===
--- languages/forth/config/makefiles/root.in(revision 28529)
+++ languages/forth/config/makefiles/root.in(working copy)
@@ -4,6 +4,9 @@
 PERL   = @perl@
 RM_RF  = @rm_rf@
 RECONFIGURE   = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+#CONDITIONED_LINE(darwin):
+#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X 
compilation/linking
+#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
 
 BUILD_DIR = @build_dir@
 
Index: languages/unlambda/config/makefiles/root.in
===
--- languages/unlambda/config/makefiles/root.in (revision 28529)
+++ languages/unlambda/config/makefiles/root.in (working copy)
@@ -10,6 +10,9 @@
 PERL= @perl@
 RM_F= @rm_f@
 RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+#CONDITIONED_LINE(darwin):
+#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X 
compilation/linking
+#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
 
 # The default target
 default: build
Index: languages/jako/config/makefiles/root.in
===
--- languages/jako/config/makefiles/root.in (revision 28529)
+++ languages/jako/config/makefiles/root.in (working copy)
@@ -10,6 +10,9 @@
 INTERP= ../../@test_prog@
 BUILD_DIR = @build_dir@
 RECONFIGURE   = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+#CONDITIONED_LINE(darwin):
+#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X 
compilation/linking
+#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
 
 .SUFFIXES: .jako .pir
 
Index: languages/bf/config/makefiles/root.in
===
--- languages/bf/config/makefiles/root.in   (revision 28529)
+++

[perl #39930] [BUG] concat unicode+iso-8859-1 doesn't work w/o ICU

2008-06-19 Thread NotFound via RT
The attached patch changes string_rep_compatible so that when called
with utf8_encoding and iso_8859_1_encoding returns utf8. Looks that this
solves the problem and breaks nothing.

Index: src/string.c
===
--- src/string.c	(revisión: 28527)
+++ src/string.c	(copia de trabajo)
@@ -397,7 +397,8 @@
 
 /* a table could possibly simplify the logic */
 if (a->encoding == Parrot_utf8_encoding_ptr &&
-b->charset == Parrot_ascii_charset_ptr) {
+(b->charset == Parrot_ascii_charset_ptr ||
+ b->charset == Parrot_iso_8859_1_charset_ptr)) {
 if (a->strlen == a->bufused) {
 *e = Parrot_fixed_8_encoding_ptr;
 return Parrot_ascii_charset_ptr;
@@ -406,7 +407,8 @@
 return a->charset;
 }
 if (b->encoding == Parrot_utf8_encoding_ptr &&
-a->charset == Parrot_ascii_charset_ptr) {
+(a->charset == Parrot_ascii_charset_ptr ||
+ a->charset == Parrot_iso_8859_1_charset_ptr)) {
 if (b->strlen == b->bufused) {
 *e = Parrot_fixed_8_encoding_ptr;
 return a->charset;


[perl #50500] [PROPOSAL][PAST] add PAST::Var :scope('attribute')

2008-06-19 Thread Patrick R. Michaud via RT
This now exists, so closing ticket.

The handling of self is likely to become a separate :scope type for
PAST::Var, but I don't think that should block this ticket.

Pm


[perl #56068] [PATCH] modify t/spectest_regression.data

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


attached patch removes S29-str/comb.t from t/spectest_regression.data
(comb not yet implemented; all tests fudged), and adds S29-str/chop.t,
which Raphael Descamps kindly fixed and fudged.

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/
Index: t/spectest_regression.data
===
--- t/spectest_regression.data	(revision 28510)
+++ t/spectest_regression.data	(working copy)
@@ -62,7 +62,7 @@
 S29-num/sqrt.t
 S29-str/append.t# pure
 S29-str/capitalize.t
-S29-str/comb.t
+S29-str/chop.t
 S29-str/lcfirst.t
 S29-str/sprintf.t
 S29-str/ucfirst.t


Re: [perl #56020] [OK]: Report on Parrot Build Fest at YAPC

2008-06-19 Thread Ovid
--- Packy Anderson <[EMAIL PROTECTED]> wrote:

> On Jun 18, 2008, at 11:51 AM, Parrot via RT wrote:
> > Successful parrot build on ancient Debian/i386 system, most of the
> > way through "make test" (it's taking _forever_, mostly because this
> > is a PII 266 system)
> >
> > $ uname -a
> > Linux daffy 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686
> unknown
> 
> ... and make test finished:
> 
> All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 30 tests and
>  
> 595 subtests skipped.
> Files=585, Tests=11192, 2674 wallclock secs (2176.58 cusr + 203.55  
> csys = 2380.13 CPU)

This looks like you're using an older version of Test::Harness.  If you
upgrade, it will break things down further, including telling you which
test in which test program unexpectedly succeeded.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


[perl #56042] [OK] solaris 8 perl6/pugs_specs test at YAPC

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56042]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56042 >


(/home/.../PARROT/solaris8/languages/perl6)
$>make test
perl t/harness t/00-parrot t/01-sanity
t/00-parrot/01-literalsok
t/00-parrot/02-op-math.ok
t/00-parrot/03-op-logicok
t/00-parrot/04-op-cmp..ok
t/00-parrot/05-var-array...ok
t/00-parrot/05-var.ok
t/00-parrot/06-op-inplace..ok
t/00-parrot/07-op-string...ok
t/00-parrot/08-regex...ok
t/01-sanity/01-tap.ok
2/10 skipped: various reasons
t/01-sanity/02-counter.ok
t/01-sanity/03-equal...ok
t/01-sanity/04-if..ok
t/01-sanity/05-sub.ok
t/01-sanity/06-use.ok
t/01-sanity/07-binding.ok
t/01-sanity/07-defined.ok
t/01-sanity/07-end-blocks..ok
t/01-sanity/07-for.ok
t/01-sanity/07-isa.ok
t/01-sanity/07-range...ok
t/01-sanity/07-ref.ok
t/01-sanity/07-simple-multisubsok
t/01-sanity/07-split...ok
t/01-sanity/07-substr..ok
t/01-sanity/07-try.ok
t/01-sanity/08-say.ok
All tests successful, 2 subtests skipped.
Files=27, Tests=226, 56 wallclock secs (53.01 cusr +  1.80 csys = 54.81 
CPU)
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
/home/j911649/PARROT/solaris10 codetest
perl t/harness --gc-debug --running-make-test --code-tests
t/distro/file_metadata.Can't exec "svk": No such file or directory 
at t/distro/file_metadata.t line 220.
skipped
all skipped: not a working copy
t/codingstd/c_code_codaok
t/codingstd/c_cppcomments..ok
t/codingstd/c_header_guardsok
t/codingstd/c_indent...ok
t/codingstd/c_operator.ok
t/codingstd/c_parens...ok
t/codingstd/c_returns..ok
t/codingstd/c_struct...ok
t/codingstd/check_isxxxok
t/codingstd/check_toxxxok
t/codingstd/copyright..ok
1/2 skipped: various reasons
t/codingstd/cuddled_else...ok
t/codingstd/filenames..ok
t/codingstd/gmt_utcok
t/codingstd/linelength.ok
t/codingstd/pccmethod_deps.ok
t/codingstd/perlcritic.skipped
all skipped: Perl::Critic not installed
t/codingstd/pir_code_coda..ok
t/codingstd/svn_id.ok
t/codingstd/tabs...ok
t/codingstd/trailing_space.ok
All tests successful, 2 tests and 1 subtest skipped.
Files=22, Tests=32, 91 wallclock secs (61.37 cusr +  8.22 csys = 69.59 
CPU)

-

$>make spectest_regression
perl t/harness \
--configfudge \
--tests-from-file=t/spectest_regression.data \
--keep-exit-code \
t/spec/ \

perl t/spec/fudgeall --keep-exit-code rakudo 
t/spec/S02-builtin_data_types/type.t t/spec/S02-literals/autoref.t 
t/spec/S02-literals/radix.t t/spec/S02-polymorphic_types/subset-range.t 
t/spec/S03-operators/comparison.t t/spec/S03-operators/cross-metaop.t 
t/spec/S04-statements/try.t t/spec/S04-statements/while.t 
t/spec/S12-role/attributes.t t/spec/S16-io/say.t t/spec/S29-array/pop.t 
t/spec/S29-array/push.t t/spec/S29-array/shift.t 
t/spec/S29-array/unshift.t t/spec/S29-list/first.t t/spec/S29-list/grep.t 
t/spec/S29-list/join.t t/spec/S29-list/map.t 
t/spec/S29-list/map_empty_list.t t/spec/S29-list/map_flattening.t 
t/spec/S29-list/map_function_return_values.t t/spec/S29-list/minmax.t 
t/spec/S29-list/reduce.t t/spec/S29-list/sort.t t/spec/S29-num/abs.t 
t/spec/S29-num/complex.t t/spec/S29-num/exp.t t/spec/S29-num/int.t 
t/spec/S29-num/log.t t/spec/S29-num/pi.t t/spec/S29-num/rand.t 
t/spec/S29-num/roots.t t/spec/S29-num/sign.t t/spec/S29-num/sqrt.t 
t/spec/S29-str/capitalize.t t/spec/S29-str/comb.t t/spec/S29-str/lcfirst.t 
t/spec/S29-str/sprintf.t t/spec/S29-str/ucfirst.t
t/spec/S02-builtin_data_types/type.ok
8/12 skipped: various reasons
t/spec/S02-literals/autorefok
24/57 skipped: various reasons
t/spec/S02-literals/hex_chars..ok
t/spec/S02-literals/radix..ok
8/93 skipped: various reasons
t/spec/S02-polymorphic_types/subset-code...ok
t/spec/S02-polymorphic_types/subset-range..ok
t/spec/S03-operators/autoincrement.ok
t/spec/S03-operators/comparisonok
t/spec/S03-operators/cross-metaop..ok
8/11 skipped: various reasons
t/spec/S03-operators/equality..ok
t/spec/S03-operators/not...ok
t/spec/S03-operators/relationalok
t/spec/S03-operators/true..ok
t/spec/S04-statements/try..ok
14/25 skipped: various reasons
t/spec/S04-statements/untilok
t/spec/S04-statements/whileok
4/10 skipped: various reasons
t/sp

[PATCH] add git-svn instructions to gettingstarted.pod

2008-06-19 Thread Hans Dieter Pearcey
The obvious way to use git-svn with the parrot repo will result in the entire
history being checked out, which is undesirable.  The attached patch points
people towards only checking out HEAD.

hdp.
diff --git a/docs/gettingstarted.pod b/docs/gettingstarted.pod
index e6e18f8..731e434 100644
--- a/docs/gettingstarted.pod
+++ b/docs/gettingstarted.pod
@@ -41,10 +41,20 @@ the Parrot distribution. The procedure for this is:
 
 =item *
 
-Or, if you're one of those rsync folks, you can access the repository with:
+If you're one of those rsync folks, you can access the repository with:
 
 C
 
+=item *
+
+If you're using git-svn, you can check out just the latest version:
+
+Chttps://svn.perl.org/parrot>
+
+Note the current revision.
+
+C<< git svn clone -s -r  https://svn.perl.org/parrot >>
+
 =back
 
 The above instructions are also on the Parrot website:


[perl #56056] [OK] Report on Parrot Build Fest at YAPC

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


Build trunk on OSX PPC 10.4.11.  Built OK, one test failed:

#   Failed test 'no trailing whitespace'
#   in t/codingstd/trailing_space.t at line 50.
# Trailing space or tab char found in the following files:
# /usr/local/source/parrot/config/init/hints/darwin.pm 13
# That's 1 failed files out of 1550 files total.
# Looks like you failed 1 test of 1.
t/codingstd/trailing_space...dubious
 Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
 Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  List of Failed
 
---
t/codingstd/trailing_space.t1   256 11  1
  (1 subtest UNEXPECTEDLY SUCCEEDED), 16 tests and 602 subtests skipped.
Failed 1/585 test scripts. 1/11356 subtests failed.
Files=585, Tests=11356, 4981 wallclock secs (935.83 cusr + 359.63  
csys = 1295.46 CPU)
Failed 1/585 test programs. 1/11356 subtests failed.
make: *** [test] Error 1

Fixing the hints file so it passes is trivial.  Attaching diff.

Index: config/init/hints/darwin.pm
===
--- config/init/hints/darwin.pm (revision 28514)
+++ config/init/hints/darwin.pm (working copy)
@@ -10,7 +10,7 @@
 my ( $self, $conf ) = @_;
 
 my $verbose = $conf->options->get('verbose');
-
+
 # @flags is the list of options that have -arch flags added to them
 # implicitly through config/init/defaults.pm when using Apple's Perl
 # 5.8 build to run Configure.pl (it's a multi-architecture build).


[perl #46669] [TODO] [C] Throw an AttributeError if a PMC is NULL in get_attr_str()

2008-06-19 Thread NotFound via RT
Given the previous comments, and having now some working code that
depends of *not* throwing, I will close this ticket in a few days if no
one objects.



[perl #56050] Fix for missing svn command on spectest_regression...

2008-06-19 Thread Deven T. Corzine
# New Ticket Created by  "Deven T. Corzine" 
# Please include the string:  [perl #56050]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56050 >


Index: root.in
===
--- root.in (revision 28471)
+++ root.in (working copy)
@@ -163,11 +163,11 @@
 # NOTE: eventually, we should remove --keep-exit-code and --fudge
 #   as the goal is that all tests must pass without fudge
 spectest: all t/spec
-   cd t/spec && svn up
+   -cd t/spec && svn up
$(PERL) t/harness --fudge --keep-exit-code t/spec
 
 spectest_regression: all t/spec t/spectest_regression.data
-   cd t/spec && svn up
+   -cd t/spec && svn up
$(PERL) t/harness \
 --configfudge \
 --tests-from-file=t/spectest_regression.data \


[perl #56046] [OK]: Report on Parrot/Rakudo BuildFest at YAPC

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


Working on remote server:
Config:
 Mandrakelinux release 10.1 (Community) for i586
 gcc (GCC) 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
 Running from snapshot parrot_2007-06-28_071501.tar.gz
perl Configure:
 ran clean
make:
 ran without errors
   These warnings were captured on STDERR:
 compilers/imcc/imclexer.c: In function `yylex':
 compilers/imcc/imclexer.c:4353: warning: switch missing default  
case
 compilers/imcc/imclexer.c: In function `yy_get_next_buffer':
 compilers/imcc/imclexer.c:4462: warning: comparison between  
signed and unsigned
 compilers/imcc/imclexer.c: In function `input':
 compilers/imcc/imclexer.c:4665: warning: switch missing default  
case
make test:
 All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 29  
tests and 591 subtests skipped.
 Files=585, Tests=11270, 871 wallclock secs (656.88 cusr + 142.81  
csys = 799.69 CPU)
   The unexpected succeed was in t/op/sprintf.t:
 ok 157 # TODO [%.0g] C99 standard mandates minus sign but C89  
does not skip: MSWin32 VMS hpux:10.20 openbsd netbsd:1.5 irix
   These warnings were captured on STDERR:
 # GMP version 4.1.3 is buggy with huge digit multiply - please  
upgrade
 Couldn't load 'libpq': libpq.so: cannot open shared object file:  
No such file or directory
 current instr.: 'main' pc 16 (t/library/pg.t:37)
 Couldn't load 'pq': pq.so: cannot open shared object file: No  
such file or directory
 current instr.: 'main' pc 22 (t/library/pg.t:39)
 # finding files with POD, this may take a minute.
 # this may take a while...
 svn: '.' is not a working copy
 Can't exec "svk": No such file or directory at t/distro/ 
file_metadata.t line 220.
make perl6
 ran without errors or warnings
cd languages/perl6; make spectest_regression:
 All tests successful, 434 subtests skipped.
 Files=64, Tests=1230, 1072 wallclock secs (1034.68 cusr + 16.02  
csys = 1050.70 CPU)

-- 
Hope this helps,
Bruce Gray
Util on PerlMonks



Re: [perl #56020] [OK]: Report on Parrot Build Fest at YAPC

2008-06-19 Thread Packy Anderson

On Jun 18, 2008, at 11:51 AM, Parrot via RT wrote:

Successful parrot build on ancient Debian/i386 system, most of the
way through "make test" (it's taking _forever_, mostly because this
is a PII 266 system)

$ uname -a
Linux daffy 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown


... and make test finished:

All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 30 tests and  
595 subtests skipped.
Files=585, Tests=11192, 2674 wallclock secs (2176.58 cusr + 203.55  
csys = 2380.13 CPU)


[perl #56032] YAPC::NA 2008 Chicago Buildfest Results

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


I was building on OSX PPC Lepord 10.5.3 using
owerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

My initial build failed the readline configure step and threw the
following excpetion

perl tools/build/c2str.pl --all
src/string.c
src/ops/core_ops.c
{standard input}:108674:no such instruction: `trap'
lipo: can't open input file:
/var/folders/wO/wOEMClMPEbWg4RNQla9SXE+++TI/-Tmp-//ccotvsSx.out (No
such file or directory)
make: *** [src/ops/core_ops.o] Error 1

Bruce Gray found ticket 52214 with a patch that we applied that fixed
the problem and allowed to make parrot without any further issues.

I then ran make test with all tests passing.

I then ran make perl6 and perl6 build successfully

I then cd languages/perl6 and ran make spectest_regression and all tests passed.

Great work guys.  Things seem to be really clicking ;)

-- 
Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.multiply.com


[perl #56028] [OK]: Report on Parrot/Rakudo Build Fest at YAPC

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


Config:
Ubuntu 8.04 - The Hardy Heron x84 - 64 bit
kernel 2.6.24-19-generic
Compaq v6000 series
Core 2 Duo 1.83 mhz
2 Gigs of ram

perl Configure:
ran clean

make test:
ran clean

make perl6:
ran clean

make perl6 spec regression tests:
ran clean


   

[perl #56026] [OK] Report on Parrot/Rakudo Build Fest at YAPC.

2008-06-19 Thread Shane Werner
# New Ticket Created by  "Shane Werner" 
# Please include the string:  [perl #56026]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56026 >


Greetings,

I was able to get parrot/perl6 compiled and to the 'hello world' point.  I
was supplied a patch that fixed an issue with readline on OS X. (
http://rt.perl.org/rt3//Public/Bug/Display.html?id=52214)

I also had success with LOLCODE.

Here is my uname -a:

Darwin host237.wfci.iit.edu 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23
00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386

Thanks,

Shane


[perl #56018] Tcl Language test failures with OS X

2008-06-19 Thread Shane Werner
# New Ticket Created by  "Shane Werner" 
# Please include the string:  [perl #56018]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56018 >


Greetings,

tcl_misc.t is failing in languages/tcl.

#   Failed test 'reading environment variables'
#   in t/tcl_misc.t at line 209.
not ok 27 - reading environment variables
#  got: 'env(PATH)=
/usr/bin:/bin:/usr/sbin:/sbin
# env(__CF_USER_TEXT_ENCODING) = 0x1F5:0:0
# env(cow) = moo
# env(cowpig)  = moink
# env(pig) = oink
# '
# expected: 'env(PATH)   = /usr/bin:/bin:/usr/sbin:/sbin
# env(cow)= moo
# env(cowpig) = moink
# env(pig)= oink
# '

First assumed issue was with undef of %ENV hash.  But threw a Dump(\%ENV)
into the tcl_misc.t and came back with:

$VAR1 = {
  'cow' => 'moo',
  'cowpig' => 'moink',
  'pig' => 'oink',
  'PATH' => '/usr/bin:/bin:/usr/sbin:/sbin'
};

Which does not include __CF_USER_TEXT_ENCODING.. so somehow something is
stuffing this environment variable back into the mix.

I have also tried an unset of this variable within the shell and verified it
no longer appears in export and I still get the same exact error.  So I'm
not sure if the compiler or OS X is throwing this variable back into the
mix.

uname -a:

Darwin host237.wfci.iit.edu 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23
00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386

Thanks,

Shane


[perl #56014] bug in spectest_regression

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



A test in spectest_regression failed, It was in S02-polymorphic_types:

I'm running on Win32 (XP SP2), parrot/perl6 was built with Visual Studio 9 
Express and Activestate 5.8

Output is below:

t\spec\S02-polymorphic_types\subset-code...ok
t\spec\S02-polymorphic_types\subset-range..ok 5/6set_pmc_keyed_str() not 
impleme
nted in class 'Key'
current instr.: 'eval_dies_ok' pc 1623 (EVAL_18:648)
called from Sub '_block11' pc 151 (EVAL_12:43)
called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 
(src\PCT\HLLCompiler.pir:4
81)
called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 
(src\PCT\HLLCompiler
.pir:610)
called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1267 
(src\PCT\HLLCompi
ler.pir:699)
called from Sub 'parrot;Perl6::Compiler;main' pc 11945 (perl6.pir:173)
t\spec\S02-polymorphic_types\subset-range..dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6


Charlie




[perl #52214] [BUG] [PATCH]: Lipo poses problems when building Parrot on Darwin with Apple-built Perl 5.8

2008-06-19 Thread Bruce Gray via RT
Another vote of confidence for arch-config-patch_v2.txt.

During the YAPC Parrot Workshop, Jeff Bisbee encountered the problem.
core_ops.c fails to compile, giving a "no such instruction: 'trap'" error.

Applying the patch resolved the problem.

Config: Darwin PPC 1.5.3 with new XCode that updated gcc to 4.0.1



[perl #56008] BUG: t/postconfigure/06-data_slurp_temp.t

2008-06-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #56008]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=56008 >


Located at the Parrot workshop at YAPC



host66:/usr/local/parrot admin$ prove -v t/postconfigure/06-data_slurp_temp.t 
t/postconfigure/06-data_slurp_temp1..32

not ok 31 - Parrot::Configure::run_single_step() succeeded

#   Failed test 'Parrot::Configure::run_single_step() succeeded'
#   at t/postconfigure/06-data_slurp_temp.t line 101.
ok 32 - Completed all tests in t/postconfigure/06-data_slurp_temp.t
# Looks like you failed 1 test of 32.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 31
Failed 1/32 tests, 96.88% okay
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
---
t/postconfigure/06-data_slurp_tem1   256321   3.12%  31
Failed 1/1 test scripts, 0.00% okay. 1/32 subtests failed, 96.88% okay.


Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-19 Thread Moritz Lenz
Ovid wrote:
> --- Moritz Lenz <[EMAIL PROTECTED]> wrote:
> 
>> Attached is an updated version, as well as an example chart it
>> creates.
>> This is not as pretty as the previous version, but it's more
>> informative.
>> If there are significant number of failed tests, I could also include
>> their number.
>> 
>> Any comments?
> 
> Looks great. 

Thanks ;-)

> However, from a testing perspective, I'm wondering why
> there is such a huge number of skipped tasks.  Shouldn't those be TODO
> tasks?  

Mostly because the skipped tests are parse failures or throw runtime
errors, because crucial parts are not yet implemented in the compiler.

> Skips are really easy to ignore and it's virtually impossible
> to know if they'll ever pass but TODO tests unexpectedly succeeding
> tend to stand out.

That's really a problem, and atm the only thing you can do is run the
test suite without fudging at all. But that only works well when no
tests in a file bail out.

Other solutions I can think of are:
 * make fudge wrap skipped tests in eval-blocks and mark them as TODO.
Don't know if that's doable without breaking too much
 * move offending tests to separate files (much work, and don't know if
that's a good solution in the long term)
 * Implement all missing features. .oO( ... )

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/


Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-19 Thread Ovid
--- Moritz Lenz <[EMAIL PROTECTED]> wrote:

> Attached is an updated version, as well as an example chart it
> creates.
> This is not as pretty as the previous version, but it's more
> informative.
> If there are significant number of failed tests, I could also include
> their number.
> 
> Any comments?

Looks great.  However, from a testing perspective, I'm wondering why
there is such a huge number of skipped tasks.  Shouldn't those be TODO
tasks?  Skips are really easy to ignore and it's virtually impossible
to know if they'll ever pass but TODO tests unexpectedly succeeding
tend to stand out.

That being said, skips should be in place if, say, you have a Win32
test on Linux, but skips should be rare.  Here almost half the tests
are skips and I don't know why.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/


Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-19 Thread Moritz Lenz
Attached is an updated version, as well as an example chart it creates.
This is not as pretty as the previous version, but it's more informative.
If there are significant number of failed tests, I could also include
their number.

Any comments?

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/


progress-graph.pl
Description: Perl program
<>