Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215308 - masked by corruption and weird side-effects
Summary: masked by corruption and weird side-effects
Status: RESOLVED DUPLICATE of bug 197810
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 216231
  Show dependency tree
 
Reported: 2008-03-29 11:35 UTC by Carsten Lohrke (RETIRED)
Modified: 2008-04-04 19:40 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 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-29 11:35:22 UTC
[ebuild  NSf  ] dev-java/java-sdk-docs-1.5.0-r1
[ebuild  NSF  ] dev-java/java-sdk-docs-1.4.2
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2.03-r15  USE="doc (-nsplugin)"
[ebuild  N    ] dev-java/sun-jre-bin-1.6.0.05  USE="X alsa -nsplugin -odbc"
[ebuild  N F  ] dev-java/ibm-jdk-bin-1.5.0.6-r1  USE="X alsa doc -examples -javacomm -nsplugin -odbc"


Got the following today. When trying to find out what's wrong I did 

emerge -pv =sun-jdk-1.5* and got 

!!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5*" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/sun-jdk-1.5.0.15-r1 (masked by: corruption)
- dev-java/sun-jdk-1.5.0.15 (masked by: corruption)


and similar for 1.4 and 1.6.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-03-29 11:38:58 UTC
Are you using cvs as your main tree and have conflicts in Manifest?
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-29 16:09:13 UTC
No, it's synced as any user does. But probably should have checked against cvs first. Interesting is that I get the following 

Calculating dependencies -!!! Digest verification failed:
 /!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
 \!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
 -!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
 \!!! Digest verification failed:
!!! /usr/local/portage/dev-db/hk_classes/hk_classes-0.8.3-r1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 2390
!!! Expected: 1950
 /!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
!!! Digest verification failed:
!!! /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc

!!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.6*" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/sun-jdk-1.6.0.05-r1 (masked by: corruption)
- dev-java/sun-jdk-1.6.0.05 (masked by: corruption)

so there's something really odd going on. Synced Mandifest and the one from cvs do not differ. Even more interesting, checking the file using jacksum (also validated for sha* using sha*sum) I get a completely different hash values, no matter which algorithm. Refetched the file before of course.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-29 17:08:41 UTC
/me grumbles.... Forget that, hashed the tarball, not the ebuild.

From the ebuild side this has been fixed in between in cvs - just that the mirrors didn't pick it up yet - see bug 215288. It's quite displasing to see such breakages to be fixed silently without ChangeLog entry, though.



Still, regarding Portage there are a couple of issues to notice:

- The output is printed twice (cut the first unrelated local one, but didn't notice its duplicate first).

- all slots are masked for corruption, while only one is affected

- on a hash corruption Portage wrongly picks up other ebuilds satisfying a virtual
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2008-03-29 17:16:19 UTC
same issue was reported on the forums earlier: http://forums.gentoo.org/viewtopic-t-681599.html
Comment 5 Zac Medico gentoo-dev 2008-03-30 01:39:12 UTC

*** This bug has been marked as a duplicate of bug 197810 ***