Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830104 - dev-python/typing-extensions-4.0.1: Build fails: RuntimeError: No package matching typing_extensions found
Summary: dev-python/typing-extensions-4.0.1: Build fails: RuntimeError: No package mat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-27 11:28 UTC by Ian Pickworth
Modified: 2021-12-28 09:18 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 Ian Pickworth 2021-12-27 11:28:42 UTC
# emerge -pqv '=dev-python/typing-extensions-4.0.1::gentoo'
[ebuild     U ] dev-python/typing-extensions-4.0.1 [4.0.0] PYTHON_TARGETS="python3_9 (-pypy3) -python3_8 (-python3_10)" 

Build log:
-----------------------------------
>>> Unpacking typing-extensions-4.0.1.gh.tar.gz to /var/tmp/portage/dev-python/typing-extensions-4.0.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/typing-extensions-4.0.1/work
>>> Preparing source in /var/tmp/portage/dev-python/typing-extensions-4.0.1/work/typing-4.0.1/typing_extensions ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/typing-extensions-4.0.1/work/typing-4.0.1/typing_extensions ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/typing-extensions-4.0.1/work/typing-4.0.1/typing_extensions ...
 * python3_9: running distutils-r1_run_phase distutils-r1_python_compile
python3.9 -m pyproject2setuppy build -j 16
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 57, in <module>
    main()
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 53, in main
    handler(data)
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/flit.py", line 85, in handle_flit
    setup_metadata.update(auto_find_packages(modname, subdir))
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/common.py", line 36, in auto_find_packages
    raise RuntimeError('No package matching {} found'.format(modname))
RuntimeError: No package matching typing_extensions found
 * ERROR: dev-python/typing-extensions-4.0.1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2822:  Called distutils-r1_src_compile
 *   environment, line 1149:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  472:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2500:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2018:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2016:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  755:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1140:  Called distutils-r1_python_compile
 *   environment, line  999:  Called esetup.py 'build' '-j' '16'
 *   environment, line 1553:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 * 
 * If you need support, post the output of `emerge --info '=dev-python/typing-extensions-4.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/typing-extensions-4.0.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-python:typing-extensions-4.0.1:20211227-111910.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/typing-extensions-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/typing-extensions-4.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/typing-extensions-4.0.1/work/typing-4.0.1/typing_extensions'
 * S: '/var/tmp/portage/dev-python/typing-extensions-4.0.1/work/typing-4.0.1/typing_extensions'
----------------------------------
Comment 1 Samuel Bernardo 2021-12-27 14:08:55 UTC
Same issue here
Comment 2 Larry the Git Cow gentoo-dev 2021-12-27 17:02:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a40953c3adfc0a80ecf605f785ee81101d5d2c

commit 37a40953c3adfc0a80ecf605f785ee81101d5d2c
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-12-27 17:01:12 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-12-27 17:01:12 +0000

    distutils-r1.eclass: depend on >=dev-python/pyproject2setuppy-22
    
    Closes: https://bugs.gentoo.org/830104
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-27 20:40:51 UTC
You didn't include emerge --info but the ebuild already depends on a newer version. Please sync.
Comment 4 Ian Pickworth 2021-12-28 09:12:25 UTC
(In reply to Sam James from comment #3)
> You didn't include emerge --info but the ebuild already depends on a newer
> version. Please sync.

It does, following the commit in comment 2, which was at 17:01:12.
It didn't at 11:28:42 - when I reported the issue.

However, the commit solves the problem.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-28 09:16:12 UTC
(In reply to Ian Pickworth from comment #4)
> (In reply to Sam James from comment #3)
> > You didn't include emerge --info but the ebuild already depends on a newer
> > version. Please sync.
> 
> It does, following the commit in comment 2, which was at 17:01:12.
> It didn't at 11:28:42 - when I reported the issue.
> 
> However, the commit solves the problem.

No, it was done before that (the commit you reference changed the eclass which changes it for all ebuilds using distutils-r1.eclass).

I did it earlier on in the day for just typing-extensions in https://github.com/gentoo/gentoo/commit/3185f4beb1d0db9397de24747b1baa5739cbbfbf.