develooper Front page | perl.perl5.porters | Postings from September 2008

Re: maintperl-5.8.x's IPC::SysV fails tests on Mandriva

Thread Previous | Thread Next
From:
Shlomi Fish
Date:
September 3, 2008 05:48
Subject:
Re: maintperl-5.8.x's IPC::SysV fails tests on Mandriva
Message ID:
200809031547.59385.shlomif@iglu.org.il
On Wednesday 03 September 2008, Shlomi Fish wrote:
> On Wednesday 03 September 2008, Shlomi Fish wrote:
> > In any case, after I've unset PERL5LIB, I'm still getting this problem
> > when building maintperl-5.8.x:
> >
> > {{{{{{{{{{{{{{
> > shlomi:~/Download/unpack/perl/perl5/maint-perl/perl-5.8.x-1220438809$
> > echo "$PERL5LIB"
> >
> > shlomi:~/Download/unpack/perl/perl5/maint-perl/perl-5.8.x-1220438809$
> > head -20 lib/IPC/SysV.pm
> > # IPC::SysV.pm
> > #
> > # Copyright (c) 1997 Graham Barr <gbarr@pobox.com>. All rights reserved.
> > # This program is free software; you can redistribute it and/or
> > # modify it under the same terms as Perl itself.
> >
> > package IPC::SysV;
> >
> > use strict;
> > use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION $XS_VERSION);
> > use Carp;
> > use Config;
> >
> > require Exporter;
> > @ISA = qw(Exporter);
> >
> > $VERSION = "1.05";
> > $XS_VERSION = $VERSION;
> > $VERSION = eval $VERSION;
> >
> > shlomi:~/Download/unpack/perl/perl5/maint-perl/perl-5.8.x-1220438809$
> > }}}}}}}}}}}}
> >
> > So lib/IPC/SysV.pm is still copied from the wrong place for some reason.
> > I'll try to investigate further.
>
> Turns out:
>
> {{{{{{{{{{{
> shlomi:$base$ head -20 perl-5.8.x-latest/ext/IPC/SysV/SysV.pm
> # IPC::SysV.pm
> #
> # Copyright (c) 1997 Graham Barr <gbarr@pobox.com>. All rights reserved.
> # This program is free software; you can redistribute it and/or
> # modify it under the same terms as Perl itself.
>
> package IPC::SysV;
>
> use strict;
> use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION $XS_VERSION);
> use Carp;
> use Config;
>
> require Exporter;
> @ISA = qw(Exporter);
>
> $VERSION = "1.05";
> $XS_VERSION = $VERSION;
> $VERSION = eval $VERSION;
> }}}}}}}}}}}
>
> And so I have the old version of the file there in the rsync copy which
> probably causes all these problems. Perhaps we need a --delete-after flag
> to rsync?
>

After rsync'ing once with --delete-after, "cp-a"ing to a new directory and 
running "Configure.sh ; make ; make test" - make test is now successful.

So the problem were some leftover files on my system that existed in previous 
versions of perl, but not in the current one.

The FAQ:

http://dev.perl.org/perl5/docs/p5p-faq.html

Says to run:

{{{{{
rsync -auvz rsync://ftp.linux.activestate.com/perl-current/ bleadperl/
}}}}}

Perhaps it should be updated to mention --delete-after.

Regards,

	Shlomi Fish

-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Rethinking CPAN - http://xrl.us/bjn7p

Shlomi, so what are you working on? Working on a new wiki about unit testing 
fortunes in freecell? -- Ran Eilam

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About