Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#12837 closed defect (fixed)

port installed, port outdated always assume arguments given

Reported by: rothpcs@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.6.0
Keywords: Cc: rothpcs@…, ryandesign (Ryan Schmidt), jmpp@…, kballard (Lily Ballard)

Description (last modified by jmpp@…)

'port installed' with no arguments always returns "None of the specified ports are installed." A similar problem affects 'port outdated.'

Base sources checked out of subversion trunk today (10/02/2007). 'port version' gives 1.6.00 OS X 10.4.10 on MacBook Pro. Tcl is Apple's tcl, version 8.4.7.

Based on code inspection, problem might be that macports::global_options(ports_no_args) is not changed when process_cmd sets global_options(ports_no_args) to "yes". Consequently, in action_installed macports::global_options_isset test always causes restrictedList variable to be set.

Change History (6)

comment:1 Changed 13 years ago by nox@…

Component: portsbase
Milestone: MacPorts base bugs

comment:2 Changed 13 years ago by ryandesign (Ryan Schmidt)

Cc: rothpcs@… ryandesign@… added

Ah, I didn't see this ticket before bringing it up on the mailing list. There may be more useful information in that thread.

comment:3 Changed 13 years ago by jmpp@…

Cc: jmpp@… eridius@… added
Description: modified (diff)

comment:4 Changed 13 years ago by jmpp@…

Resolution: fixed
Status: newclosed

Fixed in r30011, targets such as "installed", "outdated", etc are working again in trunk. Closing ticket.


comment:5 Changed 12 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:6 Changed 11 years ago by jmroot (Joshua Root)

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