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

dev-python/colorama-0.4.6 emerge failed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • Hide
      ego sync && emerge -DuavNA @world
      emerge dev-python/colorama
      Show
      ego sync && emerge -DuavNA @world emerge dev-python/colorama

      After today's syncing emerging breaks on dev-python/colorama-0.4.6 with
      configuration error: `project.license` must be valid exactly by one definition (2 matches found)

      Sync successful and kits in alignment! :)
      
      These are the packages that would be merged, in order:
      
      Calculating dependencies... done!
      [ebuild     U  ] sys-libs/ncurses-6.3_p20221023:0/6::core-kit [6.3_p20221015:0/6::core-kit] USE="cxx gpm split-usr unicode -ada -debug -doc -minimal -profile -static-libs -test -tinfo -trace" 49 KiB
      [ebuild     U  ] dev-python/zipp-3.10.0::python-modules-kit [3.9.0::python-modules-kit] PYTHON_TARGETS="python3_7 python3_9 -pypy3 -python2_7 -python3_10 -python3_8" 16 KiB
      [ebuild     U  ] dev-python/colorama-0.4.6::python-modules-kit [0.4.5::python-modules-kit] PYTHON_TARGETS="python3_7 python3_9 -pypy3 -python2_7 -python3_10 -python3_8" 28 KiB
      [ebuild     U  ] dev-python/curio-1.6::python-modules-kit [1.5::python-modules-kit] PYTHON_TARGETS="python3_7 python3_9 -python3_10 -python3_8" 231 KiB
      [ebuild     U  ] dev-qt/qtcore-5.15.2_p20221023:5/5.15.2::qt-kit [5.15.2_p20221010:5/5.15.2::qt-kit] USE="icu -debug -old-kernel -test" 56,410 KiB
      [ebuild     U  ] dev-qt/qtconcurrent-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="-debug -test" 0 KiB
      [ebuild     U  ] dev-qt/qtnetwork-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="ssl -bindist -connman -debug -gssapi -libproxy -networkmanager -sctp -test" 0 KiB
      [ebuild     U  ] dev-qt/qttest-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="-debug -test" 0 KiB
      [ebuild     U  ] dev-qt/qtxml-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="-debug -test" 0 KiB
      [ebuild     U  ] dev-qt/qtdbus-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="-debug -test" 0 KiB
      [ebuild     U  ] dev-qt/qtgui-5.15.2_p20221023:5/5.15.2::qt-kit [5.15.2_p20221010:5/5.15.2::qt-kit] USE="X dbus egl gif jpeg libinput png udev vulkan -accessibility -debug -eglfs -evdev -gles2-only -ibus -linuxfb -test -tslib -tuio -vnc -wayland" 0 KiB
      [ebuild     U  ] dev-qt/qtwidgets-5.15.2_p20221023:5/5.15::qt-kit [5.15.2_p20221010:5/5.15::qt-kit] USE="X dbus gtk png -debug -gles2-only -test" 0 KiB
      [ebuild     U  ] app-admin/keepassxc-2.7.3::desktop-kit [2.7.1::desktop-kit] USE="network -autotype -browser -debug -keeshare -test -yubikey" 8,754 KiB
      
      Total: 13 packages (13 upgrades), Size of downloads: 65,484 KiB
      
      Would you like to merge these packages? [Yes/No] 
      >>> Verifying ebuild manifests
      >>> Running pre-merge checks for dev-qt/qtcore-5.15.2_p20221023
       * Determining the location of the kernel source code
       * Found kernel source directory:
       *     /usr/src/linux-debian-sources-5.19.6_p1
       * Found kernel object directory:
       *     /usr/src/linux-debian-sources-5.19.6_p1
       * Found sources for kernel version:
       *     5.19.6_p1-debian-sources
      >>> Emerging (1 of 13) sys-libs/ncurses-6.3_p20221023::core-kit
      >>> Installing (1 of 13) sys-libs/ncurses-6.3_p20221023::core-kit
      >>> Emerging (2 of 13) dev-python/zipp-3.10.0::python-modules-kit
      >>> Installing (2 of 13) dev-python/zipp-3.10.0::python-modules-kit
      >>> Emerging (3 of 13) dev-python/colorama-0.4.6::python-modules-kit
      >>> Failed to emerge dev-python/colorama-0.4.6, Log file:
      >>>  '/var/tmp/portage/dev-python/colorama-0.4.6/temp/build.log'
      >>> Jobs: 2 of 13 complete, 1 failed                Load avg: 2.21, 1.65, 1.07
       * Package:    dev-python/colorama-0.4.6
       * 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 colorama-0.4.6.tar.gz to /var/tmp/portage/dev-python/colorama-0.4.6/work
      >>> Source unpacked in /var/tmp/portage/dev-python/colorama-0.4.6/work
      >>> Preparing source in /var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6 ...
       * Build system packages:
       *   dev-python/setuptools         : 65.5.0
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6 ...
      >>> Source configured.
      >>> Compiling source in /var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6 ...
       * 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://www.python.org/dev/peps/pep-0621/#license>`_.
      
      GIVEN VALUE:
          "BSD-3-Clause"
      
      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 87, 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 868, 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/colorama-0.4.6::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/colorama-0.4.6::python-modules-kit'`,
       * the complete build log and the output of `emerge -pqv '=dev-python/colorama-0.4.6::python-modules-kit'`.
       * The complete build log is located at '/var/tmp/portage/dev-python/colorama-0.4.6/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/dev-python/colorama-0.4.6/temp/environment'.
       * Working directory: '/var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6'
       * S: '/var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6'
      
       * Messages for package dev-python/colorama-0.4.6:
      
       * ERROR: dev-python/colorama-0.4.6::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/colorama-0.4.6::python-modules-kit'`,
       * the complete build log and the output of `emerge -pqv '=dev-python/colorama-0.4.6::python-modules-kit'`.
       * The complete build log is located at '/var/tmp/portage/dev-python/colorama-0.4.6/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/dev-python/colorama-0.4.6/temp/environment'.
       * Working directory: '/var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6'
       * S: '/var/tmp/portage/dev-python/colorama-0.4.6/work/colorama-0.4.6'
      
       * GNU info directory index is up-to-date.
       * After world updates, it is important to remove obsolete packages with
      

            Unassigned Unassigned
            borisp borisp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: