Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 853244

Summary: sys-boot/grub-2.06-r2: inconsistent distfile cache
Product: Gentoo Linux Reporter: Oskari Pirhonen <xxc3ncoredxx>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED INVALID    
Severity: normal CC: base-system, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oskari Pirhonen 2022-06-21 01:43:09 UTC
The commit that fixes bug 851831 changes the name of the patch tarball used in grub-2.06-r2.ebuild, but the ebuild was updated without a rev bump. This seems to break the local distfile cache. When I ran `eclean-dist --deep` after my sync and @world update it deleted the old patch tarball, but the new one was never fetched since the package itself wasn't updated.

Commit in question: https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-boot/grub?id=830e49d291888e4d9ef8fec431a104f7cf9d1e21
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 02:01:16 UTC
I think gentoolkit should inspect the vdb to figure out which files to keep.
Comment 2 Mike Gilbert gentoo-dev 2022-06-21 02:39:26 UTC
This is obviously not a bug in the grub ebuild.
Comment 3 Mike Gilbert gentoo-dev 2022-06-21 02:48:42 UTC
I don't even think this is a bug in gentoolkit: to reinstall grub, you will need the new distfile not the old one. emerge will fetch the new file at that time.