[MacPorts] #63078: `port clean` can fail without identifying the failing port

MacPorts noreply at macports.org
Fri Jun 11 22:27:41 UTC 2021


#63078: `port clean` can fail without identifying the failing port
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  base          |    Version:  2.7.1
 Keywords:  clean         |       Port:
--------------------------+--------------------
 When I run `port clean --all -f all -p` it fails without identifying which
 port it's trying to clean when it fails

 The output ends with
 {{{
 --->  Cleaning ssss
 --->  Cleaning sstp-client
 --->  Cleaning sstrings
 Error: Unable to open port: can't read "configure.env": can't read
 "haskell_stack.env": can't read "haskell_stack.yaml": can't read
 "worksrcpath": can't read "worksrcdir": can't read "distname": can't read
 "name": no such variable
 }}}

 If I clean just `sstrings`, the entire output is
 {{{
 --->  Cleaning sstrings
 }}}

 I'd like to create a ticket for the affected port, but I don't know what
 port that is, and the output should tell me

-- 
Ticket URL: <https://trac.macports.org/ticket/63078>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list