Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 120331
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: ian.stewartson [...] soprasteria.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: libwww-perl version 6.20 & 21 installation fails on Centos 7
Date: Wed, 22 Feb 2017 16:59:49 +0000
To: "bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>
From: STEWARTSON Ian <ian.stewartson [...] soprasteria.com>
I'm having problems installing libwww-perl on Centos 7 (fully patched). Version 6.16 to 6.19 install successfully, but version 6.20 & 6.21 fail. This is the console log as I installed the versions from 6.16 to 6.21: [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.16.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.16.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.16.tar.gz ... OK Configuring libwww-perl-6.16 ... OK Building and testing libwww-perl-6.16 ... OK Successfully installed libwww-perl-6.16 1 distribution installed [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.17.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.17.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.17.tar.gz ... OK Configuring libwww-perl-6.17 ... OK Building and testing libwww-perl-6.17 ... OK Successfully installed libwww-perl-6.17 1 distribution installed [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.18.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.18.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.18.tar.gz ... OK Configuring libwww-perl-6.18 ... OK Building and testing libwww-perl-6.18 ... OK Successfully installed libwww-perl-6.18 1 distribution installed [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.19.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.19.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.19.tar.gz ... OK Configuring libwww-perl-6.19 ... OK Building and testing libwww-perl-6.19 ... OK Successfully installed libwww-perl-6.19 1 distribution installed [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.20.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.20.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.20.tar.gz ... OK Configuring libwww-perl-6.20 ... OK Building and testing libwww-perl-6.20 ... FAIL ! Installing http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.20.tar.gz failed. See /root/.cpanm/work/1487779006.3308/build.log for details. Retry with --force to force install it. [root@f5e10ba230bc ~]# cpanm http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.21.tar.gz --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.21.tar.gz Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.21.tar.gz ... OK Configuring libwww-perl-6.21 ... OK Building and testing libwww-perl-6.21 ... FAIL ! Installing http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.21.tar.gz failed. See /root/.cpanm/work/1487779445.3418/build.log for details. Retry with --force to force install it. [root@f5e10ba230bc ~]# Attached are the two build logs (in a compressed tar archive). As far as I can see, test t/base/default_content_type.t is failing because of an un-expected response. Regards Ian. Show quoted text
_________________________________________________________________________ Ian Stewartson Principal Consultant Sopra Steria eMail: Ian.Stewartson@soprasteria.com<mailto:Ian.Stewartson@soprasteria.com> Switchboard: +44 (0) 8702 416 181 Mobile: +44 (0) 776 893 6172 (VPN: 7288 6172) WebSite: www.soprasteria.co.uk<http://www.soprasteria.co.uk/> sMail: 6th Floor, Holborn Centre, 120 Holborn, London, EC1N 2TD Sopra Steria is the trading name of the following companies (all registered in England & Wales): (i) Sopra Steria Limited (No. 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group Holding Ltd (No. 01588948)

Message body is not shown because it is too large.

Download log.tar.gz
application/x-gzip 3.1k

Message body not shown because it is not plain text.

On Wed Feb 22 12:14:25 2017, ian.stewartson@soprasteria.com wrote: Show quoted text
> I'm having problems installing libwww-perl on Centos 7 (fully > patched). Version 6.16 to 6.19 install successfully, but version 6.20 > & 6.21 fail. > > This is the console log as I installed the versions from 6.16 to 6.21: > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.16.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.16.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.16.tar.gz ... OK > Configuring libwww-perl-6.16 ... OK > Building and testing libwww-perl-6.16 ... OK > Successfully installed libwww-perl-6.16 > 1 distribution installed > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.17.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.17.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.17.tar.gz ... OK > Configuring libwww-perl-6.17 ... OK > Building and testing libwww-perl-6.17 ... OK > Successfully installed libwww-perl-6.17 > 1 distribution installed > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.18.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.18.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.18.tar.gz ... OK > Configuring libwww-perl-6.18 ... OK > Building and testing libwww-perl-6.18 ... OK > Successfully installed libwww-perl-6.18 > 1 distribution installed > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.19.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.19.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.19.tar.gz ... OK > Configuring libwww-perl-6.19 ... OK > Building and testing libwww-perl-6.19 ... OK > Successfully installed libwww-perl-6.19 > 1 distribution installed > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.20.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.20.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.20.tar.gz ... OK > Configuring libwww-perl-6.20 ... OK > Building and testing libwww-perl-6.20 ... FAIL > ! Installing http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.20.tar.gz failed. See /root/.cpanm/work/1487779006.3308/build.log > for details. Retry with --force to force install it. > > [root@f5e10ba230bc ~]# cpanm > http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.21.tar.gz > --> Working on http://www.cpan.org/authors/id/O/OA/OALDERS/libwww- > perl-6.21.tar.gz > Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.21.tar.gz ... OK > Configuring libwww-perl-6.21 ... OK > Building and testing libwww-perl-6.21 ... FAIL > ! Installing http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl- > 6.21.tar.gz failed. See /root/.cpanm/work/1487779445.3418/build.log > for details. Retry with --force to force install it. > [root@f5e10ba230bc ~]# > > Attached are the two build logs (in a compressed tar archive). As far > as I can see, test t/base/default_content_type.t is failing because of > an un-expected response. > > Regards > Ian. > _________________________________________________________________________ > Ian Stewartson > Principal Consultant > Sopra Steria > eMail: > Ian.Stewartson@soprasteria.com<mailto:Ian.Stewartson@soprasteria.com> > Switchboard: +44 (0) 8702 416 181 > Mobile: +44 (0) 776 893 6172 (VPN: 7288 6172) > WebSite: > www.soprasteria.co.uk<http://www.soprasteria.co.uk/> > sMail: 6th Floor, Holborn Centre, 120 Holborn, London, > EC1N 2TD > > Sopra Steria is the trading name of the following companies (all > registered in England & Wales): (i) Sopra Steria Limited (No. > 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group > Holding Ltd (No. 01588948)
Thanks for this. Looks like the problem starts with https://github.com/libwww-perl/libwww-perl/pull/100
Hi Ian, The tests are failing on using a hashref for content on the PUT method. As it turns out, HTTP::Message (which contains HTTP::Request) prior to version 6.07 didn't allow PUT requests to use hashrefs for content. https://metacpan.org/changes/release/ETHER/HTTP-Message-6.07#L13 So, to fix, please update your HTTP::Message and re-try your LWP install. We will discuss the best way to fix this in the next release of LWP. Thank you for pointing this out to us! Thanks, Chase
Date: Thu, 23 Feb 2017 10:33:36 +0000
Subject: RE: [rt.cpan.org #120331] libwww-perl version 6.20 & 21 installation fails on Centos 7
To: "bug-libwww-perl [...] rt.cpan.org" <bug-libwww-perl [...] rt.cpan.org>
From: STEWARTSON Ian <ian.stewartson [...] soprasteria.com>
Chase Thanks - forcing an upgrade of HTTP::Message to the latest version (from 6.06 to 6.11) appears to have resolved the issue. Regards Ian. Show quoted text
_________________________________________________________________________ Ian Stewartson Principal Consultant Sopra Steria eMail: Ian.Stewartson@soprasteria.com Switchboard: +44 (0) 8702 416 181 Mobile: +44 (0) 776 893 6172 (VPN: 7288 6172) WebSite: www.soprasteria.co.uk sMail: 6th Floor, Holborn Centre, 120 Holborn, London, EC1N 2TD
-----Original Message----- From: Chase Whitener via RT [mailto:bug-libwww-perl@rt.cpan.org] Sent: 23 February 2017 04:18 To: STEWARTSON Ian Subject: [rt.cpan.org #120331] libwww-perl version 6.20 & 21 installation fails on Centos 7 <URL: https://rt.cpan.org/Ticket/Display.html?id=120331 > Hi Ian, The tests are failing on using a hashref for content on the PUT method. As it turns out, HTTP::Message (which contains HTTP::Request) prior to version 6.07 didn't allow PUT requests to use hashrefs for content. https://metacpan.org/changes/release/ETHER/HTTP-Message-6.07#L13 So, to fix, please update your HTTP::Message and re-try your LWP install. We will discuss the best way to fix this in the next release of LWP. Thank you for pointing this out to us! Thanks, Chase Sopra Steria is the trading name of the following companies (all registered in England & Wales): (i) Sopra Steria Limited (No. 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group Holding Ltd (No. 01588948)
On Fri Feb 24 00:11:21 2017, ian.stewartson@soprasteria.com wrote: Show quoted text
> Chase > > Thanks - forcing an upgrade of HTTP::Message to the latest version > (from 6.06 to 6.11) appears to have resolved the issue. > > Regards > Ian. > _________________________________________________________________________ > Ian Stewartson > Principal Consultant > Sopra Steria > eMail: Ian.Stewartson@soprasteria.com > Switchboard: +44 (0) 8702 416 181 > Mobile: +44 (0) 776 893 6172 (VPN: 7288 6172) > WebSite: www.soprasteria.co.uk > sMail: 6th Floor, Holborn Centre, 120 Holborn, London, > EC1N 2TD > > -----Original Message----- > From: Chase Whitener via RT [mailto:bug-libwww-perl@rt.cpan.org] > Sent: 23 February 2017 04:18 > To: STEWARTSON Ian > Subject: [rt.cpan.org #120331] libwww-perl version 6.20 & 21 > installation fails on Centos 7 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=120331 > > > Hi Ian, > > The tests are failing on using a hashref for content on the PUT > method. As it turns out, HTTP::Message (which contains HTTP::Request) > prior to version 6.07 didn't allow PUT requests to use hashrefs for > content. > > https://metacpan.org/changes/release/ETHER/HTTP-Message-6.07#L13 > > So, to fix, please update your HTTP::Message and re-try your LWP > install. We will discuss the best way to fix this in the next release > of LWP. > > Thank you for pointing this out to us! > > Thanks, > Chase > Sopra Steria is the trading name of the following companies (all > registered in England & Wales): (i) Sopra Steria Limited (No. > 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group > Holding Ltd (No. 01588948)
This is now fixed in 6.22 Thanks, everyone!