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

switching from python-kit prime-3.4 to prime-3.6: some builds complain about no setuptools

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      So I have emerge -j  enabled, that could be the cause of the problem as portage is emerging multiple packages, as you can see from the output.

      >>> Emerging (20 of 136) dev-python/defusedxml-0.5.0::python-kit
      >>> Emerging (21 of 136) x11-proto/xcb-proto-1.12-r2::xorg-kit
      >>> Emerging (22 of 136) virtual/python-singledispatch-0::python-kit
      >>> Emerging (23 of 136) dev-python/setuptools-36.4.0::python-kit
      >>> Failed to emerge dev-python/defusedxml-0.5.0, Log file:
      >>> '/var/tmp/portage/dev-python/defusedxml-0.5.0/temp/build.log'
      >>> Installing (22 of 136) virtual/python-singledispatch-0::python-kit
      >>> Installing (21 of 136) x11-proto/xcb-proto-1.12-r2::xorg-kit
      >>> Installing (23 of 136) dev-python/setuptools-36.4.0::python-kit
      >>> Jobs: 22 of 136 complete, 1 failed Load avg: 2.41, 3.27, 2.87
      * Package: dev-python/defusedxml-0.5.0
      * Repository: python-kit
      * Maintainer: python@gentoo.org
      * USE: amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 userland_GNU
      * FEATURES: preserve-libs sandbox userpriv usersandbox
      >>> Unpacking source...
      >>> Unpacking defusedxml-0.5.0.tar.gz to /var/tmp/portage/dev-python/defusedxml-0.5.0/work
      >>> Source unpacked in /var/tmp/portage/dev-python/defusedxml-0.5.0/work
      >>> Preparing source in /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0 ...
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0 ...
      >>> Source configured.
      >>> Compiling source in /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0 ...
      * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build
      running build
      running build_py
      creating /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/common.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml copying defusedxml/pulldom.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/sax.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/expatreader.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/xmlrpc.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/lxml.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml copying defusedxml/expatbuilder.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/ElementTree.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/minidom.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml copying defusedxml/cElementTree.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      copying defusedxml/__init__.py -> /var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0-python2_7/lib/defusedxml
      warning: build_py: byte-compiling is disabled, skipping.
      
      * 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 7, in <module>
      from setuptools import setup
      ModuleNotFoundError: No module named 'setuptools'
      * ERROR: dev-python/defusedxml-0.5.0::python-kit failed (compile phase):
      * (no error message)
      *
      * Call stack:
      * ebuild.sh, line 115: Called src_compile * environment, line 3688: Called distutils-r1_src_compile
      * environment, line 950: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
      * environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 3223: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 2330: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 2328: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 597: Called distutils-r1_run_phase 'distutils-r1_python_compile'
      * environment, line 941: Called distutils-r1_python_compile
      * environment, line 816: Called esetup.py 'build'
      * environment, line 1448: Called die
      * The specific snippet of code:
      * "${@}" || die "${die_args[@]}";
      *
      * If you need support, post the output of `emerge --info '=dev-python/defusedxml-0.5.0::python-kit'`,
      * the complete build log and the output of `emerge -pqv '=dev-python/defusedxml-0.5.0::python-kit'`.
      * The complete build log is located at '/var/tmp/portage/dev-python/defusedxml-0.5.0/temp/build.log'.
      * The ebuild environment file is located at '/var/tmp/portage/dev-python/defusedxml-0.5.0/temp/environment'.
      * Working directory: '/var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0'
      * S: '/var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0'
      * Messages for package dev-python/defusedxml-0.5.0:
      
      * ERROR: dev-python/defusedxml-0.5.0::python-kit failed (compile phase):
      * (no error message)
      *
      * Call stack:
      * ebuild.sh, line 115: Called src_compile
      * environment, line 3688: Called distutils-r1_src_compile
      * environment, line 950: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
      * environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 3223: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 2330: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 2328: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      * environment, line 597: Called distutils-r1_run_phase 'distutils-r1_python_compile'
      * environment, line 941: Called distutils-r1_python_compile
      * environment, line 816: Called esetup.py 'build'
      * environment, line 1448: Called die
      * The specific snippet of code:
      * "${@}" || die "${die_args[@]}";
      *
      * If you need support, post the output of `emerge --info '=dev-python/defusedxml-0.5.0::python-kit'`,
      * the complete build log and the output of `emerge -pqv '=dev-python/defusedxml-0.5.0::python-kit'`.
      * The complete build log is located at '/var/tmp/portage/dev-python/defusedxml-0.5.0/temp/build.log'.
      * The ebuild environment file is located at '/var/tmp/portage/dev-python/defusedxml-0.5.0/temp/environment'.
      * Working directory: '/var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0'
      * S: '/var/tmp/portage/dev-python/defusedxml-0.5.0/work/defusedxml-0.5.0'
      

      As you can see, setuptools get emerged later in the run, the question is should there be packages emerged with higher priority after branch switch, such as setuptools, etc?

            Unassigned Unassigned
            palica Pavol Cupka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: