Bug 48321

Summary: [PATCH] Buildsystem runs arch/ia64/scripts/unwcheck.py using python, should use python2 instead
Product: Platform Specific/Hardware Reporter: Dennis Schridde (devurandom)
Component: IA-64Assignee: platform_ia-64
Status: NEW ---    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.8.8 Tree: Mainline
Regression: No
Attachments: linux-3.5.4-ia64-unwcheck-python2.patch

Description Dennis Schridde 2012-10-04 10:42:31 UTC
Created attachment 82051 [details]
linux-3.5.4-ia64-unwcheck-python2.patch

The buildsystem tries to run arch/ia64/scripts/unwcheck.py using "python", which on my system happens to point to python3. Hence unwcheck.py should be executed using python2 instead. Attached patch fixes this.

An even better way would probably be to mark the script executable and run it directly, without specifying in the Makefile which Python interpreter to use.
Comment 1 Dennis Schridde 2013-02-18 23:24:26 UTC
Has anyone had a look at this? It persists in 3.7.8.
Comment 2 Dennis Schridde 2013-04-19 13:29:46 UTC
Persists in 3.8.8.
Comment 3 Alan 2013-11-19 22:57:19 UTC
Patches need to go to the maintainer of the tree, and possibly cc linux-kernel@vger.kernel.org, along with a Signed-off-by:. The patch Signed-off-by is needed for audit purposes (See Documentation/SubmittingPatches).

IA64 isn't exactly the most mainstream build setup any more.