Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25324 closed defect (fixed)

port deps stops after the first port

Reported by: gale@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.9.2
Component: base Version: 1.9.1
Keywords: Cc:
Port:

Description

MacPorts v.1.9.1 on Snow Leopard (problem also occurred at least back in 1.9.0):

When multiple packages, or a pseudo-package that resolves to multiple packages, are listed for port deps, it no longer lists all of the dependencies. Instead, it just reports the dependencies of the first package in the list, without even saying the name of the package.

Note that in a previous version of MacPorts, it used to report the dependencies of each package, preceded by the line "Full name: <package-name>", separated by lines of the form "--". Yes, I have a script that parses that format. Could we please get that back? Thanks!

Here some examples of the current broken output:

$ port deps ghostscript # this is OK
Build Dependencies:   pkgconfig, autoconf, automake, libtool
Library Dependencies: xorg-libXext, xorg-libXt, cairo, expat, fontconfig, jpeg,
                      libiconv, libpaper, libpng, tiff, zlib, perl5

$ port deps rsync # also OK
Library Dependencies: popt, libiconv

$ port deps ghostscript rsync # Broken - ignores rsync
Build Dependencies:   pkgconfig, autoconf, automake, libtool
Library Dependencies: xorg-libXext, xorg-libXt, cairo, expat, fontconfig, jpeg,
                      libiconv, libpaper, libpng, tiff, zlib, perl5

$ # Let's see the beginnig of what installed resolves to
$ port list installed | head
autoconf                       @2.65           devel/autoconf
automake                       @1.11.1         devel/automake
bzip2                          @1.0.5          archivers/bzip2
cairo                          @1.8.10         graphics/cairo
curl                           @7.21.0         net/curl
curl-ca-bundle                 @7.21.0         net/curl-ca-bundle
db46                           @4.6.21         databases/db46
expat                          @2.0.1          textproc/expat
fontconfig                     @2.8.0          graphics/fontconfig
freetype                       @2.3.12         print/freetype

$ port deps autoconf # this is OK
Library Dependencies: perl5, m4, help2man

$ port deps installed # Broken - lists only autoconf deps, anonymously
Library Dependencies: perl5, m4, help2man

Change History (3)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Summary: port deps broken for multiple packagesport deps stops after the first port
Version: 1.9.01.9.1

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

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

Milestone: MacPorts 1.9.2
Note: See TracTickets for help on using tickets.