[haiku-bugs] Re: [Haiku] #9923: Package dependency issue with OpenSSL

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 13 Aug 2013 13:13:28 -0000

#9923: Package dependency issue with OpenSSL
----------------------------+-----------------------------------
   Reporter:  anevilyak     |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Package Management
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+-----------------------------------

Comment (by bonefish):

 The immediate issue is that the package has been added to both system and
 common. To common explicitly by your `AddHaikuImagePackages` invocation,
 to system implicitly when the dependencies for system have been resolved
 (there's probably another package requiring it). The build tool that
 resolves the dependencies (`get_package_dependencies`) has no clue what's
 going on. It gets a list of all packages to be installed in system
 (already with resolved dependencies added) and common and asks the
 dependency solver to compute a consistent state. Since there's a duplicate
 in the list, the solver suggests to remove one instance. Since the code
 expects only additional packages to be installed, it treats the uninstall
 suggestion as an error. I guess the best solution would be to simply
 filter the package list for common beforehand.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9923#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: