From: Ross Burton Date: Thu, 24 Mar 2016 15:43:46 +0000 (+0000) Subject: uninative: ensure patchelf errors are visible X-Git-Tag: 2016-4~289 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9840bfbe7d860bdb7ad9ac444a82f95510d48c2d;p=openembedded-core.git uninative: ensure patchelf errors are visible Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index d3208e71a9..b045a2818b 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass @@ -130,7 +130,8 @@ python uninative_changeinterp () { try: subprocess.check_output(("patchelf-uninative", "--set-interpreter", - d.getVar("UNINATIVE_LOADER", True), f)) + d.getVar("UNINATIVE_LOADER", True), f), + stderr=subprocess.STDOUT) except subprocess.CalledProcessError as e: bb.fatal("'%s' failed with exit code %d and the following output:\n%s" % (e.cmd, e.returncode, e.output))