Skip to content

[Commits Bug]: No such file or directory: '/tmp/tmp-pkgcheck-....repo/dev-libs/protobuf/protobuf-27.2.ebuild' #756

@negril

Description

@negril

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

pkgcheck scan: error: Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/pkgcheck/pipeline.py", line 237, in _run
    if results := tuple(runner.run(restriction)):
                  ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkgcheck/runners.py", line 71, in run
    yield from check.feed(item)
  File "/usr/lib/python3.13/site-packages/pkgcheck/checks/git.py", line 572, in feed
    yield from self.removal_checks(list(pkg_map["D"]))
  File "/usr/lib/python3.13/site-packages/pkgcheck/checks/git.py", line 400, in removal_checks
    old_keywords = set().union(*(p.keywords for p in removal_repo.match(pkg.unversioned_atom)))
                                                     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkgcore/repository/prototype.py", line 212, in match
    return list(self.itermatch(atom, **kwds))
  File "/usr/lib/python3.13/site-packages/pkgcore/repository/prototype.py", line 302, in _internal_match
    for pkg in self._internal_gen_candidates(candidates, **kwargs):
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkgcore/repository/prototype.py", line 297, in _internal_gen_candidates
    yield from sorter(pkg_filter(pkgs))
  File "/usr/lib/python3.13/site-packages/pkgcore/ebuild/repository.py", line 586, in _pkg_filter
    if not pkg.is_supported:
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/snakeoil/klass.py", line 391, in __call__
    return self.getter(obj)
           ~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/pkgcore/package/base.py", line 95, in dynamic_getattr_dict
    val = functor(self)
  File "/usr/lib/python3.13/site-packages/pkgcore/ebuild/ebuild_src.py", line 289, in eapi
    i = fileutils.readlines_utf8(ebuild.path)
  File "/usr/lib/python3.13/site-packages/snakeoil/_fileutils.py", line 85, in native_readlines
    handle = open(mypath, mode, encoding=encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp-pkgcheck-cijlcn42.repo/dev-libs/protobuf/protobuf-27.2.ebuild'

Expected Behavior

No error.

master commit id

03765a5d1c0b2d1d6d4a09bd446a8e2085a31eb9

HEAD link

https://github.com/negril/gentoo/releases/tag/pkgcheck%2Fbug%2Fdev-cpp%2Fabseil-cpp%2F20250814.0

pkgcheck version

pkgcheck 0.10.37

pkgcore version

pkgcore 0.12.30

git remotes configuration

gentoo-DarkDefender https://github.com/DarkDefender/gentoo.git (fetch) [blob:none]
gentoo-DarkDefender https://github.com/DarkDefender/gentoo.git (push)
github-cjmayo https://github.com/cjmayo/gentoo (fetch) [blob:none]
github-cjmayo https://github.com/cjmayo/gentoo (push)
github-negril https://github.com/negril/gentoo.git (fetch) [blob:none]
github-negril https://github.com/negril/gentoo.git (push)
origin https://github.com/gentoo/gentoo.git (fetch) [blob:none]
origin https://github.com/gentoo/gentoo.git (push)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions