# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #52712]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52712 >


Today I tried to test if an imcc patch worked and ran into the following 
weird build problem:

    $ perl5.8 Configure.pl

    Can't use an undefined value as a HASH reference at 
lib/Parrot/Configure/Options/Test.pm line 39.
    Compilation failed in require at Configure.pl line 13.
    BEGIN failed--compilation aborted at Configure.pl line 13.

It's a strange problem.  I suspect it's a strange interaction between a 
broken MANIFEST file and an insufficiently defensive 
Parrot/Configure/Options/Test.pm, though what, precisely, that Test.pm 
file is trying to do at 'use' time that causes Configure.pl to completely 
fail, is beyond me.

Here's an easy recipe to reproduce it on any Unix-based system.

First, get in a working directory containing an svn checkout of parrot.  
Then run the following:

    #!/bin/sh
    rm -rf ../parrot-copy
    mkdir ../parrot-copy
    awk '!/^#/ {print $1}' MANIFEST | cpio -pdm ../parrot-copy
    cd ../parrot-copy
    perl Configure.pl

(This is, in fact, how I make copies of the parrot source to spread around 
to different systems for testing.)

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to