Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 25507
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Maybe you're calling a wrong perl somewhere?
CPAN.pm: Going to build M/MB/MBARBON/Alien-wxWidgets-0.29.tar.gz CPAN: Expect loaded ok (v1.20) Creating custom builder _build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Do you want to build wxWidgets? [yes] y Which archive type? [tar.gz] tar.gz Do you want to include OpenGL support [no] n Creating new 'Build' script for 'Alien-wxWidgets' version '0.29' Unknown prototype letters: "_;$" at /home/src/perl/repoperls/installed-perls/perl/pnBkMOt/perl-5.8.0@30605/lib/5.9.5/Fatal.pm line 44. BEGIN failed--compilation aborted at inc/My/Build/Any_wx_config.pm line 82. This kind of failure message looks a bit familiar to me. I happens when an older perl uses a newer library. I may be completely wrong though. In any case, this is with bleadperl @30605 and that perl is not the one in the path. Let me know if I can provide more info.
Subject: Re: [rt.cpan.org #25507] Maybe you're calling a wrong perl somewhere?
Date: Sat, 17 Mar 2007 20:12:28 +0100
To: bug-Alien-wxWidgets [...] rt.cpan.org
From: Mattia Barbon <mattia.barbon [...] libero.it>
On Sat, 17 Mar 2007 03:37:16 -0400 "Andreas Koenig via RT" <bug-Alien-wxWidgets@rt.cpan.org> wrote: Show quoted text
> Creating new 'Build' script for 'Alien-wxWidgets' version '0.29' > Unknown prototype letters: "_;$" at > /home/src/perl/repoperls/installed-perls/perl/pnBkMOt/perl-5.8.0@30605/lib/5.9.5/Fatal.pm > line 44. > BEGIN failed--compilation aborted at inc/My/Build/Any_wx_config.pm line 82.
From this output is not clear if the error happens while running "Build.PL" or the generated "Build" (I suspect the latter). In the latter case, can you check that Build contains the right shbang line or is invoked using the correct 'perl' executable? Thanks! Mattia
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #25507] Maybe you're calling a wrong perl somewhere?
Date: Sun, 18 Mar 2007 00:02:36 +0100
To: bug-Alien-wxWidgets [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Sat, 17 Mar 2007 15:57:33 -0400, "Mattia Barbon via RT" <bug-Alien-wxWidgets@rt.cpan.org> said:
Show quoted text
Show quoted text
> On Sat, 17 Mar 2007 03:37:16 -0400 > "Andreas Koenig via RT" <bug-Alien-wxWidgets@rt.cpan.org> wrote:
Show quoted text
>> Creating new 'Build' script for 'Alien-wxWidgets' version '0.29' >> Unknown prototype letters: "_;$" at >> /home/src/perl/repoperls/installed-perls/perl/pnBkMOt/perl-5.8.0@30605/lib/5.9.5/Fatal.pm >> line 44. >> BEGIN failed--compilation aborted at inc/My/Build/Any_wx_config.pm line 82.
Show quoted text
> From this output is not clear if the error happens while running "Build.PL" > or the generated "Build" (I suspect the latter).
You're right. Generating the Build works fine. Meanwhile I'm at 30610 and I see: % head Build #! /home/src/perl/repoperls/installed-perls/perl/pV9JsIn/perl-5.8.0@30610/bin/perl Even if I use explicitly the correct perl when calling Build I see the error: % /home/src/perl/repoperls/installed-perls/*/p*/perl-5*@30610/bin/perl Build Unknown prototype letters: "_;$" at /home/src/perl/repoperls/installed-perls/perl/pV9JsIn/perl-5.8.0@30610/lib/5.9.5/Fatal.pm line 44. BEGIN failed--compilation aborted at inc/My/Build/Any_wx_config.pm line 82. Compilation failed in require at inc/My/Build.pm line 32. BEGIN failed--compilation aborted at inc/My/Build.pm line 36. Compilation failed in require at /home/k/.cpan/build/Alien-wxWidgets-0.29-FfqZzz/_build/lib/My/Build/new_from_context_is_broken.pm line 6. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. And if I try it with the Debugger I still see no hint about the root of the cause: % /home/src/perl/repoperls/installed-perls/*/p*/perl-5*@30610/bin/perl -d Build Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. Unknown prototype letters: "_;$" at /home/src/perl/repoperls/installed-perls/perl/pV9JsIn/perl-5.8.0@30610/lib/5.9.5/Fatal.pm line 44. BEGIN failed--compilation aborted at inc/My/Build/Any_wx_config.pm line 82. Compilation failed in require at inc/My/Build.pm line 32. BEGIN failed--compilation aborted at inc/My/Build.pm line 36. Compilation failed in require at /home/k/.cpan/build/Alien-wxWidgets-0.29-FfqZzz/_build/lib/My/Build/new_from_context_is_broken.pm line 6. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. This does not really look like a wrong perl could be involved. At the moment I tend to believe that it's a Fatal.pm bug. If I comment out the 'use Fatal' in ./inc/My/Build/Any_wx_config.pm I can run the Build script: % /home/src/perl/repoperls/installed-perls/*/p*/perl-5*@30610/bin/perl Build Copying lib/Alien/wxWidgets/Utility.pm -> blib/lib/Alien/wxWidgets/Utility.pm Copying lib/Alien/wxWidgets.pm -> blib/lib/Alien/wxWidgets.pm Manifying blib/lib/Alien/wxWidgets/Utility.pm -> blib/libdoc/Alien::wxWidgets::Utility.3 Manifying blib/lib/Alien/wxWidgets.pm -> blib/libdoc/Alien::wxWidgets.3 Fetching wxWidgets... fetching from: ftp://biolpc22.york.ac.uk/pub/2.8.1/wxWidgets-2.8.1.tar.gz But then it hangs seemingly forever. I'll go to bed now and see if I can find more evidence tomorrow. Any further ideas what I should try? -- andreas