Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620094 - dev-python/cx_Freeze-4.3.4 fails to build with python 3.6
Summary: dev-python/cx_Freeze-4.3.4 fails to build with python 3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 10:10 UTC by Pacho Ramos
Modified: 2017-08-01 12:19 UTC (History)
1 user (show)

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


Attachments
build.log.gz (cx_Freeze-4.3.4:20170529-100914.log.gz,6.12 KB, application/gzip)
2017-05-29 10:10 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-05-29 10:10:58 UTC
Created attachment 474622 [details]
build.log.gz

I get:
* python3_6: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.6 setup.py build
Traceback (most recent call last):
  File "setup.py", line 137, in <module>
    finder = cx_Freeze.ModuleFinder(bootstrap = True)
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 160, in __init__
    self._AddBaseModules()
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 187, in _AddBaseModules
    self.IncludeModule("traceback")
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 678, in IncludeModule
    namespace = namespace)
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 346, in _ImportModule
    deferredImports, namespace = namespace)
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 436, in _InternalImportModule
    parentModule, namespace)
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 502, in _LoadModule
    self._ScanCode(module.code, module, deferredImports)
  File "/var/tmp/portage/dev-python/cx_Freeze-4.3.4/work/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 588, in _ScanCode
    arguments.append(co.co_consts[opArg])
IndexError: tuple index out of range
Comment 1 Sergey Popov gentoo-dev 2017-08-01 12:19:02 UTC
commit b3fa8ba7904d21fcb9e4ad2e938ad4bda3d9c756
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Tue Aug 1 15:17:44 2017 +0300

    dev-python/cx_Freeze: version bump

    Now it works with Python 3.6

    Reported-by: Pacho Ramos <pacho@gentoo.org>
    Gentoo-Bug: 620094

    Package-Manager: Portage-2.3.6, Repoman-2.3.1