Re: bleadperl and bootstrapping based on Module::Build

2009-11-21 Thread David Golden
I found the problem and it should now be fixed in blead.
Unfortunately, too late for 5.11.2, but with a monthly release cycle,
we'll soon be back on track.

When dual-core modules moved to the cpan/ directory in the Perl source
tree, the idea was in part that updating them would be a matter of
just unpacking the latest tarball into that directory and deleting
stuff that didn't need to be in core.

Unfortunately, that doesn't work for Module::Build because
Module::Build::ConfigData is dynamically generated, which I forgot
when updating blead.  Compounding that, the *old* ConfigData file was
never moved from the lib/ directory when the powers-that-be moved M::B
to the cpan/ directory, so it was still hanging around, with the old
*optional features" definitions.  Had it it been moved and then I blew
it away, git would have warned me it was missing.  So two or three
small human error all compounded to create this glitch.

Nevertheless, as the person doing the blead update, I take
responsibility for the end result.  I'm going to automate the "update
blead" process so this sort of person-at-keyboard error doesn't happen
again.

Andreas -- thank you for reporting the problem.

To everyone - my apologies for screwing this up.

David


Re: bleadperl and bootstrapping based on Module::Build

2009-11-20 Thread Andreas J. Koenig
> On Fri, 20 Nov 2009 18:14:29 -0500, David Golden  said:

  > On Fri, Nov 20, 2009 at 3:59 PM, Andreas J. Koenig
  >  wrote:
 >> Something is seriously broken in the combination of
 >> bleadperl/Module::Build, I wonder why nobody has reported this problem
 >> besides me (or have they). Please try out what I did:

  > No problems for me.

Ahh, I just managed to reproduce your variant. Now I have found out the
recipe you need to reproduce. You need a fresh perl without YAML::Tiny
installed. You must then install YAML.pm. And then you try to call perl
Build.PL. Please try it with Text-Glob-0.08 so we do not talk about
different environments.

% /home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/bin/perl 
-MYAML::Tiny\ 999 -e 0
Can't locate YAML/Tiny.pm in @INC (@INC contains: 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/site_perl/5.11.2/x86_64-linux-thread-multi
 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/site_perl/5.11.2
 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/5.11.2/x86_64-linux-thread-multi
 /home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/5.11.2 
.).
BEGIN failed--compilation aborted.

% /home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/bin/perl 
-MYAML\ 999 -e 0 
YAML version 999 required--this is only version 0.70.
BEGIN failed--compilation aborted.

% /home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/bin/perl 
Build.PL
Creating new 'MYMETA.yml' with configuration results
Can't locate YAML/Tiny.pm in @INC (@INC contains: 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/site_perl/5.11.2/x86_64-linux-thread-multi
 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/site_perl/5.11.2
 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/5.11.2/x86_64-linux-thread-multi
 /home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/5.11.2 
.) at 
/home/src/perl/repoperls/installed-perls/perl/v5.11.2-22-g52bbce6/lib/5.11.2/Module/Build/Base.pm
 line 4145.




-- 
andreas


Re: bleadperl and bootstrapping based on Module::Build

2009-11-20 Thread David Golden
On Fri, Nov 20, 2009 at 3:59 PM, Andreas J. Koenig
 wrote:
> Something is seriously broken in the combination of
> bleadperl/Module::Build, I wonder why nobody has reported this problem
> besides me (or have they). Please try out what I did:

No problems for me.  You should only get that error if the check for
the YAML_support feature gives a false positive -- that implies
something really wrong in the Perl installation perhaps.

$ /opt/perl/fromgit/bin/perl5.11.2 -v

This is perl 5, version 11, subversion 2 (v5.11.2-20-g074f7b7*) built
for x86_64-linux
[snip]

$ /opt/perl/fromgit/bin/perl5.11.2 Build.PL
Checking prerequisites...
  requires:
!  Config::Tiny is not installed
!  Devel::Autoflush is not installed
!  File::Copy::Recursive is not installed
!  File::HomeDir is not installed
!  File::pushd is not installed
!  IO::CaptureOutput is not installed
!  Probe::Perl is not installed
!  Tee is not installed
!  Test::Reporter is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'CPAN-Reporter' version '1.1708'