[MacPorts] #56549: selfupdate loses error message returned by mportsync
MacPorts
noreply at macports.org
Mon May 28 22:52:51 UTC 2018
#56549: selfupdate loses error message returned by mportsync
---------------------+--------------------
Reporter: jmroot | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by jmroot):
Actually it's worse than that. From action_selfupdate:
{{{
if { [catch {macports::selfupdate [array get options] base_updated}
result ] } {
ui_debug $::errorInfo
ui_error $result
if {![macports::ui_isset ports_verbose]} {
ui_msg "Please run `port -v selfupdate' for details."
} else {
# Let's only print the ticket URL if the user has followed the
# advice we printed earlier.
print_tickets_url
}
fatal "port selfupdate failed: $result"
}
}}}
None of that stuff is being printed, which means macports::selfupdate is
appearing to succeed when it in fact failed.
--
Ticket URL: <https://trac.macports.org/ticket/56549#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list