Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#11898 closed defect (fixed)

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 (1)

dependents.patch (416 bytes) - added by gwhitneycom1@… 18 years 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.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 18 years 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

comment:2 Changed 18 years 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 18 years ago by gwhitneycom1@…

Attachment: dependents.patch added

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

comment:3 Changed 17 years ago by gwhitney

Cc: gwhitney@… added
Keywords: documentation added
Milestone: MacPorts 1.5
Owner: changed from macports-dev@… to gwhitney@…
Status: newassigned
Version: 1.4.31.4.42

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

comment:4 Changed 17 years ago by markd@…

Cc: markd@… added

Committed in r25787. Thanks!

comment:5 Changed 17 years ago by markd@…

Resolution: fixed
Status: assignedclosed

comment:6 Changed 17 years ago by nox@…

Cc: gwhitney@macports.org,markd@macports.orggwhitney@macports.org, markd@macports.org
Priority: ExpectedNormal
Version: 1.4.42
Note: See TracTickets for help on using tickets.