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

Bug 157134

Summary: portage-2.1.2_rc2-r5 --digest <package> doesn't redigest a changed ebuild properly
Product: Portage Development Reporter: Mike Auty (RETIRED) <ikelos>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS, REGRESSION
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147007    

Description Mike Auty (RETIRED) gentoo-dev 2006-12-04 12:55:12 UTC
Hiya, I've seen in the past couple of portage releases (2.1.2_rc2-r{4,5}), I've had some difficulty redigesting packages.  After altering the ebuild, trying to run --digest causes the following output (complete with --debug).  It appears to check the digest before it actually carries out any actions (including redigesting).  Running ebuild <ebuild> digest still redigests ok...

ikelos gnosis-utils # emerge --oneshot --digest --debug gnosis-utils 
myaction None
myopts {'--digest': True, '--oneshot': True, '--debug': True}
Calculating dependencies  
Parent:    None
Depstring: dev-python/gnosis-utils
Priority: soft
Candidates: ['dev-python/gnosis-utils']
!!! Digest verification failed:
!!! /usr/local/overlays/personal/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 862
!!! Expected: 866

aux_get(): (0) Error in '/usr/local/overlays/personal/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild'. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
Comment 1 Zac Medico gentoo-dev 2006-12-04 13:00:41 UTC
Until this is fixed, here is a workaround:

env FEATURES=digest emerge --oneshot --debug gnosis-utils
Comment 2 Zac Medico gentoo-dev 2006-12-04 13:52:26 UTC
This is fixed in svn r5173.
Comment 3 Zac Medico gentoo-dev 2006-12-08 14:13:34 UTC
This has been released in 2.1.2_rc3.