-
Bug
-
Resolution: Fixed Earlier
-
Normal
-
None
-
None
-
None
-
emerge sync && emerge dev-python/beautifulsoup
>>> Failed to emerge dev-python/beautifulsoup-4.12.1, Log file: >>> '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/temp/build.log' >>> Jobs: 1 of 3 complete, 1 failed Load avg: 3.35, 3.05, 2.10 * Package: dev-python/beautifulsoup-4.12.1 * Repository: python-modules-kit * USE: amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking beautifulsoup4-4.12.1.tar.gz to /var/tmp/portage/dev-python/beautifulsoup-4.12.1/work >>> Source unpacked in /var/tmp/portage/dev-python/beautifulsoup-4.12.1/work >>> Preparing source in /var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1 ... * Build system packages: * dev-python/setuptools : 67.6.1 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 64 configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] DESCRIPTION: `Project license <https://peps.python.org/pep-0621/#license>`_. GIVEN VALUE: "MIT" OFFENDING RULE: 'oneOf' DEFINITION: { "oneOf": [ { "properties": { "file": { "type": "string", "$$description": [ "Relative path to the file (UTF-8) which contains the license for the", "project." ] } }, "required": [ "file" ] }, { "properties": { "text": { "type": "string", "$$description": [ "The license of the project whose meaning is that of the", "`License field from the core metadata", "<https://packaging.python.org/specifications/core-metadata/#license>`_." ] } }, "required": [ "text" ] } ] } Traceback (most recent call last): File "setup.py", line 4, in <module> setuptools.setup() File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 108, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 121, in setup dist.parse_config_files() File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 885, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/lib/python3.7/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration config = read_configuration(filepath, True, ignore_option_errors, dist) File "/usr/lib/python3.7/site-packages/setuptools/config/pyprojecttoml.py", line 126, in read_configuration validate(subset, filepath) File "/usr/lib/python3.7/site-packages/setuptools/config/pyprojecttoml.py", line 51, in validate raise ValueError(f"{error}\n{summary}") from None ValueError: invalid pyproject.toml config: `project.license`. configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] * ERROR: dev-python/beautifulsoup-4.12.1::python-modules-kit failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3563: Called distutils-r1_src_compile * environment, line 1590: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 696: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3164: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2638: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2636: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1082: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1572: Called distutils-r1_python_compile * environment, line 1379: Called esetup.py 'build' '-j' '64' * environment, line 2173: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/beautifulsoup-4.12.1::python-modules-kit'`, * the complete build log and the output of `emerge -pqv '=dev-python/beautifulsoup-4.12.1::python-modules-kit'`. * The complete build log is located at '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1' * S: '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1' * Messages for package dev-python/beautifulsoup-4.12.1: * ERROR: dev-python/beautifulsoup-4.12.1::python-modules-kit failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3563: Called distutils-r1_src_compile * environment, line 1590: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 696: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3164: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2638: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2636: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1082: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1572: Called distutils-r1_python_compile * environment, line 1379: Called esetup.py 'build' '-j' '64' * environment, line 2173: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/beautifulsoup-4.12.1::python-modules-kit'`, * the complete build log and the output of `emerge -pqv '=dev-python/beautifulsoup-4.12.1::python-modules-kit'`. * The complete build log is located at '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1' * S: '/var/tmp/portage/dev-python/beautifulsoup-4.12.1/work/beautifulsoup4-4.12.1' * GNU info directory index is up-to-date. * After world updates, it is important to remove obsolete packages with * emerge --depclean. Refer to `man emerge` for more information.
- relates to
-
FL-10645 dev-python/colorama-0.4.6 emerge failed
- Closed