[MacPorts] #38662: RFE: Replace "command execution failed" with a more informative error message
#38662: RFE: Replace "command execution failed" with a more informative error message -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Keywords: | Port: -------------------------+-------------------------------- One thing I've noticed from looking at a bunch of trac tickets is that users will often report their errors as "`command execution failed`", when in reality, the log and debug output will show something more specific. It'd be useful to replace the "`command execution failed`" message with something more informative, so that maintainers don't have to go changing this in ticket titles all the time. -- Ticket URL: <https://trac.macports.org/ticket/38662> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by jmr@…): What would you suggest? I doubt we can develop an AI that can automatically summarise the actual problem in the log. -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by larryv@…): Maybe the error can mention the build phase, at least? Although “build failed” is not really any better than “command execution failed”, as far as usefulness goes. -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Or maybe it could mention what exactly the command was that failed. So instead of just "`command execution failed`" it could say something like "`execution of "make" failed`" or something... -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:3 egall@…]:
Or maybe it could mention what exactly the command was that failed. So instead of just "`command execution failed`" it could say something like "`execution of "make" failed`" or something...
How would we reliably extract the executable name from a given command string? Honestly, we’re probably going to be editing the ticket anyway, so I’m not sure that this is worth putting effort into. -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by cal@…): Well, it could just print the failed command completely. That would be a lot more specific, although the commands might actually get pretty long. -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38662: RFE: Replace "command execution failed" with a more informative error message --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): for cross-referencing purposes, #39836 is similar -- Ticket URL: <https://trac.macports.org/ticket/38662#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts