Skip Menu |

This queue is for tickets about the Config-Augeas CPAN distribution.

Report information
The Basics
Id: 75285
Status: resolved
Priority: 0/
Queue: Config-Augeas

People
Owner: RAPHINK [...] cpan.org
Requestors: apevec [...] gmail.com
Cc:
AdminCc:

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



Subject: augeas version check
Trying to build Config-Augeas-0.902 with augeas-devel-0.10.0-3.fc16.x86_64 fails with: *** 'pkg-config' did find augeas version 0.10.0 but *** version 0.9.0 minimum is required Version check in Build.PL is: if ( not defined $aug_version or ( $aug_version lt $min_version)) { Proposed fix: --- Build.PL.orig 2011-11-04 10:02:47.000000000 +0100 +++ Build.PL 2012-02-24 22:09:42.799289631 +0100 @@ -18,6 +18,7 @@ use Module::Build; +use version 0.77; use warnings FATAL => qw(all) ; use strict ; @@ -57,7 +58,7 @@ my $min_version = '0.9.0' ; -if ( not defined $aug_version or ( $aug_version lt $min_version)) { +if ( not defined $aug_version or ( version->parse($aug_version) < version->parse($min_version))) { warn << "EOW2" ; *** *** 'pkg-config' did find augeas version $aug_version but
Thank you for reporting this bug. This issue has been fixed in commit 6eccadeee8754fb44eb4d8e299cc254c80ba8ee8 on github. I just released a new 0.902 version this morning which includes this change. On Fri Feb 24 16:20:28 2012, https://admin.fedoraproject.org/accounts/openid/id/apevec wrote: Show quoted text
> Trying to build Config-Augeas-0.902 with augeas-devel-0.10.0-3.fc16.x86_64 > fails with: > *** 'pkg-config' did find augeas version 0.10.0 but > *** version 0.9.0 minimum is required > > Version check in Build.PL is: > if ( not defined $aug_version or ( $aug_version lt $min_version)) { > > Proposed fix: > --- Build.PL.orig 2011-11-04 10:02:47.000000000 +0100 > +++ Build.PL 2012-02-24 22:09:42.799289631 +0100 > @@ -18,6 +18,7 @@ > > use Module::Build; > > +use version 0.77; > use warnings FATAL => qw(all) ; > use strict ; > > @@ -57,7 +58,7 @@ > > my $min_version = '0.9.0' ; > > -if ( not defined $aug_version or ( $aug_version lt $min_version)) { > +if ( not defined $aug_version or ( version->parse($aug_version) < > version->parse($min_version))) { > warn << "EOW2" ; > *** > *** 'pkg-config' did find augeas version $aug_version but
Version 0.902 on CPAN fixes this bug.
Sorry, my bad, version 0.902 was already released. 0.903 is on its way to fix this issue.
Solved by RAPHINK with version 0.903