Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42107 - ebuild for gentoo-sources-2.4.22-r7 missing digest and patch files
Summary: ebuild for gentoo-sources-2.4.22-r7 missing digest and patch files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 19:53 UTC by John Altstadt
Modified: 2004-02-19 09:50 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 John Altstadt 2004-02-18 19:53:48 UTC
An emerge of the latest gentoo-sources fails with the messages that the digests are incorrect and that a patch file is missing.

Reproducible: Always
Steps to Reproduce:
emerge -uv gentoo-sources
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.4.22-r7 to /
>>> md5 src_uri ;-) linux-2.4.22.tar.bz2

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 7f4a97d9c29f7dfc959a7a7efb077e29
>>>  your file's digest: bd9fe0048efaff6382d887bfb595f31a
!!! File does not exist: /usr/portage/distfiles//gentoo-sources-2.4.22-r5.patch.bz2


Expected Results:  
The new version of the kernel source should have been installed.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr cjk crypt cups curl dga
directfb doc dvd emacs encode esd ethereal fastcgi fbcon foomaticdb gb gd gdbm
gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde libg++
libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls odbc ofx
oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba
sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb
wmf x86 xml xml2 xmms xv zeo zlib"
Comment 1 Corey Betka 2004-02-19 06:12:59 UTC
Typo in files/digest-gentoo-sources-2.4.22-r7?

betka@rsc-ops files $ cat digest-gentoo-sources-2.4.22-r5
MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612
MD5 7f4a97d9c29f7dfc959a7a7efb077e29 gentoo-sources-2.4.22-r5.patch.bz2 3766950
betka@rsc-ops files $ cat digest-gentoo-sources-2.4.22-r7
MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612
MD5 7f4a97d9c29f7dfc959a7a7efb077e29 gentoo-sources-2.4.22-r5.patch.bz2 3766950
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-02-19 08:44:40 UTC
Nope, it isn't a typo since -r7 has the -r6 AMD64 patch and the -r7 security fix but uses the -r5 tarball. What happened was that -r5 was initially released with a broken version, which was then updated without bumping the revision, and it seems you've got the broken tarball when you installed gentoo-sources-2.4.22-r5.

If you clean out /usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 it should be fine - if not, please reopen this bug. Thanks!
Comment 3 John Altstadt 2004-02-19 09:50:08 UTC
Manually removing /usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 fixed the problem.

However, given the way that files are downloaded for an emerge, perhaps it would have been better to have created a new r7 patch tarball. Either that or find some way to force a re-download of a file if it changes but the name of the file hasn't changed for some peculiar reason. I am sure that other people are going to run into similar problems on other ebuilds.