Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455472

Summary: sys-kernel/hardened-sources-3.2.37-r2: File "/usr/src/linux-3.2.35-hardened-r1/arch/ia64/scripts/unwcheck.py", line 18: SyntaxError: invalid syntax
Product: Gentoo Linux Reporter: Dennis Schridde <devurandom>
Component: HardenedAssignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE) <hardened-kernel+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.kernel.org/show_bug.cgi?id=48321
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=48321
Whiteboard:
Package list:
Runtime testing required: ---

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/unwcheck.py", 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
Yes:
  MODPOST 339 modules
  File "/usr/src/linux-3.2.46-hardened-r1/arch/ia64/scripts/unwcheck.py", line 18
    print "Usage: %s FILE" % sys.argv[0]
                         ^
SyntaxError: invalid syntax
make[2]: [unwcheck] Error 1 (ignored)

The upstream bug is being ignored: https://bugzilla.kernel.org/show_bug.cgi?id=48321
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.