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

Bug 703096

Summary: dev-python/linecache2-1.0.0: non-byte-compiled modules
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-16 14:13:39 UTC
* This package installs one or more Python modules that are not byte-compiled.
 * The following files are missing:
 * 
 *   /usr/lib/pypy2.7/site-packages/linecache2/tests/inspect_fodder2.pyc
 *   /usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder2.pyc
 *   /usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder2.pyo
 * 
 * Please either fix the upstream build system to byte-compile Python modules
 * correctly, or call python_optimize after installing them.  For more
 * information, see:
 * https://wiki.gentoo.org/wiki/Project:Python/Byte_compiling
Comment 1 Rolf Eike Beer archtester 2020-06-20 07:36:02 UTC
I guess because of this:

byte-compiling /var/tmp/portage/dev-python/linecache2-1.0.0/image/_python2.7/usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder2.py to inspect_fodder2.pyc
  File "/usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder2.py", line 102
    def keyworded(*arg1, arg2=1):
                            ^
SyntaxError: invalid syntax

byte-compiling /var/tmp/portage/dev-python/linecache2-1.0.0/image/_python2.7/usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder.py to inspect_fodder.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/linecache2-1.0.0/temp/tmpjdSR1_.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/linecache2-1.0.0/temp/tmpjdSR1_.py
  File "/usr/lib64/python2.7/site-packages/linecache2/tests/inspect_fodder2.py", line 102
    def keyworded(*arg1, arg2=1):
                            ^
SyntaxError: invalid syntax
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-10 02:38:14 UTC
Treecleaned