portage-3.0.34: When calling emerge --metadata, it needs less than a second and only generates empty directories under /var/cache/edb/dep. Similarly, if /etc/portage/modules contains the lines portdbapi.auxdbmodule = cache.sqlite.database eclass_cache.dbmodule = cache.sqlite.database apparently only empty (size 16384) sqlite files are created in that directory. I did not investigate with which portage version the behavior changed. Note that some cache methods of eix are intended to use that data, so currently for users of e.g. cache method sqlite eix is broken, see e.g. https://forums.gentoo.org/viewtopic-p-8738363.html
Bisected to 9e24d0143450628f334cdb62e579efafd1bfd2ba. https://gitweb.gentoo.org/proj/portage.git/commit/?id=9e24d0143450628f334cdb62e579efafd1bfd2ba
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=57ce385e32e79b9d332fe1fdb3be50bdb07e7838 commit 57ce385e32e79b9d332fe1fdb3be50bdb07e7838 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2022-08-18 17:59:03 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-08-18 18:11:25 +0000 dbapi: avoid iterating porttrees twice in _set_porttrees() If porttrees is a generator object, the second pass will fail. Bug: https://bugs.gentoo.org/865635 Fixes: 9e24d0143450628f334cdb62e579efafd1bfd2ba Signed-off-by: Mike Gilbert <floppym@gentoo.org> lib/portage/dbapi/porttree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328977ffff1aa2d13cd3d8f7b5cb01eea6d634f5 commit 328977ffff1aa2d13cd3d8f7b5cb01eea6d634f5 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-23 00:38:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-23 00:39:03 +0000 sys-apps/portage: add 3.0.35 Closes: https://bugs.gentoo.org/859439 Closes: https://bugs.gentoo.org/672916 Closes: https://bugs.gentoo.org/858791 Closes: https://bugs.gentoo.org/862600 Closes: https://bugs.gentoo.org/862606 Closes: https://bugs.gentoo.org/863422 Closes: https://bugs.gentoo.org/864382 Closes: https://bugs.gentoo.org/865635 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.35.ebuild | 273 +++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+)