Skip Menu |

This queue is for tickets about the Alien-CMake CPAN distribution.

Report information
The Basics
Id: 123022
Status: resolved
Priority: 0/
Queue: Alien-CMake

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

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



Subject: Older FIle::Fetch cannot https
On some of my smoker systems the build process fails: ... Building Alien-CMake Fetching 'https://cmake.org/files/v3.9/cmake-3.9.1-Linux-x86_64.tar.gz'... ###ERROR### Unable to fetch 'https://cmake.org/files/v3.9/cmake-3.9.1-Linux-x86_64.tar.gz' at inc/My/Builder.pm line 97. (./Build exited with 512) ... It seems that these are systems with old File::Fetch, which has only quite weak https support (https only working if lynx is installed). With modern File::Fetch (>=0.50) https support is better (https works with LWP, curl and wget), so probably you should require this version.
I've updated the prereq in 0.10. Since this is an easy fix, I went ahead and did it. I believe this came in from automated testing (cpantesters++), but anyone using this module as a prereq should consider using Alien::cmake3 instead which is more reliable, and provides a less dusty version of cmake on many platforms.
On 2017-09-12 20:57:17, PLICEASE wrote: Show quoted text
> I've updated the prereq in 0.10. Since this is an easy fix, I went > ahead and did it. I believe this came in from automated testing > (cpantesters++), but anyone using this module as a prereq should > consider using Alien::cmake3 instead which is more reliable, and > provides a less dusty version of cmake on many platforms.
Related: https://rt.cpan.org/Ticket/Display.html?id=123023
On 2017-09-12 20:57:17, PLICEASE wrote: Show quoted text
> I've updated the prereq in 0.10. Since this is an easy fix, I went > ahead and did it.
Unfortunately it seems it has to be a configuration requirement, not a build requirement: ... Configuring P/PL/PLICEASE/Alien-CMake-0.10.tar.gz with Build.PL Gonna use 'My::Builder::Unix' class ... Require 'My::Builder::Unix' failed: File::Fetch version 0.5 required--this is only version 0.4801 at inc/My/Builder.pm line 13. BEGIN failed--compilation aborted at inc/My/Builder.pm line 13. Compilation failed in require at /opt/perl-5.24.3-RC1/lib/5.24.3/base.pm line 138. ...propagated at /opt/perl-5.24.3-RC1/lib/5.24.3/base.pm line 160. BEGIN failed--compilation aborted at inc/My/Builder/Unix.pm line 5. Compilation failed in require at (eval 4) line 2. ...
My bad. I believe this to be corrected with 0.11. Thanks again for following up. On Wed Sep 13 01:21:13 2017, SREZIC wrote: Show quoted text
> Unfortunately it seems it has to be a configuration requirement, not a > build requirement:
Confirmed, 0.11 looks better. On 2017-09-13 20:31:14, PLICEASE wrote: Show quoted text
> My bad. I believe this to be corrected with 0.11. Thanks again for > following up. > > On Wed Sep 13 01:21:13 2017, SREZIC wrote:
> > Unfortunately it seems it has to be a configuration requirement, not > > a > > build requirement: