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

rdflib fail to build with python3.7 but builds with python2.7

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • tried to build with python2.7 setup.py build and it worked.

      • DISTUTILS_USE_SETUPTOOLS value is probably incorrect
      • value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?)
      • expected: DISTUTILS_USE_SETUPTOOLS=rdepend
        python3.7 setup.py build -j 14
        no previously-included directories found matching 'docs/_build'
        warning: no previously-included files matching '*.pyc' found anywhere in distribution
        warning: no previously-included files matching '*$py.class' found anywhere in distribution
        Traceback (most recent call last):
        File "setup.py", line 47, in <module>
        kwargs['src_root'] = setup_python3()
        File "setup.py", line 30, in setup_python3
        util.run_2to3(outfiles_2to3)
        AttributeError: module 'distutils.util' has no attribute 'run_2to3'
      • ERROR: dev-python/rdflib-4.2.2-r1::python-modules-kit failed (compile phase):
      • (no error message)
        *
      • Call stack:
      • ebuild.sh, line 93: Called src_compile
      • environment, line 3048: Called distutils-r1_src_compile
      • environment, line 1278: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
      • environment, line 469: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 2645: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 2115: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 2113: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
      • environment, line 886: Called distutils-r1_run_phase 'distutils-r1_python_compile'
      • environment, line 1269: Called distutils-r1_python_compile
      • environment, line 1138: Called esetup.py 'build' '-j' '14'
      • environment, line 1659: Called die
      • The specific snippet of code:
      • "${@}" || die "${die_args[@]}";

            seemant seemant
            kuzja kuzja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: