Ticket #15515 (closed defect: fixed)
"port provides" broken in trunk
| Reported by: | ryandesign@… | Owned by: | raimue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.7.0 |
| Keywords: | Cc: | raimue@… | |
| Port: |
Description
"port provides" seems to be broken in trunk (@37376). Not sure yet when this problem appeared. This is with Mac OS X 10.4.11 and Xcode 2.4.1 on Intel.
$ /mp/bin/port provides foo
list must have an even number of elements
while executing
"array set portspec { foo }"
("uplevel" body line 1)
invoked from within
"uplevel 1 "array set portspec { $portspec }""
(procedure "foreachport" line 6)
invoked from within
"foreachport $portlist {
set file [compat filenormalize $portname]
if {[file exists $file]} {
if {![file isdirectory $file]..."
(procedure "action_provides" line 9)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 86)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
# Exit immediately, by default, unless..."
(file "/mp/bin/port" line 3165)
$
Change History
comment:2 Changed 5 years ago by raimue@…
- Status changed from new to assigned
- Owner changed from macports-tickets@… to raimue@…
comment:3 Changed 5 years ago by raimue@…
- Status changed from assigned to closed
- Resolution set to fixed
Sorry, that was my mistake. While I changed the definition of the action to get an unexpanded argument list, I didn't change the action itself to operate on a list of strings instead of ports. Thanks for the report.
Fixed in r37386.
Note: See
TracTickets for help on using
tickets.


It looks like r37238 caused this.