Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455472 - sys-kernel/hardened-sources-3.2.37-r2: File "/usr/src/linux-3.2.35-hardened-r1/arch/ia64/scripts/", line 18: SyntaxError: invalid syntax
Summary: sys-kernel/hardened-sources-3.2.37-r2: File "/usr/src/linux-3.2.35-hardened-r...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
Depends on:
Reported: 2013-02-04 17:45 UTC by Dennis Schridde
Modified: 2014-12-23 15:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-02-04 17:45:58 UTC
When building a hardened kernel on ia64, I get following error:
  File "/usr/src/linux-3.2.35-hardened-r1/arch/ia64/scripts/", line 18
    print "Usage: %s FILE" % sys.argv[0]
SyntaxError: invalid syntax

I assume the script needs to specify the version of python it uses or be upgraded to Python 2.7+ syntax.

The error also exists in 3.2.35-r1.

# python --version
Python 3.2.3
Comment 1 Anthony Basile gentoo-dev 2013-06-24 21:46:59 UTC
Still an issue Dennis?
Comment 2 Dennis Schridde 2013-06-25 14:08:15 UTC
  MODPOST 339 modules
  File "/usr/src/linux-3.2.46-hardened-r1/arch/ia64/scripts/", line 18
    print "Usage: %s FILE" % sys.argv[0]
SyntaxError: invalid syntax
make[2]: [unwcheck] Error 1 (ignored)

The upstream bug is being ignored:
Comment 3 Anthony Basile gentoo-dev 2013-09-27 11:04:35 UTC
Dennis, the only way upstream will act on this is if you send your patch to the lkml.  They pretty much ignore their bugzilla.  (Been there done that.)
Comment 4 Anthony Basile gentoo-dev 2014-12-23 15:15:11 UTC
No action upstream.