New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11969 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years ago

dependency bug prevents port upgrade

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.4.3
Keywords: Cc: vinc17@…, ryandesign@…
Port:

Description

When I try to upgrade p5-xml-libxml to 1.63:

prunille:~> sudo port -v upgrade p5-xml-libxml
Error: No port p5-xml-namesupport found.

though it doesn't depend on such a port!!!

Change History

comment:1 Changed 7 years ago by eridius@…

  • Status changed from new to closed
  • Resolution set to invalid

Yes it does. p5-xml-libxml depends on p5-xml-sax depends on p5-xml-namesupport.

comment:2 Changed 7 years ago by vinc17@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

That can't be the problem: the latest version of p5-xml-sax is already installed and active:

prunille:~> port installed p5-xml-sax
The following ports are currently installed:
  p5-xml-sax @0.13_0
  p5-xml-sax @0.15_0 (active)

I don't know why it could be installed, though.

Anyway, if a failure occurs because of another port, the error message shouldn't contain the necessary information (in particular when using -v).

comment:3 Changed 7 years ago by eridius@…

Perhaps port used to ignore nonexistent dependencies, but now it errors (as is proper)?

comment:4 Changed 7 years ago by vinc17@…

This is a bad idea, as new errors may come from buggy Portfile update (you have here an example).

comment:5 Changed 7 years ago by ryandesign@…

  • Cc ryandesign@… added
  • Status changed from reopened to closed
  • Resolution set to invalid

The specific problem with p5-xml-sax was corrected in #11977.

I don't know why MacPorts suddenly started throwing errors about nonexistent dependencies if it didn't before. However, the current behavior is more desirable. If a portfile specifies a dependency on a port that doesn't exist, then it is better to learn about that and fix the buggy portfile than ignore it. Therefore, there's nothing else we need to do in this bug. Closing.

Note: See TracTickets for help on using tickets.