Bug 48321 - [PATCH] Buildsystem runs arch/ia64/scripts/unwcheck.py using python, should use python2 instead
Summary: [PATCH] Buildsystem runs arch/ia64/scripts/unwcheck.py using python, should u...
Status: NEW
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: IA-64 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_ia-64
Depends on:
Reported: 2012-10-04 10:42 UTC by Dennis Schridde
Modified: 2013-11-19 22:57 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.8.8
Tree: Mainline
Regression: No

linux-3.5.4-ia64-unwcheck-python2.patch (825 bytes, patch)
2012-10-04 10:42 UTC, Dennis Schridde
Details | Diff

Description Dennis Schridde 2012-10-04 10:42:31 UTC
Created attachment 82051 [details]

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.

Note You need to log in before you can comment on or make changes to this bug.