A fresh install of gentoolkit 0.6.3 seems to fail a qcheck validation; note below, where I install gentoolkit 0.6.2, immediately run a qcheck on it, and everything reports fine; I then immediately emerge 0.6.3, and immediately qcheck it, and it fails checksum on some of the compiled Python bytecode. leftfield ~/src/systools # ACCEPT_KEYWORDS=~amd64 emerge --ask --quiet-build =gentoolkit-0.6.2 These are the packages that would be merged, in order: Calculating dependencies ... done! Dependency resolution took 3.62 s (backtrack: 0/20). [ebuild UD ] app-portage/gentoolkit-0.6.2 [0.6.3] USE="-test%" Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-portage/gentoolkit-0.6.2::gentoo >>> Installing (1 of 1) app-portage/gentoolkit-0.6.2::gentoo >>> Completed (1 of 1) app-portage/gentoolkit-0.6.2::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.73, 0.60, 0.63 * GNU info directory index is up-to-date. leftfield ~/src/systools # qcheck gentoolkit Checking app-portage/gentoolkit ... * 404 out of 404 files are good leftfield ~/src/systools # emerge --ask --quiet-build =gentoolkit-0.6.3 These are the packages that would be merged, in order: Calculating dependencies ... done! Dependency resolution took 3.61 s (backtrack: 0/20). [ebuild U ] app-portage/gentoolkit-0.6.3 [0.6.2] Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-portage/gentoolkit-0.6.3::gentoo >>> Installing (1 of 1) app-portage/gentoolkit-0.6.3::gentoo >>> Completed (1 of 1) app-portage/gentoolkit-0.6.3::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.63, 0.53, 0.58 * GNU info directory index is up-to-date. leftfield ~/src/systools # qcheck gentoolkit Checking app-portage/gentoolkit ... MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/__init__.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/atom.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/eprefix.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/flag.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/pprinter.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/query.cpython-311.pyc MD5-DIGEST: /usr/lib/python3.11/site-packages/gentoolkit/__pycache__/versionmatch.cpython-311.pyc * 407 out of 414 files are good I'll attach the build log and emerge --info to the bug in a second. Reproducible: Always
Created attachment 880196 [details] gentoolkit 0.6.3 build log
Created attachment 880197 [details] emerge --info
So it seems like running equery commands as root overrides the installed cache. I see that eclean-dist and equery y at least do this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d423beeed737735ab85cb5543c4a11c27b98c09d commit d423beeed737735ab85cb5543c4a11c27b98c09d Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-12-23 06:21:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-23 17:28:39 +0000 app-portage/gentoolkit: fix compilation of invalid bytecode * Fixing python prefix after compilation invalidates it. Closes: https://bugs.gentoo.org/920490 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34438 Signed-off-by: Sam James <sam@gentoo.org> .../gentoolkit/{gentoolkit-0.6.3.ebuild => gentoolkit-0.6.3-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea146600f508c34863b7935f67443b5bc4a2de4e commit ea146600f508c34863b7935f67443b5bc4a2de4e Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-01-08 21:42:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-09 00:06:18 +0000 app-portage/gentoolkit: sync live Apply QA issue fix to the live ebuild as well. Fixes: d423beeed737735ab85cb5543c4a11c27b98c09d Bug: https://bugs.gentoo.org/920490 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34715 Signed-off-by: Sam James <sam@gentoo.org> app-portage/gentoolkit/gentoolkit-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)