Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215441 - Digest verification failed on /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
Summary: Digest verification failed on /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-...
Status: RESOLVED DUPLICATE of bug 215288
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 13:49 UTC by Arvid Norlander
Modified: 2008-03-30 15:35 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 Arvid Norlander 2008-03-30 13:49:33 UTC
If I try to emerge *any* version of dev-java/sun-jdk I just get the message below. Note that I tried rerunning emerge --sync both yesterday and today but that did not fix the issue

Reproducible: Always

Steps to Reproduce:
1. emerge dev-java/sun-jdk

Actual Results:  
!!! 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


Expected Results:  
It should emerge. Currently it is not possible to install or upgrade dev-java/sun-jdk.

The file in question seems to contain part of a change log for "dev-php5/pecl-apc". Very odd. I have run fsck on the partiton in question, no issues found.

emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Sempron(tm) Processor 3300+
Timestamp of tree: Sun, 30 Mar 2008 13:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/gopher/gophermap"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.gentoo.no/"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/crossdev-overlay /usr/local/portage/cpan-overlay /usr/local/portage/nethack-overlay /usr/local/portage/generic-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 arts audiofile bash-completion berkdb bzip2 cairo caps ccache cdb cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread emacs emboss encode evo exif expat fam fastcgi fbcon firefox flac fontconfig foomaticdb fortran gd gdbm gif glep gmp gnutls gpm gstreamer gtk iconv idea idn ieee1394 imlib iproute2 ipv6 isdnlog javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu lcms lm_sensors logrotate mad mbox midi mikmod mmx mmxext mng mono mozdevelop mp3 mpeg mudflap mysql mysqli ncurses nls nodrm nptl nptlonly nsplugin objc ogg openexr opengl openmp pam pcre pdf perl php physfs pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rle scanner sdl session sndfile spell spl sqlite sse sse2 ssl svg tcl tcpd tetex tiff tk truetype unicode usb utempter vorbis xcomposite xorg xpm xv zlib zsh-completion" ALSA_CARDS="emu10k1 loopback seq-dummy dummy" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa fbdev r128 nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arvid Norlander 2008-03-30 14:33:00 UTC
According to /var/log/emerge.log this server is affected:
1206884439: === Sync completed with rsync://88.198.224.205/gentoo-portage

Just before that sync I tried to remove the entire /usr/portage/dev-java. After the sync the problem was still there.

Due to the removing of the directory the issue can not have been caused by a previous server with same timestamp on the affected file but different checksum, which rsync may not detect as different (depending on command line options given to rsync).

Furthermore I trying running rsync by hand like:
rsync 88.198.224.205::gentoo-portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild test.ebuild. The file is indeed wrong
Comment 2 Arvid Norlander 2008-03-30 14:52:30 UTC
It seemed several rsync mirrors were broken so I did a quick test:

bash $ for mirror in $(host rsync.europe.gentoo.org | cut -d" " -f4); do rsync --timeout=5 "$mirror"::gentoo-portage/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild "$mirror"; done

(bugzilla breaks line there, if you want to run it you got to put them together, host comes from bind-tools btw)

After doing a md5sum on the resulting files:
$ md5sum *
d6c0497d19a49a51ca64fcc8ec36acd4  130.230.54.100
0a20f9e8391de7e02fbe61849eff4628  137.226.34.228
2a7ed74d36a073f85b1054f4ff73530a  193.190.198.20
d6c0497d19a49a51ca64fcc8ec36acd4  194.97.4.250
d6c0497d19a49a51ca64fcc8ec36acd4  81.223.20.162
d6c0497d19a49a51ca64fcc8ec36acd4  88.198.224.205

d6c0497d19a49a51ca64fcc8ec36acd4 is the md5sum of the broken file, so only two mirrors got working files, and one of them, 193.190.198.20, got outdated version.

It seems to be this is such a large-scale problem that I'm moving severity up to critical. I hope the broken mirrors are taken out of rotation until the issue is resolved.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-30 15:35:21 UTC

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