Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #11898 (closed defect: fixed)

Opened 19 months ago

Last modified 16 months ago

BUG: base-1.4.3 Is "dependents" target broken?

Reported by: gwhitney@… Owned by: gwhitney@…
Priority: Normal Milestone: MacPorts 1.5
Component: base Version:
Keywords: documentation Cc: gwhitney@…, markd@…
Port:

Description

New install of MacPorts-1.4.0 from tarball, followed by successful "sudo port selfupdate"

Then I get:

chickadee$ port dependents expat
expat has no dependents!
chickadee$ port deps gettext
gettext has library dependencies on:
        libiconv
        expat

By my reading of the documentation, gettext (et. al) should have been listed in the "port dependents expat" command since gettext depends on it.

Attachments

dependents.patch (416 bytes) - added by gwhitneycom1@… 19 months ago.
For the sake of completeness, I thought I should post the 1-line patch to port.1 which would resolve this ticket quite satisfactorily.

Change History

Changed 19 months ago by pipping@…

port dependents shows only dependents that are currently installed.

to find dependents that aren't currently installed, you might want to use this script:

http://trac.macports.org/projects/macports/browser/users/pipping/find_dependents.pl

Changed 19 months ago by gwhitney@…

Thanks for the clarification. So either this find_dependents.pl functionality should be folded in to "port", or the man page should be changed from

dependents
Lists the ports that depend on the port portname.

to

dependents
Lists the installed ports that depend on the port portname.

Either way it's a "bug", just the latter is much easier to fix. :-)

Changed 19 months ago by gwhitneycom1@…

For the sake of completeness, I thought I should post the 1-line patch to port.1 which would resolve this ticket quite satisfactorily.

Changed 18 months ago by gwhitney@…

  • status changed from new to assigned
  • cc gwhitney@… added
  • owner changed from macports-dev@… to gwhitney@…
  • version changed from 1.4.3 to 1.4.42
  • milestone set to MacPorts 1.5
  • keywords documentation added

As a small first contribution as a Macports developer, I will check in this tiny documentation patch to resolve this bug.

Changed 18 months ago by markd@…

  • cc markd@… added

Committed in r25787. Thanks!

Changed 18 months ago by markd@…

  • status changed from assigned to closed
  • resolution set to fixed

Changed 16 months ago by nox@…

  • cc changed from gwhitney@macports.org,markd@macports.org to gwhitney@macports.org, markd@macports.org
  • priority changed from Expected to Normal
  • version 1.4.42 deleted
Note: See TracTickets for help on using tickets.