Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168510 - app-editors/vim-core-7.0.174 bad digest
Summary: app-editors/vim-core-7.0.174 bad digest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 22:17 UTC by David ac
Modified: 2007-02-27 10:00 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 David ac 2007-02-26 22:17:17 UTC
I get the following error when doing an 'emerge -upD world':

localhost vim-core # emerge -upD world

These are the packages that would be merged, in order:

Calculating world dependencies |!!! Digest verification failed:
!!! /usr/portage/app-editors/vim-core/vim-core-7.0.174.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 787
!!! Expected: 791

!!! All ebuilds that could satisfy "~app-editors/vim-core-7.0.174" have been masked.
!!! One of the following masked packages is required to complete your request:
!!! Digest verification failed:
!!! /usr/portage/app-editors/vim-core/vim-core-7.0.174.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 787
!!! Expected: 791
- app-editors/vim-core-7.0.174 (masked by: corruption)
...
localhost vim-core #

I have checked the offending ebuild against that on the gentoo CVS facility, and it is exactly as it should be.

I note that in the Manifest file, the relevant entry is as follows:

EBUILD vim-core-7.0.174.ebuild 791 RMD160 02938a4daf6a89883de9181356e0e41b22f5d398 SHA1 e4cb953c8a58f763547131870916d7f6e6dc3483 SHA256 922e2c9770d2369c52191af8664243dff76b64049260ee9bc3e49e97a9fdc7d2
MD5 afe867521bbb6444c6944d461a5fb5cf vim-core-7.0.174.ebuild 791
RMD160 02938a4daf6a89883de9181356e0e41b22f5d398 vim-core-7.0.174.ebuild 791
SHA256 922e2c9770d2369c52191af8664243dff76b64049260ee9bc3e49e97a9fdc7d2 vim-core-7.0.174.ebuild 791


whereas, I note that the md5sum function returns the following:

davidac@localhost vim-core % md5sum vim-core-7.0.174.ebuild
88ef1c81484ca01f698c4295789e97c2  vim-core-7.0.174.ebuild
davidac@localhost vim-core %

Thus, the stored hash seems also to be incorrect.

Is it possible that on the last revision of the offending ebuild, the Manifest file was not updated correctly?

Reproducible: Always




localhost vim-core # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17.13DavidLaptop i686)
=================================================================
System uname: 2.6.17.13DavidLaptop i686 Genuine Intel(R) CPU           T2050  @ 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 26 Feb 2007 21:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts bluetooth bzip2 cdr cli cracklib crypt css cups daap dbus dga directfb dlloader dri dvd dvdr dvdread ffmpeg firefox fortran gdbm gpm hal hwdata-gentoo iconv ieee1394 imap ipod ipv6 isdnlog java javascript jpeg kde libg++ libwww lm_sensors mailwrapper midi mp3 mplayer musicbrainz mysql ncurses nls nptl nptlonly nvidia ogg pam pcre pdf perl php png ppds pppd python qt3 qt4 readline real reflection rtc samba sasl session spl sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode usb vim-syntax win32codecs x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

localhost vim-core #
Comment 1 Mike Kelly (RETIRED) gentoo-dev 2007-02-27 03:02:38 UTC
Are you sure? I just checked and the digests match up for me. Try emerge --sync again and see if it's still a problem.
Comment 2 David ac 2007-02-27 10:00:05 UTC
ok - re syncing fixed it. i tried doing that this morning and it didn't help, but it worked this time! not sure what happened there.