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

[1.4] dev-python/matplotlib-3.5.3 fails to compile

    • Icon: Bug Bug
    • Resolution: Workaround
    • Icon: Critical (Application) Critical (Application)
    • None
    • None
    • None
    • matplotlib can't merge due to dependency on non-current version of setuptools_scm.

      >> Emerging (11 of 11) dev-python/matplotlib-3.5.3::python-modules-kit

      • matplotlib-3.5.3.tar.gz BLAKE2B SHA512 size ... [ ok ]
        >>> Unpacking source...
        >>> Unpacking matplotlib-3.5.3.tar.gz to /var/tmp/portage/dev-python/matplotlib-3.5.3/work
        >>> Source unpacked in /var/tmp/portage/dev-python/matplotlib-3.5.3/work
        >>> Preparing source in /var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3 ...
      • Will copy sources from /var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3
      • python3_7: copying to /var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7
      • Build system packages:
      • dev-python/setuptools : 64.0.1
        >>> Source prepared.
        >>> Configuring source in /var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3 ...
      • python3_7: running distutils-r1_run_phase python_configure
      • Using python3.7 in global scope
      • python3_7: running distutils-r1_run_phase python_configure_all
        >>> Source configured.
        >>> Compiling source in /var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3 ...
      • python3_7: running distutils-r1_run_phase python_compile
        cp: './build/matplotlib.egg-info' and '/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7/build/matplotlib.egg-info' are the same file
        python3.7 setup.py build -j 1 --build-lib=/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7/build/lib
        WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f02611b8590>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-scm/
        WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0261196b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-scm/
        WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f02611b8710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-scm/
        WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f02611b8a50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-scm/
        WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f02611b8d90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools-scm/
        ERROR: Could not find a version that satisfies the requirement setuptools_scm<7,>=4 (from versions: none)
        ERROR: No matching distribution found for setuptools_scm<7,>=4
        /usr/lib/python3.7/site-packages/setuptools/installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        SetuptoolsDeprecationWarning,

      Edit mplsetup.cfg to change the build options; suppress output with --quiet.

      BUILDING MATPLOTLIB
      python: yes [3.7.13 (default, Jun 2 2022, 13:24:13) [GCC 9.2.0]]
      platform: yes [linux]
      tests: no [skipping due to configuration]
      macosx: no [Mac OS-X only]

      Traceback (most recent call last):
      File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
      subprocess.check_call(cmd)
      File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/matplotlib-3.5.3/temp/tmpofs8trqh', '--quiet', 'setuptools_scm<7,>=4']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
      File "setup.py", line 349, in <module>
      "sdist": Sdist,
      File "/usr/lib/python3.7/site-packages/setuptools/_init_.py", line 86, in setup
      _install_setup_requires(attrs)
      File "/usr/lib/python3.7/site-packages/setuptools/_init_.py", line 80, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
      File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 878, in fetch_build_eggs
      replace_conflicting=True,
      File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 791, in resolve
      replace_conflicting=replace_conflicting
      File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 1075, in best_match
      return self.obtain(req, installer)
      File "/usr/lib/python3.7/site-packages/pkg_resources/_init_.py", line 1087, in obtain
      return installer(requirement)
      File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
      return fetch_build_egg(self, req)
      File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
      raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/matplotlib-3.5.3/temp/tmpofs8trqh', '--quiet', 'setuptools_scm<7,>=4']' returned non-zero exit status 1.

      • ERROR: dev-python/matplotlib-3.5.3::python-modules-kit failed (compile phase):
      • (no error message)
      • Call stack:
      • ebuild.sh, line 93: Called src_compile
      • environment, line 4309: Called distutils-r1_src_compile
      • environment, line 1876: Called _distutils-r1_run_foreach_impl 'python_compile'
      • environment, line 827: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
      • environment, line 3803: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
      • environment, line 3142: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
      • environment, line 3140: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
      • environment, line 1281: Called distutils-r1_run_phase 'python_compile'
      • environment, line 1860: Called python_compile
      • environment, line 3479: Called wrap_setup 'distutils-r1_python_compile' '--build-lib=/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7/build/lib'
      • environment, line 5309: Called distutils-r1_python_compile '--build-lib=/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7/build/lib'
      • environment, line 1667: Called esetup.py 'build' 'j' '1' '-build-lib=/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7/build/lib'
      • environment, line 2519: Called die
      • The specific snippet of code:
      • "${@}" || die "${die_args[@]}";
      • If you need support, post the output of `emerge --info '=dev-python/matplotlib-3.5.3::python-modules-kit'`,
      • the complete build log and the output of `emerge -pqv '=dev-python/matplotlib-3.5.3::python-modules-kit'`.
      • The complete build log is located at '/var/tmp/portage/dev-python/matplotlib-3.5.3/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-3.5.3/temp/environment'.
      • Working directory: '/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3-python3_7'
      • S: '/var/tmp/portage/dev-python/matplotlib-3.5.3/work/matplotlib-3.5.3'

      >>> Failed to emerge dev-python/matplotlib-3.5.3, Log file:

      >>> '/var/tmp/portage/dev-python/matplotlib-3.5.3/temp/build.log'

      Attaching build.log below.

            geaaru geaaru
            stamasd stamasd
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: