Created attachment 395946 [details, diff]
match Atom("%s::%s" % (pkg.cp, repo_config.name))
In repoman, portdb.xmatch("match-visible", pkg.cp) is used to check the list of visible ebuilds. However, instead of pkg.cp, when checking an overlay it needs use an atom which restricts the match to the appropriate repo. Otherwise, it risks matching ebuilds from the master repo(s). The following digest verification error demonstrates the problem occuring:
jule@localhost ~/git/games-overlay/games-board/stockfish $ repoman full
RepoMan scours the neighborhood...
* Digest verification failed:
* Reason: Filesize does not match recorded size
* Got: 1026
* Expected: 1025
Note that the digest error occurs for the master repository, even though it's games-overlay that is being checked.
This is in the master branch now:
Just guessing what it does, but wouldn't it cause dependency errors when overlays depend on packages in master?
(In reply to Michał Górny from comment #2)
> Just guessing what it does, but wouldn't it cause dependency errors when
> overlays depend on packages in master?
The patch just fixes code that checks if the current ebuild being checked is masked, which has nothing to do with dependencies.
Released in portage-2.2.17