Bug 215964

Summary: Dependency checking doesn't take micro version into account
Product: Ports & Packages Reporter: gergely.czuczy
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Works As Intended    
Severity: Affects Some People CC: gergely.czuczy, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description gergely.czuczy 2017-01-11 10:15:15 UTC
Hello,

I just refreshed my ports tree and tried to build a few things, when I got this:
root@build:/usr/ports/devel/p5-Module-Build# make build
===>   p5-Module-Build-0.4220 depends on package: perl5>=5.24<5.25 - not found
===>   p5-Module-Build-0.4220 depends on package: perl5>=5.24<5.25 - not found
*** Error code 1
root@build:/usr/ports/devel/p5-Module-Build# pkg info | grep perl
perl5.24-5.24.1.r5_1           Practical Extraction and Report Language

Both 5.24 and 5.24.1 are >= than 5.24 AND < 5.25. I guess the dependency checking is not prepared for this.

It's a 10.3-STABLE from 2016-08-20.

Could this get a fix please?
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2017-01-11 12:00:28 UTC
You don't have *perl5* version >=5.24<5.25 installed.

You only have a perl5.24, which is not the default Perl, does not have /usr/local/bin/perl and some other things.

Remove this perl5.24 and retry what you were doing.
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2017-01-11 12:08:35 UTC
If you have a older perl5 installed, look at the latest perl5 entry in UPDATING for how to upgrade it.