develooper Front page | perl.perl5.porters | Postings from February 2018

Re: [perl #132903] Broken 5.27.9 after updating version.pm

Thread Previous
From:
Sawyer X
Date:
February 26, 2018 11:11
Subject:
Re: [perl #132903] Broken 5.27.9 after updating version.pm
Message ID:
dbcdcf73-bb4e-fc09-7d67-b2225293db25@gmail.com


On 02/25/2018 01:50 AM, Leon Timmermans wrote:
> On Sat, Feb 24, 2018 at 9:08 AM, slaven@rezic.de
> <perlbug-followup@perl.org> wrote:
>> After running "install Bundle::Snapshot..." in a CPAN shell in
>> a perl 5.27.9 installation I've been left with a broken perl:
>>
>>     $ perl5.27.9 -MExtUtils::MakeMaker -e1
>>     perl5.27.9: symbol lookup error: /opt/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux/auto/version/vxs/vxs.so: undefined symbol: STORE_NUMERIC_LOCAL_SET_STANDARD
>>     $ perl5.27.9 -MCPAN -e1
>>     perl5.27.9: symbol lookup error: /opt/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux/auto/version/vxs/vxs.so: undefined symbol: STORE_NUMERIC_LOCAL_SET_STANDARD
>>     $ perl5.27.9 -Mversion -MEncode -e1
>>     perl5.27.9: symbol lookup error: /opt/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux/auto/version/vxs/vxs.so: undefined symbol: STORE_NUMERIC_LOCAL_SET_STANDARD
>>
>> The interesting lines in the CPAN update log are probably these:
>>
>> ...
>> vars is up to date (1.03).
>> version::regex is up to date (0.9918).
>> Running install for module 'version::vpp'
>> Checksum for /home/slaven.rezic/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.9918.tar.gz ok
>> ...
>>   JPEACOCK/version-0.9918.tar.gz
>>   /usr/bin/make test -- OK
>> Running make install
>> ...
>> Installing /opt/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux/auto/version/vxs/vxs.so
>> ...
>> version::vxs is up to date (0.9918).
>> vmsish is up to date (1.04).
>> ...
>>
>>
>> So the existence of version::vpp (which does not seem to be part of newer
>> perls anymore) triggered the version.pm update, and installed a version.pm
>> which is apparently incompatible with current bleadperl.
>>
>> Probably the same problem would happen if a reinstall method on version
>> would be run (in a CPAN shell: test version + install_tested, with cpanm:
>> cpanm --reinstall version) (not tested).
>>
>> I also noticed that vutil.c was edited in the perl core despite of
>> a notice on top of the file that it should not be edited here, but
>> in the version distribution.
>>
>> It looks like a new CPAN release of version.pm should be done.
> IMNSHO what we really need is for version to become upstream=core.
> It's far too entangled with core for anything else to make sense.

Agreed.

Thread Previous


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