[MacPorts] #51972: port echo depof:nonexistent returns zero

MacPorts noreply at macports.org
Fri Aug 5 12:17:24 PDT 2016


#51972: port echo depof:nonexistent returns zero
---------------------+--------------------------------
 Reporter:  mojca@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  base     |    Version:  2.3.4
 Keywords:           |       Port:
---------------------+--------------------------------
 {{{
 $ port info nonexistent; echo $?
 Error: Port nonexistent not found
 0

 $ port deps nonexistent; echo $?
 Error: Port nonexistent not found
 0

 $ port echo depof:nonexistent; echo $?
 Port nonexistent not found
     while executing
 "get_dep_ports $portname $recursive"
     ("^(depof):(.*)" arm line 8)
     invoked from within
 "switch -regex -matchvar matchvar -- $token {
         ^\\)$               -
         ^\;                 -
         ^_EOF_$             { # End of expres..."
     (procedure "element" line 12)
     invoked from within
 "element reslist"
     (procedure "unaryExpr" line 17)
     invoked from within
 "unaryExpr reslist"
     (procedure "andExpr" line 4)
     invoked from within
 "andExpr reslist"
     (procedure "orExpr" line 4)
     invoked from within
 "orExpr blist"
     (procedure "seqExpr" line 16)
     invoked from within
 "seqExpr reslist"
     (procedure "portExpr" line 3)
     invoked from within
 "portExpr portlist"
     (procedure "process_cmd" line 101)
     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
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 5640)
 0
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51972>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list