Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703096 - dev-python/linecache2-1.0.0: non-byte-compiled modules
Summary: dev-python/linecache2-1.0.0: non-byte-compiled modules
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 14:13 UTC by Michał Górny
Modified: 2021-08-10 02:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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