Bug 921040 - "error: external command failed, see earlier error messages" message needs to change
Summary: "error: external command failed, see earlier error messages" message needs to...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-13 11:07 UTC by Richard W.M. Jones
Modified: 2013-03-13 18:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-13 18:35:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-03-13 11:07:24 UTC
Description of problem:

There are a number of places where external commands are
run and on failure you get an error message like this:

*stdin*:4: libguestfs: error: external command failed, see earlier error messages

This message is confusing because:

(a) It doesn't tell you which external command failed.
(b) It doesn't say what we were trying to do.
(c) If debugging is not enabled, it is inaccurate -- there aren't
    any "earlier error messages"!

Version-Release number of selected component (if applicable):

libguestfs 1.20.4

How reproducible:

100%

Steps to Reproduce:

On Debian (which has old febootstrap), unpack libguestfs-1.20.4.tar.gz
and ./configure && make && make check.

It will fail with the line above, and no earlier error messages.

If you enable debugging then you'll see it's actually failing when
running febootstrap.

Comment 1 Richard W.M. Jones 2013-03-13 18:35:45 UTC
Fixed upstream in:
https://github.com/libguestfs/libguestfs/commit/1b644ad64eb9b9c1d6e97953b98c8c00559bf37d


Note You need to log in before you can comment on or make changes to this bug.