From 9840bfbe7d860bdb7ad9ac444a82f95510d48c2d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 24 Mar 2016 15:43:46 +0000 Subject: uninative: ensure patchelf errors are visible Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/uninative.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit 1.2.3-korg