[MacPorts] #18719: port should keep debug output when an action ends in error