Skip Menu |

This queue is for tickets about the HTTP-Request-FromCurl CPAN distribution.

Report information
The Basics
Id: 127644
Status: resolved
Priority: 0/
Queue: HTTP-Request-FromCurl

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in:
  • 0.04
  • 0.05



Subject: Prereq minimum versions
These module versions are too low, it seems: ... # HTTP::Headers 6.05 ... Can't locate object method "flatten" via package "HTTP::Headers" at /home/cpansand/.cpan/build/2018111422/HTTP-Request-FromCurl-0.01-hZBA6A/blib/lib/HTTP/Request/CurlParameters.pm line 171. # Looks like you planned 34 tests but ran 1. t/curl-identity.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 33/34 subtests ... # List::Util 1.23 ... # Error: "pairmap" is not exported by the List::Util module # Can't continue after import errors at /home/cpansand/.cpan/build/2018111422/HTTP-Request-FromCurl-0.01-4M7wSP/blib/lib/HTTP/Request/CurlParameters.pm line 8 ...
Subject: Re: [rt.cpan.org #127644] Prereq minimum versions
Date: Wed, 14 Nov 2018 23:03:24 +0100
To: bug-HTTP-Request-FromCurl [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello Slaven, thank you very much for this report! Show quoted text
> These module versions are too low, it seems:
... indeed, I've adjusted the prerequisite version numbers for v0.02 (to be released soonish). Show quoted text
> ... > # List::Util 1.23 > ... > # Error: "pairmap" is not exported by the List::Util module > # Can't continue after import errors at /home/cpansand/.cpan/build/2018111422/HTTP-Request-FromCurl-0.01-4M7wSP/blib/lib/HTTP/Request/CurlParameters.pm line 8 > ... >
This one is weird. Makefile.PL and META.json specify List::Util 1.29. So I'm not sure why your test suite does only install List::Util 1.23. "pairmap" was introduced in List::Util 1.28 (or 1.29). -max
RT-Send-CC: corion [...] corion.net
On 2018-11-14 17:03:45, corion@corion.net wrote: Show quoted text
> > ... > > # List::Util 1.23 > > ... > > # Error: "pairmap" is not exported by the List::Util module > > # Can't continue after import errors at > > /home/cpansand/.cpan/build/2018111422/HTTP-Request-FromCurl-0.01- > > 4M7wSP/blib/lib/HTTP/Request/CurlParameters.pm line 8 > > ... > >
> This one is weird. Makefile.PL and META.json specify List::Util 1.29. > So > I'm not sure why your test suite does only install List::Util 1.23. > "pairmap" was introduced in List::Util 1.28 (or 1.29).
Looking at the log it indeed seems to be a problem of this old installation. This is the system perl (5.14.2) on Debian/wheezy, with the original CPAN.pm which came with that perl (1.9600_01): ... CPAN.pm: Going to build C/CO/CORION/HTTP-Request-FromCurl-0.01.tar.gz CPAN: CPAN::Reporter loaded ok (v1.1708) Checking if your kit is complete... Looks good Warning: prerequisite Filter::signatures 0.09 not found. Warning: prerequisite List::Util 1.29 not found. We have 1.23. Warning: prerequisite Moo 2 not found. We have 0.091011. Warning: prerequisite PerlX::Maybe 0 not found. Warning: prerequisite Test::HTTP::LocalServer 0.61 not found. Warning: prerequisite URL::Encode 0 not found. Writing Makefile for HTTP::Request::FromCurl Writing MYMETA.yml (/usr/bin/perl Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/HTTP/Request/CurlParameters.pm blib/lib/HTTP/Request/CurlParameters.pm cp lib/HTTP/Request/FromCurl.pm blib/lib/HTTP/Request/FromCurl.pm ... So the missing prereqs were detected, but the installation was just not done! I'll decide what to do with this configuration: either upgrade CPAN.pm here (something what I normally don't do with a system perl), or don't smoke anymore with this configuration.
Fixed, thanks for reporting these!