From d1b05bcf81e5058c20615179fb83a90c45daa487 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 8 May 2017 22:34:53 -0400 Subject: python-utils-r1.eclass: add more info to stub python wrappers The short terse error messages here are not easy to track down. Add a few more details so people can figure out what's going wrong faster. --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/python-utils-r1.eclass') diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index c1349ff277b0..0bf7e7ec1a3e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1041,7 +1041,7 @@ python_wrapper_setup() { for x in "${nonsupp[@]}"; do cat >"${workdir}"/bin/${x} <<-_EOF_ || die #!/bin/sh - echo "${x} is not supported by ${EPYTHON}" >&2 + echo "${ECLASS}: ${FUNCNAME}: ${x} is not supported by ${EPYTHON} (PYTHON_COMPAT)" >&2 exit 127 _EOF_ chmod +x "${workdir}"/bin/${x} || die -- cgit v1.2.3-65-gdbad