diff --git a/HaikuPorter/Package.py b/HaikuPorter/Package.py index 3c1f9bc7..d80571df 100644 --- a/HaikuPorter/Package.py +++ b/HaikuPorter/Package.py @@ -280,7 +280,9 @@ def createBuildPackage(self): output = check_output(cmdlineArgs, stderr=STDOUT).decode('utf-8') except CalledProcessError as exception: raise Exception('failure creating the build package: ' - + exception.output[:-1].decode('utf-8')) + + "\n\tcommand: '%s'" % ' '.join(exception.cmd) + + "\n\treturn code: '%s'" % exception.returncode + + "\n\toutput: '%s'" % exception.output[:-1].decode('utf-8')) info(output) self.buildPackage = buildPackage os.remove(buildPackageInfo)