Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61145 - emerges for automake since 1.8.5-r1 upgrade was released reporting corrupt or incomplete
Summary: emerges for automake since 1.8.5-r1 upgrade was released reporting corrupt or...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 06:47 UTC by Michael E. Adams
Modified: 2004-08-23 05:35 UTC (History)
1 user (show)

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 Michael E. Adams 2004-08-21 06:47:04 UTC
Since the emerge for automake-1.8.5-r1 was released, I can't emerge any automake version because they report they are corrupt or incomplete.

I marked this a a blocker to get your attention in case someone has trashed your system.


Reproducible: Always
Steps to Reproduce:
1. emerge automake
2. or emerge =automake-1.8.3
3.

Actual Results:  
emerge automake
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/automake-1.8.5-r1 to /
>>> md5 src_uri ;-) automake-1.8.5.tar.bz2
>>> md5 src_uri ;-) automake-1.7.9.tar.bz2
>>> md5 src_uri ;-) automake-1.6.3.tar.bz2
>>> md5 src_uri ;-) automake-1.5.tar.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 24872b81b95d78d05834c39af2cfcf05
>>>  your file's digest: 42596e57fee785b739a9e4c33883e9ea
!!! File does not exist: /usr/portage/distfiles//automake-1.4-p6.tar.gz

emerge =sys-devel/automake-1.8.3
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/automake-1.8.3 to /

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 5e8a685a304c0def671decdfe453a631
>>>  your file's digest: fd469060625fab15fdf7c6268ee34706
!!! File does not exist: /usr/portage/distfiles//automake-1.8.3.tar.bz2


Expected Results:  
successful emerge of latest - or any automake.


 emerge info
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.3, glibc-2.3.4.20040619-r1,
2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake:
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt dvd dvdr encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib jack jpeg libg++ libwww
mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pcmcia
pdflib perl png python quicktime readline sdl slang spell ssl tcltk tcpd
truetype xml2 xmms xv zlib"
Comment 1 Michael E. Adams 2004-08-21 07:02:44 UTC
I should add that the problem first occurred after performing an:

emerge -uD system
Comment 2 Matthew Schulkind 2004-08-21 20:21:42 UTC
All fine here, but the datapipe mirror has been having some trouble today.

Remove datapipe from your mirrors list then:

rm /usr/portage/distfiles/automake*
emerge automake
Comment 3 SpanKY gentoo-dev 2004-08-21 23:33:41 UTC
try a different mirror ... digest is fine
Comment 4 Michael E. Adams 2004-08-22 06:52:37 UTC
Ok, I edited my /etc/make.config to remove datapipe as suggested.rm 
Then:

/usr/portage/distfiles/automake*
emerge automake

And automake emerged just fine. But...

I did an emerge sync and and emerge -uD world and ended up with:

emerge -uD world
Calculating world dependencies ...done!
>>> emerge (1 of 1) x11-libs/qt-3.3.3 to /

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 3e0a0c8429b0a974b39b5f535ddff01c
>>>  your file's digest: 5e2a4a5896cd6fd51d12dfe0fddb9b69
!!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.3.tar.bz2


I may be paranoid, but is something bad happening here? I will submit a bug for this to document it also.

Regards
Comment 5 Matthew Schulkind 2004-08-22 07:37:05 UTC
Once again, as I said, remove datapipe from your list of mirrors. It is broken.
Comment 6 Michael E. Adams 2004-08-22 10:35:05 UTC
Matthew,

I did remove datapipe. I see the listing I supplied has it there, but it is removed - which is why I am concerned. Again, I am not using the datapipe mirror. I also am not able to emerge mirrorselect - again not from datapipe!

Now what?

Comment 7 Matthew Schulkind 2004-08-22 10:38:16 UTC
When you're downloading the packages, does it get the first 200 or so bytes from one mirror and the rest from another?

Does the beginning of the file have HTML in it when it has a bad digest?
Comment 8 Michael E. Adams 2004-08-22 10:50:09 UTC
Matthew,

I don't know how to tell. If I do an emerge -v mirrorselect here is what I get:

emerge --verbose mirrorselect
Calculating dependencies ...done!
>>> emerge (1 of 2) net-analyzer/netselect-0.3 to /

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 3a3714946db2458e5db3d55373057ef2
>>>  your file's digest: 78e64e3d5971677705dcf87a0a017d86
!!! File does not exist: /usr/portage/distfiles//netselect-0.3.tar.gz
Comment 9 Michael E. Adams 2004-08-22 10:52:55 UTC
I Should have sent this:

emerge -v =x11-libs/qt-3.3.3
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/qt-3.3.3 to /

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 3e0a0c8429b0a974b39b5f535ddff01c
>>>  your file's digest: 5e2a4a5896cd6fd51d12dfe0fddb9b69
!!! File does not exist: /usr/portage/distfiles//qt-x11-free-3.3.3.tar.bz2
Comment 10 Matthew Schulkind 2004-08-22 10:58:52 UTC
Delete the files in question and try that again.
Comment 11 Michael E. Adams 2004-08-22 12:48:19 UTC
Matthew,

Yes, Ok, I deleted the files and emerged again, and was successful. Can you explain, or point me to a document that explains how emerge is using md5 and is doing its security checks. I didn't think that the portage tree on my system could be the source of the problem.

Thanks.
Comment 12 Matthew Schulkind 2004-08-22 13:05:05 UTC
/usr/portage/distfiles is not part of the portage tree. That is where portage downloads all the packages to. It does not come in with "emerge sync"
Comment 13 Michael E. Adams 2004-08-23 05:35:30 UTC
Matthew,

Gotcha. I understand. Thanks again.

Regards