Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157134 - portage-2.1.2_rc2-r5 --digest <package> doesn't redigest a changed ebuild properly
Summary: portage-2.1.2_rc2-r5 --digest <package> doesn't redigest a changed ebuild pro...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-12-04 12:55 UTC by Mike Auty (RETIRED)
Modified: 2006-12-08 14:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.