Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132410 - portage-2.1_pre10-r3 traceback w/ broken digests
Summary: portage-2.1_pre10-r3 traceback w/ broken digests
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords: InVCS, REGRESSION
: 132427 132551 132557 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-05-06 00:26 UTC by Jakub Moc (RETIRED)
Modified: 2006-05-07 23:09 UTC (History)
7 users (show)

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 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 00:26:58 UTC
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-db/mysql-5.0.21 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3416, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 2029, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
File "/usr/lib/portage/pym/portage.py", line 2807, in doebuild
    (mydo not in ["digest","fetch","unpack"] and
  File "/usr/lib/portage/pym/portage.py", line 2327, in digestcheck
    mf.checkFileHashes(mf.findFile(f), f)
  File "/usr/lib/portage/pym/portage_manifest.py", line 483, in checkFileHashes
    myhashes = self.fhashdict[ftype][fname]
KeyError: 'mysql-patchset-5.0.21-r2.tar.bz2'
Comment 1 Stéphane Bisinger 2006-05-06 03:02:12 UTC
I also get this error, same portage version, package: mysql-4.1.19
For now I will mask it and switch back to older version, until this gets fixed.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2006-05-06 03:17:21 UTC
*** Bug 132427 has been marked as a duplicate of this bug. ***
Comment 3 Stéphane Bisinger 2006-05-06 03:47:16 UTC
(In reply to comment #1)
> I also get this error, same portage version, package: mysql-4.1.19
> For now I will mask it and switch back to older version, until this gets fixed.

I have been too rushy, downgrade won't do any good. The problem is that the md5 digest for mysql-patchset-4.1.19-r1.tar.bz2 is not in the digest-mysql-4.1.19 file. To fix this:

ebuild /usr/portage/dev-db/mysql/mysql-4.1.19.ebuild digest
emerge -u mysql

There should be a graceful error message in such occasion, tough.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 04:50:04 UTC
(In reply to comment #3)
> I have been too rushy, downgrade won't do any good. The problem is that the md5
> digest for mysql-patchset-4.1.19-r1.tar.bz2 is not in the digest-mysql-4.1.19
> file. To fix this:

Yeah, this bug is NOT about broken mysql digest. See Bug 132401 for that (already fixed, so please emerge --sync in a while). This one is about portage traceback only, downgrading won't solve the original problem. ;)
Comment 5 Zac Medico gentoo-dev 2006-05-06 04:54:26 UTC
This has been fixed in svn r3324.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 05:25:35 UTC
*** Bug 132551 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 07:17:39 UTC
*** Bug 132557 has been marked as a duplicate of this bug. ***
Comment 8 Zac Medico gentoo-dev 2006-05-07 23:09:26 UTC
This has been release in 2.1_pre10-r4.