Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915945 - dev-python/PyQt6-6.5.3 cannot be built (raise UserException(f"'{abi_version}' is not a supported ABI version") sipbuild.exceptions.UserException)
Summary: dev-python/PyQt6-6.5.3 cannot be built (raise UserException(f"'{abi_version}'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 07:39 UTC by amano.kenji
Modified: 2023-10-18 13:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amano.kenji 2023-10-18 07:39:05 UTC
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/gpep517", line 4, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 425, in main
    return func(args)
           ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 215, in build_wheel
    print(build_wheel_impl(args, args.wheel_dir), file=out)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl
    wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/sipbuild/api.py", line 46, in build_wheel
    project = AbstractProject.bootstrap('wheel',
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
    project.setup(pyproject, tool, tool_description)
  File "/usr/lib/python3.11/site-packages/sipbuild/project.py", line 608, in setup
    self.verify_configuration(tool)
  File "/usr/lib/python3.11/site-packages/sipbuild/project.py", line 668, in verify_configuration
    self.abi_version = resolve_abi_version(self.abi_version, module=False)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/sipbuild/module/abi_version.py", line 106, in resolve_abi_version
    raise UserException(f"'{abi_version}' is not a supported ABI version")
sipbuild.exceptions.UserException
 * ERROR: dev-python/PyQt6-6.5.3::gentoo failed (compile phase):
 *   Wheel build failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4228:  Called distutils-r1_src_compile
 *   environment, line 2045:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  816:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3751:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3239:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3237:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1328:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 2027:  Called distutils-r1_python_compile
 *   environment, line 1846:  Called distutils_pep517_install '/var/tmp/portage/dev-python/PyQt6-6.5.3/work/PyQt6-6.5.3-python3_11/install'
 *   environment, line 2385:  Called die
 * The specific snippet of code:
 *       [[ -n ${wheel} ]] || die "No wheel name returned";

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2023-10-18 08:15:22 UTC
Missing build.log, missing emerge --info.
Comment 2 Ionen Wolkens gentoo-dev 2023-10-18 12:55:59 UTC
Oh, missed that. Need to depend on newer sip.
Comment 3 Larry the Git Cow gentoo-dev 2023-10-18 13:03:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d730fea78425834ed06ec03dfc81330f555172

commit 13d730fea78425834ed06ec03dfc81330f555172
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-10-18 13:02:37 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-10-18 13:02:50 +0000

    dev-python/PyQt6: depend on newer sip for 6.5.3
    
    Closes: https://bugs.gentoo.org/915945
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-python/PyQt6/PyQt6-6.5.3.ebuild | 1 +
 1 file changed, 1 insertion(+)