Opened 20 years ago

Closed 18 years ago

#2568 closed defect (invalid)

Library and runtime dependancies cause incorrect circular dependancies

Reported by: danchr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: markd@…
Port:

Description

Summary:

If you create two ports, A and B, and A has a library dependancy on B and B a runtime dependancy on A, installing A should result in first A, then B being built, installed and activated. However, DP does not seem to distinguish between the various kinds of dependancies, and will refuse to install port A.

Steps to reproduce:

  1. Download and decompress the attached portfiles.
  2. Put them in a repository DP will know about and update the index the repository.
  3. 'port install gift'

Expected results: First gift is installed, and then it's four runtime dependancies are installed.

Actual results: DP tries to install them all at once, which it can't, and thus bails out.

Change History (3)

comment:1 Changed 20 years ago by snu@…

Component: dportsbase

comment:2 Changed 19 years ago by markd@…

(In reply to comment #0)

If you create two ports, A and B, and A has a library dependancy on B and B a runtime dependancy on A, installing A should result in first A, then B being built, installed and activated. However, DP does not seem to distinguish between the various kinds of dependancies, and will refuse to install port A.

Steps to reproduce:

  1. Download and decompress the attached portfiles.

Is this problem still relevant? There are not portfiles attached either.

comment:3 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.