Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141793 - digest verification failed on mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
Summary: digest verification failed on mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 06:24 UTC by Asfand Yar Qazi
Modified: 2006-09-25 06:21 UTC (History)
2 users (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 Asfand Yar Qazi 2006-07-26 06:24:29 UTC
When I do an emerge for firefox like so:

rm /usr/portage/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
sudo emerge -v  mozilla-firefox

I get:


$ sudo emerge -v  mozilla-firefox
Calculating dependencies... done!

>>> Emerging (1 of 1) www-client/mozilla-firefox-1.5.0.4 to /
>>> Downloading http://ftp.heanet.ie/pub/gentoo/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
--14:24:14--  http://ftp.heanet.ie/pub/gentoo/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
           => `/usr/portage/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2'
Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42,114 (41K) [application/x-tar]

100%[==============================================>] 42,114       157.13K/s

14:24:14 (156.65 KB/s) - `/usr/portage/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2' saved [42114/42114]

 * checking ebuild checksums ;-) ...                                                [ ok ]
 * checking auxfile checksums ;-) ...                                               [ ok ]
 * checking miscfile checksums ;-) ...                                              [ ok ]
 * checking firefox-1.5.0.4-source.tar.bz2 ;-) ...                                  [ ok ]
 * checking mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 ;-) ...                     [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 42114
!!! Expected: 36690
Comment 1 Asfand Yar Qazi 2006-07-26 06:25:02 UTC
Oh, and:

$ emerge --info
Portage 2.1.1_pre3-r5 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 Dual Core AMD Opteron(tm) Processor 165
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
MAKEOPTS="-j2"
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.de.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri eds emacs emboss encode foomaticdb gif glitz gs gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mailwrapper md5sum mp3 mpeg ncurses nls nptl nsplugin offensive opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rle samba sdl session smp spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis xinerama xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Christian Marie (RETIRED) gentoo-dev 2006-08-01 06:52:15 UTC
Works for me, emerge --sync and try again? If not, try changing your mirrors.
Comment 3 Giacomo Cariello 2006-08-01 07:02:10 UTC
Could you state what version of media-libs/freetype is installed and what are its USE flags?

Currently, I cannot reproduce the bug (which is obviously related to the "FT_Outline_Funcs" declaration, which happens to exist in: /usr/include/freetype2/freetype/ftimage.h, installed by media-libs/freetype-2.1.9-r1, with USE="zlib -bindist -doc".
Comment 4 Giacomo Cariello 2006-08-01 07:03:09 UTC
Erm...ignore my last post: wrong bug.
Comment 5 Stuart Longland (RETIRED) gentoo-dev 2006-09-25 06:21:08 UTC
stuartl@beast /tmp $ wget http://ftp.heanet.ie/pub/gentoo/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
--23:14:45--  http://ftp.heanet.ie/pub/gentoo/distfiles/mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2
           => `mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2'
Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36,690 (36K) [application/x-tar]

100%[==============================================================>] 36,690         3.25K/s    ETA 00:00

23:15:16 (3.25 KB/s) - `mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2' saved [36690/36690]

stuartl@beast /tmp $ mv mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 /home/portage/distfiles/
stuartl@beast /tmp $ emerge -f =mozilla-firefox-1.5.0.4
Calculating dependencies... done!
>>> Emerging (1 of 1) www-client/mozilla-firefox-1.5.0.4 to /
>>> Previously fetched file: mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 MD5 ;-)
>>> Previously fetched file: mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 RMD160 ;-)
>>> Previously fetched file: mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 SHA1 ;-)
>>> Previously fetched file: mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 SHA256 ;-)
>>> Previously fetched file: mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 size ;-)
>>> Downloading http://www/portage/distfiles/firefox-1.5.0.4-source.tar.bz2
--23:16:27--  http://www/portage/distfiles/firefox-1.5.0.4-source.tar.bz2
           => `/home/portage/distfiles/firefox-1.5.0.4-source.tar.bz2'
Resolving www... 10.0.0.254
Connecting to www|10.0.0.254|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:16:33 ERROR 404: Not Found.

>>> Downloading http://qube/pub/gentoo/distfiles/firefox-1.5.0.4-source.tar.bz2
--23:16:33--  http://qube/pub/gentoo/distfiles/firefox-1.5.0.4-source.tar.bz2
           => `/home/portage/distfiles/firefox-1.5.0.4-source.tar.bz2'
Resolving qube... 10.0.0.1, 2001:388:c116:1:210:e0ff:fe00:863d
Connecting to qube|10.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35,337,540 (34M) [application/x-tar]

100%[==============================================================>] 35,337,540     3.02M/s    ETA 00:00

23:17:01 (1.86 MB/s) - `/home/portage/distfiles/firefox-1.5.0.4-source.tar.bz2' saved [35337540/35337540]

>>> firefox-1.5.0.4-source.tar.bz2 MD5 ;-)
>>> firefox-1.5.0.4-source.tar.bz2 RMD160 ;-)
>>> firefox-1.5.0.4-source.tar.bz2 SHA1 ;-)
>>> firefox-1.5.0.4-source.tar.bz2 SHA256 ;-)
>>> firefox-1.5.0.4-source.tar.bz2 size ;-)
>>> Downloading http://www/portage/distfiles/firefox-en-GB-1.5.0.4.xpi
--23:17:49--  http://www/portage/distfiles/firefox-en-GB-1.5.0.4.xpi
           => `/home/portage/distfiles/firefox-en-GB-1.5.0.4.xpi'
Resolving www... 10.0.0.254
Connecting to www|10.0.0.254|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:17:55 ERROR 404: Not Found.

>>> Downloading http://qube/pub/gentoo/distfiles/firefox-en-GB-1.5.0.4.xpi
--23:17:55--  http://qube/pub/gentoo/distfiles/firefox-en-GB-1.5.0.4.xpi
           => `/home/portage/distfiles/firefox-en-GB-1.5.0.4.xpi'
Resolving qube... 10.0.0.1, 2001:388:c116:1:210:e0ff:fe00:863d
Connecting to qube|10.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139,579 (136K) [application/x-xpinstall]

100%[==============================================================>] 139,579       --.--K/s

23:18:01 (2.70 MB/s) - `/home/portage/distfiles/firefox-en-GB-1.5.0.4.xpi' saved [139579/139579]

>>> firefox-en-GB-1.5.0.4.xpi MD5 ;-)
>>> firefox-en-GB-1.5.0.4.xpi RMD160 ;-)
>>> firefox-en-GB-1.5.0.4.xpi SHA1 ;-)
>>> firefox-en-GB-1.5.0.4.xpi SHA256 ;-)
>>> firefox-en-GB-1.5.0.4.xpi size ;-)
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking firefox-1.5.0.4-source.tar.bz2 ;-)
>>> checking mozilla-firefox-1.5.0.4-patches-1.2.tar.bz2 ;-)
>>> checking firefox-en-GB-1.5.0.4.xpi ;-)
stuartl@beast /tmp $ 

Seems to work here.  I have two suggestions.  Either:
① Blast away the broken file and re-download
or
② Try Firefox 1.5.0.7 instead (which is a security bump, and thus is preferrable)

For now, I'll close the bug since the problem was quite obviously with the HEANET Mirror, and has since been corrected (note the wget output above).  If you strike further troubles, please re-open the bug.