Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 215308
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 197810
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carsten Lohrke <carlo@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 215308 depends on: Show dependency tree
Bug 215308 blocks: 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-29 11:35 0000
[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 From Petteri Räty 2008-03-29 11:38:58 0000 -------
Are you using cvs as your main tree and have conflicts in Manifest?

------- Comment #2 From Carsten Lohrke 2008-03-29 16:09:13 0000 -------
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 From Carsten Lohrke 2008-03-29 17:08:41 0000 -------
/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 From Marius Mauch (RETIRED) 2008-03-29 17:16:19 0000 -------
same issue was reported on the forums earlier:
http://forums.gentoo.org/viewtopic-t-681599.html

------- Comment #5 From Zac Medico 2008-03-30 01:39:12 0000 -------

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug