[haiku-bugs] Re: [Haiku] #13426: Package Requires and Provides Version Range Comparison Broken

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 Apr 2017 20:35:16 -0000

#13426: Package Requires and Provides Version Range Comparison Broken
-------------------------------------+-------------------------------------
   Reporter:  AGMS                   |      Owner:  bonefish
       Type:  bug                    |     Status:  closed
   Priority:  normal                 |  Milestone:  Unscheduled
  Component:                         |    Version:  R1/Development
  Servers/package_daemon             |   Keywords:  version number range
 Resolution:  no change required     |  comparison
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+-------------------------------------
Changes (by bonefish):

 * status:  new => closed
 * resolution:   => no change required


Comment:

 Replying to [ticket:13426 AGMS]:

then pkgman will fail, saying "nothing provides app:A>=1.0 needed by
 B-..." though version 2.53 is >= 1.0.  For that matter, A can do anything
 from 1.1 on up to 2.53, surely one of those versions in that range (like
 1.42 to pick one possible one) satisfies B's app:A >= 1.0 requirement?

 No. When A declares "compatible >= 1.1" it explicitly says that it doesn't
 provide (full) compatibility with earlier versions. When B declares that
 it requires "A >= 1.0", it says that it needs the functionality provided
 by version 1.0 -- which A 2.53 does not fully support.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13426#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: