When I tried to emerge cups-1.3.11-r1 I got the following message: ('Filesize does not match recorded size', 3799393, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.YPpPGf' Reproducible: Always Steps to Reproduce: 1. Sync portage 2. Emerge cups-1.3.11-r1 Actual Results: Emerge fails due to a filesize mismatch. Expected Results: Cups should be installed. Portage 2.2_rc51 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.6-ronan-kernel-r0 x86_64) ================================================================= System uname: Linux-2.6.31.6-ronan-kernel-r0-x86_64-AMD_Turion-tm-_X2_Dual-Core_Mobile_RM-72-with-gentoo-2.0.1 Timestamp of tree: Tue, 24 Nov 2009 12:15:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="pt_BR" LC_ALL="pt_BR" LDFLAGS="-Wl,-O1" LINGUAS="pt_BR en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/ronan" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdr cdrparanoia cli consolekit cracklib crypt cups dbus djvu dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran ftp gdbm gif gpm gstreamer gtk gtk2 hal handbook iconv imagemagick ipv6 java javascript jpeg kde ldap libnotify lzma mad mikmod mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime readline reflection rss samba sdl session spell spl sse sse2 ssl startup-notification svg swat sysfs tcpd thunar tiff truetype unicode usb vorbis wma x264 xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 canon sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
After today's portage sync I too have this error.
(In reply to comment #0) > When I tried to emerge cups-1.3.11-r1 I got the following message: > > ('Filesize does not match recorded size', 3799393, 3799424) > !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! > !!! Reason: Filesize does not match recorded size > !!! Got: 3799393 > !!! Expected: 3799424 > Refetching... File renamed to > '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.YPpPGf' > > Reproducible: Always > > Steps to Reproduce: > 1. Sync portage > 2. Emerge cups-1.3.11-r1 > > > Actual Results: > Emerge fails due to a filesize mismatch. > > Expected Results: > Cups should be installed. > > Portage 2.2_rc51 (default/linux/amd64/10.0/desktop, gcc-4.3.4, > glibc-2.9_p20081201-r2, 2.6.31.6-ronan-kernel-r0 x86_64) > ================================================================= > System uname: > Linux-2.6.31.6-ronan-kernel-r0-x86_64-AMD_Turion-tm-_X2_Dual-Core_Mobile_RM-72-with-gentoo-2.0.1 > Timestamp of tree: Tue, 24 Nov 2009 12:15:02 +0000 > ccache version 2.4 [enabled] > app-shells/bash: 4.0_p28 > dev-java/java-config: 2.1.9-r1 > dev-lang/python: 2.6.2-r1 > dev-util/ccache: 2.4-r7 > dev-util/cmake: 2.6.4-r3 > sys-apps/baselayout: 2.0.1 > sys-apps/openrc: 0.5.2-r1 > sys-apps/sandbox: 2.2 > sys-devel/autoconf: 2.13, 2.63-r1 > sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 > sys-devel/binutils: 2.18-r3 > sys-devel/gcc-config: 1.4.1 > sys-devel/libtool: 2.2.6a > virtual/os-headers: 2.6.27-r2 > ACCEPT_KEYWORDS="amd64" > ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=k8-sse3 -O2 -pipe" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release > /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ > /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash > /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d > /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" > CXXFLAGS="-march=k8-sse3 -O2 -pipe" > DISTDIR="/usr/portage/distfiles" > FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch > preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans > userfetch" > GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " > LANG="pt_BR" > LC_ALL="pt_BR" > LDFLAGS="-Wl,-O1" > LINGUAS="pt_BR en" > MAKEOPTS="-j3" > PKGDIR="/usr/portage/packages" > PORTAGE_CONFIGROOT="/" > 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/ronan" > SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" > USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 audiofile > bash-completion berkdb bluetooth branding bzip2 cairo cdr cdrparanoia cli > consolekit cracklib crypt cups dbus djvu dri dts dvd dvdr eds emboss encode evo > fam firefox flac fortran ftp gdbm gif gpm gstreamer gtk gtk2 hal handbook iconv > imagemagick ipv6 java javascript jpeg kde ldap libnotify lzma mad mikmod mmx > modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin > ogg opengl openmp pam pcre pdf perl php png policykit ppds pppd python > qt3support qt4 quicktime readline reflection rss samba sdl session spell spl > sse sse2 ssl startup-notification svg swat sysfs tcpd thunar tiff truetype > unicode usb vorbis wma x264 xcomposite xml xorg xscreensaver xulrunner xv xvid > zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci > 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 mmap_emul mulaw multi null plug > rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic > authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm > authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache > dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache > filter headers include info log_config logio mem_cache mime mime_magic > negotiation rewrite setenvif speling status unique_id userdir usertrack > vhost_alias" CAMERAS="ptp2 canon sony_dscf1 sony_dscf55" ELIBC="glibc" > INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses > text" LINGUAS="pt_BR en" USERLAND="GNU" VIDEO_CARDS="radeon" > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > Same problem here. Looks like delta generated a wrong patch. Use: GETDELTA=0 LINGUAS="en" emerge cups If it worksthan maybe you should close the bug
> Same problem here. Looks like delta generated a wrong patch. Use: > GETDELTA=0 LINGUAS="en" emerge cups > If it worksthan maybe you should close the bug > It not works for me: athlon ~ # GETDELTA=0 LINGUAS="en" emerge -f cups Calculating dependencies... done! >>> Fetching (1 of 1) net-print/cups-1.3.11-r1 >>> Renaming distfile with size 171012 (smaller than PORTAGE_FETCH_RESUME_MIN_SIZE) Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.D5EmOY' >>> Downloading 'http://192.168.2.1/distfiles/cups-1.3.11-source.tar.bz2' --2009-11-26 21:58:02-- http://192.168.2.1/distfiles/cups-1.3.11-source.tar.bz2 Распознаётся gw... 192.168.2.1 Устанавливается соединение с gw|192.168.2.1|:3128... соединение установлено. Запрос Proxy послан, ожидается ответ... 200 OK Длина: 0 [application/x-tar] Saving to: «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» [ <=> ] 0 --.-K/s в 0s 2009-11-26 21:58:02 (0,00 B/s) - «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» saved [0/0] >>> Downloading 'http://ftp2.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2' --2009-11-26 21:58:02-- http://ftp2.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2 Распознаётся gw... 192.168.2.1 Устанавливается соединение с gw|192.168.2.1|:3128... соединение установлено. Запрос Proxy послан, ожидается ответ... 200 OK Длина: 3799393 (3,6M) [application/x-tar] Saving to: «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» 100%[==========================================================================================================================================>] 3 799 393 10,8M/s в 0,3s 2009-11-26 21:58:02 (10,8 MB/s) - «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» saved [3799393/3799393] ('Filesize does not match recorded size', 3799393, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.E9w2zY' >>> Downloading 'http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2' --2009-11-26 21:58:03-- http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2 Распознаётся gw... 192.168.2.1 Устанавливается соединение с gw|192.168.2.1|:3128... соединение установлено. Запрос Proxy послан, ожидается ответ... 200 OK Длина: 3799393 (3,6M) [application/x-tar] Saving to: «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» 100%[==========================================================================================================================================>] 3 799 393 11,0M/s в 0,3s 2009-11-26 21:58:04 (11,0 MB/s) - «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» saved [3799393/3799393] ('Filesize does not match recorded size', 3799393, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.E9w2zY' >>> Downloading 'http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2' --2009-11-26 21:58:04-- http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2 Распознаётся gw... 192.168.2.1 Устанавливается соединение с gw|192.168.2.1|:3128... соединение установлено. Запрос Proxy послан, ожидается ответ... 200 OK Длина: 3799393 (3,6M) [application/octet-stream] Saving to: «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» 100%[==========================================================================================================================================>] 3 799 393 9,26M/s в 0,4s 2009-11-26 21:58:04 (9,26 MB/s) - «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» saved [3799393/3799393] ('Filesize does not match recorded size', 3799393, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.E9w2zY' >>> Downloading 'http://ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2' --2009-11-26 21:58:05-- http://ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2 Распознаётся gw... 192.168.2.1 Устанавливается соединение с gw|192.168.2.1|:3128... соединение установлено. Запрос Proxy послан, ожидается ответ... 200 OK Длина: 3799393 (3,6M) [application/x-bzip2] Saving to: «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» 100%[==========================================================================================================================================>] 3 799 393 11,2M/s в 0,3s 2009-11-26 21:58:05 (11,2 MB/s) - «/usr/portage/distfiles/cups-1.3.11-source.tar.bz2» saved [3799393/3799393] ('Filesize does not match recorded size', 3799393, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.E9w2zY' !!! Couldn't download 'cups-1.3.11-source.tar.bz2'. Aborting. * Fetch failed for 'net-print/cups-1.3.11-r1' >>> Failed to emerge net-print/cups-1.3.11-r1 athlon ~ #
Try to download the file to your home folder from: http://gentoo.mirrors.tera-byte.com/distfiles/cups-1.3.11-source.tar.bz2 Then as root copy the file to your /usr/portage/distfiles/ emerge cups This is more like a workaround for this bug. Tell me if it works this way(In reply to comment #3)
Well, the size of this file isn't equal to the size predicted at Manifest: # wget http://gentoo.mirrors.tera-byte.com/distfiles/cups-1.3.11-source.tar.bz2 --2009-11-27 21:21:51-- http://gentoo.mirrors.tera-byte.com/distfiles/cups-1.3.11-source.tar.bz2 Resolvendo gentoo.mirrors.tera-byte.com... 216.194.64.133 Conectando-se a gentoo.mirrors.tera-byte.com|216.194.64.133|:80... conectado. A requisição HTTP foi enviada, aguardando resposta... 200 OK Tamanho: 3799424 (3,6M) [text/plain] Salvando em: "cups-1.3.11-source.tar.bz2" So, I think that the Manifest should be regenerated. I could got cups-1.3.11-r1 installed after: cd /usr/portage/net-print/cups ebuild cups-1.3.11-r1.ebuild manifest I don't know if I'll have problems, but it was correctly installed and is working very well. Too bad it will be modified on the next sync :D
Thanks for reporting. Fixed manifest and tarball should hit the mirrors soon, --sync and retry in about 2 hours.
Works perfectly now, thanks!