Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10200

unable to reinstall dev-python/extras-1.0.0-r1

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical (Application) Critical (Application)
    • None
    • None
    • This breaks any python module that aggressively tries to enable testtools which then pulls in fixtures. This at least affects dev-python/extras.

      Hello ,i have a problem to reinstall dev-python/extras-1.0.0-r1

      log:

      • Package: dev-python/extras-1.0.0-r1
      • Repository: python-modules-kit
      • USE: amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_7 userland_GNU
      • FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
        >>> Unpacking source...
        >>> Unpacking extras-1.0.0.tar.gz to /var/tmp/portage/dev-python/extras-1.0.0-r1/work
        >>> Source unpacked in /var/tmp/portage/dev-python/extras-1.0.0-r1/work
        >>> Preparing source in /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0 ...
      • Build system packages:
      • dev-python/setuptools : 63.1.0
        >>> Source prepared.
        >>> Configuring source in /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0 ...
        >>> Source configured.
        >>> Compiling source in /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0 ...
      • python3_7: running distutils-r1_run_phase distutils-r1_python_compile
        python3.7 setup.py build -j 41
        running build
        running build_py
        creating /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0-python3_7/lib/extras
        copying extras/_init_.py -> /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0-python3_7/lib/extras
        creating /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0-python3_7/lib/extras/tests
        copying extras/tests/_init_.py -> /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0-python3_7/lib/extras/tests
        copying extras/tests/test_extras.py -> /var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0-python3_7/lib/extras/tests
        warning: build_py: byte-compiling is disabled, skipping.
      • python2_7: running distutils-r1_run_phase distutils-r1_python_compile
        python2.7 setup.py build
        Traceback (most recent call last):
        File "setup.py", line 8, in <module>
        testtools_cmd = extras.try_import('testtools.TestCommand')
        File "/var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0/extras/_init_.py", line 50, in try_import
        _import_(module_name)
        File "/usr/lib64/python2.7/site-packages/testtools/_init_.py", line 71, in <module>
        from testtools.testcase import (
        File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 193, in <module>
        fixtures = try_import('fixtures')
        File "/var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0/extras/_init_.py", line 50, in try_import
        _import_(module_name)
        File "/usr/lib64/python2.7/site-packages/fixtures/_init_.py", line 89, in <module>
        from fixtures._fixtures import (
        File "/usr/lib64/python2.7/site-packages/fixtures/fixtures/init_.py", line 55, in <module>
        from fixtures._fixtures.mockpatch import (
        File "/usr/lib64/python2.7/site-packages/fixtures/_fixtures/mockpatch.py", line 70
        class MockPatchMultiple(_Base, metaclass=_MockPatchMultipleMeta):
        ^
        SyntaxError: invalid syntax
      • ERROR: dev-python/extras-1.0.0-r1::python-modules-kit failed (compile phase):
      • (no error message)
        *
      • Call stack:
      • ebuild.sh, line 93: Called src_compile
      • environment, line 3569: Called distutils-r1_src_compile
      • environment, line 1591: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
      • environment, line 694: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 3170: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 2644: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 2642: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 1080: Called distutils-r1_run_phase 'distutils-r1_python_compile'
      • environment, line 1573: Called distutils-r1_python_compile
      • environment, line 1380: Called esetup.py 'build'
      • environment, line 2179: Called die
      • The specific snippet of code:
      • "${@}" || die "${die_args[@]}";
        *
      • If you need support, post the output of `emerge --info '=dev-python/extras-1.0.0-r1::python-modules-kit'`,
      • the complete build log and the output of `emerge -pqv '=dev-python/extras-1.0.0-r1::python-modules-kit'`.
      • The complete build log is located at '/var/tmp/portage/dev-python/extras-1.0.0-r1/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/dev-python/extras-1.0.0-r1/temp/environment'.
      • Working directory: '/var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0'
      • S: '/var/tmp/portage/dev-python/extras-1.0.0-r1/work/extras-1.0.0'

            drobbins drobbins
            rimmer rimmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: