Opened 15 years ago

Closed 15 years ago

#20591 closed defect (fixed)

Installation with non-indexed dependencies

Reported by: raimue (Rainer Müller) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.8.0
Keywords: Cc: mf2k (Frank Schima)
Port:

Description

When adding multiple ports, it can happen that a port is installed and listed as dependency on another port. This dependency should be satisfied as the port is already installed.

This already did work on trunk, but is now broken again as port tries to upgrade dependencies before install.

Here is a proposed patch to fix this. It adds another mportlookup for every dependency and is therefore not a good solution, but it works.

Attachments (2)

patch-non-indexed-deps.diff (1.1 KB) - added by raimue (Rainer Müller) 15 years ago.
ticket20591.tar.gz (639 bytes) - added by raimue (Rainer Müller) 15 years ago.
Two Portfiles to reproduce the issue

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by raimue (Rainer Müller)

Attachment: patch-non-indexed-deps.diff added

comment:1 Changed 15 years ago by raimue (Rainer Müller)

Joshua, as you are more experienced with this part, I would like to hear your opinion on this one first. Maybe you even have a better idea.

Changed 15 years ago by raimue (Rainer Müller)

Attachment: ticket20591.tar.gz added

Two Portfiles to reproduce the issue

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.