[MacPorts] #45708: "port notes active" crashes on deleted port

MacPorts noreply at macports.org
Fri Oct 31 11:08:45 PDT 2014


#45708: "port notes active" crashes on deleted port
------------------------+--------------------------------
 Reporter:  dstrubbe@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:  MacPorts Future
Component:  base        |    Version:  2.3.2
 Keywords:              |       Port:
------------------------+--------------------------------
 A port that is no longer present in the tree can cause an error when
 running "port notes active" or "port notes installed". This command listed
 notes for ports in alphabetical order until it reached "eggdbus" and then
 stopped with "Error: The port 'eggdbus' was not found".  I have eggdbus
 installed and active but it was deleted in r108419. I think there are two
 problems here:
 (1) If there is a problem getting the notes, it should be a warning not an
 error, so the listing can continue in this case.
 (2) The fact that there is an error suggests that the notes being printed
 are from the current version in the ports tree, even if the port in
 question is not the current version. This is unhelpful and might be
 misleading if the notes contain something version-specific.

-- 
Ticket URL: <https://trac.macports.org/ticket/45708>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list