Re: [perl #58076] Configure tests fail with Can't store CODE items

2008-08-28 Thread Andy Dougherty
On Tue, 26 Aug 2008, James Keenan via RT wrote:

 Patched two subs in Parrot::Configure and adjusted test files in r30583.
  Tested with triggers in hints files on Linux and Darwin.

Thanks.  That closes this ticket and just leaves us with the old familiar:

t/steps/auto_warnings-01.Compilation failed with 'cc'
# Looks like you planned 56 tests but only ran 15.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 16-56
Failed 41/56 tests, 26.79% okay

where I've told Configure.pl to use gcc, but the test still falls back on 
using the incorrect value of 'cc' that perl5 was built with.

-- 
Andy Dougherty  [EMAIL PROTECTED]


[perl #58076] Configure tests fail with Can't store CODE items

2008-08-28 Thread James Keenan via RT
Marking ticket resolved.


[perl #58076] Configure tests fail with Can't store CODE items

2008-08-26 Thread James Keenan via RT
Patched two subs in Parrot::Configure and adjusted test files in r30583.
 Tested with triggers in hints files on Linux and Darwin.

Thank you very much.
kid51



[perl #58076] Configure tests fail with Can't store CODE items

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


A number of Configure tests are faililng for me on Solaris 8/SPARC.
Specifically, I see:

Failed TestStat Wstat Total Fail  List of Failed
---
t/steps/auto_snprintf-01.t  255 6528038   34  22-38
t/steps/auto_warnings-01.t  255 6528056   80  17-56
t/steps/inter_progs-01.t255 6528044   56  17-44

All of these fail in the same way.  Here's an example:

prove -v t/steps/auto_snprintf-01.t
t/steps/auto_snprintf-011..38
ok 1 - use config::init::defaults;
ok 2 - use config::init::hints;
ok 3 - use config::auto::attributes;
ok 4 - use config::auto::aio;
ok 5 - use config::auto::snprintf;
ok 6 - init::defaults constructor returned defined value
ok 7 - The object isa init::defaults
ok 8 - init::defaults has description
ok 9 - init::defaults runstep() returned defined value
ok 10 - init::hints constructor returned defined value
ok 11 - The object isa init::hints
ok 12 - init::hints has description
ok 13 - init::hints runstep() returned defined value
ok 14 - auto::attributes constructor returned defined value
ok 15 - The object isa auto::attributes
ok 16 - auto::attributes has description
ok 17 - auto::attributes runstep() returned defined value
ok 18 - auto::aio constructor returned defined value
ok 19 - The object isa auto::aio
ok 20 - auto::aio has description
ok 21 - auto::aio runstep() returned defined value
Can't store CODE items at ../../lib/Storable.pm (autosplit into 
../../lib/auto/Storable/_freeze.al) line 339, at lib/Parrot/Configure.pm line 
509
# Looks like you planned 38 tests but only ran 21.
# Looks like your test died just after 21.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 22-38
Failed 17/38 tests, 55.26% okay
Failed TestStat Wstat Total Fail  List of Failed
---
t/steps/auto_snprintf-01.t  255 6528038   34  22-38
Failed 1/1 test scripts. 17/38 subtests failed.
Files=1, Tests=38,  9 wallclock secs ( 2.95 cusr +  2.62 csys =  5.57 CPU)
Failed 1/1 test programs. 17/38 subtests failed.

The problem is that the solaris hints file uses 'triggers' and the 
configure tests can't handle them.  This can be reproduced on any 
operating system by introducing a simple 'trigger' in the appropriate 
hints file (see config/init/hints/solaris.pm for examples).

-- 
Andy Dougherty  [EMAIL PROTECTED]