develooper Front page | perl.perl5.porters | Postings from August 2016

[perl #128836] XSLoader meta information incorrect

Thread Previous
From:
Pierre VIGIER
Date:
August 4, 2016 13:01
Subject:
[perl #128836] XSLoader meta information incorrect
Message ID:
rt-4.0.24-25028-1470286637-1603.128836-75-0@perl.org
# New Ticket Created by  Pierre VIGIER 
# Please include the string:  [perl #128836]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128836 >


Hi,

Module XSLoader META information do not contains the "provides" entry, with the package and the version.
Due to that missing data, carton and cpanm are affected, as reported there: https://github.com/perl-carton/carton/issues/210#issuecomment-236916456

For reference, the content of the issue is included herebelow

Pierre

----------
With the following cpanfile:

requires 'List::MoreUtils';
if i install that with carton, then delete the cpanfile.snapshot and then run carton install --deployment, i face the following error message:

[pierre:~/tmp/xs]> carton install --deployment
Installing modules using /Users/pierre.vigier/tmp/xs/cpanfile (deployment mode)
Found XSLoader  which doesn't satisfy 0.22.
Successfully installed Exporter-Tiny-0.042
! Installing the dependencies failed: Installed version (0.16) of XSLoader is not in range '0.22'
! Bailing out the installation for List-MoreUtils-0.416.
! Installing the dependencies failed: Module 'List::MoreUtils' is not installed
! Bailing out the installation for /Users/pierre.vigier/tmp/xs/.
1 distribution installed
Installing modules failed
The corresponding cpanfile.snapshot is generated by carton install

# carton snapshot format: version 1.0
DISTRIBUTIONS
  Exporter-Tiny-0.042
    pathname: T/TO/TOBYINK/Exporter-Tiny-0.042.tar.gz
    provides:
      Exporter::Shiny 0.042
      Exporter::Tiny 0.042
    requirements:
      ExtUtils::MakeMaker 6.17
      perl 5.006001
  List-MoreUtils-0.416
    pathname: R/RE/REHSACK/List-MoreUtils-0.416.tar.gz
    provides:
      List::MoreUtils 0.416
      List::MoreUtils::PP 0.416
      List::MoreUtils::XS 0.416
    requirements:
      Carp 0
      Exporter::Tiny 0.038
      ExtUtils::MakeMaker 0
      File::Basename 0
      File::Copy 0
      File::Path 0
      File::Spec 0
      IPC::Cmd 0
      XSLoader 0.22
      base 0
  XSLoader-0.22
    pathname: S/SA/SAPER/XSLoader-0.22.tar.gz
    provides:
      XSLoader undef
    requirements:
      ExtUtils::MakeMaker 0
      Test::More 0.47
Any ideas why the --deployment does not work there? seems to be related to the XSLoader-0.22 that does not specify the version of XSLoader it is providing


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