Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286481 - sys-libs/db-4.6.21: Patch fails file size check when emerging
Summary: sys-libs/db-4.6.21: Patch fails file size check when emerging
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 07:49 UTC by spankinpartier
Modified: 2009-10-21 14:06 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 spankinpartier 2009-09-26 07:49:16 UTC
When I try to updating sys-libs/db-4.6.21_p4, patch.4.6.21.3 downloads but fails the file size check.

Reproducible: Always

Steps to Reproduce:
emerge db or in my case emerge -DuN world
Actual Results:  
genclus / # emerge -DuN world
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 20) sys-libs/db-4.6.21_p4
 * patch.4.6.21.1 RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
 * db-4.6.21.tar.gz RMD160 SHA1 SHA256 size ;-) ...                      [ ok ]
 * patch.4.6.21.2 RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
>>> Downloading 'ftp://gentoo.mirrored.ca/distfiles/patch.4.6.21.3'
--2009-09-26 01:43:09--  ftp://gentoo.mirrored.ca/distfiles/patch.4.6.21.3
           => `/usr/portage/distfiles/patch.4.6.21.3'
Resolving gentoo.mirrored.ca... 64.182.91.176
Connecting to gentoo.mirrored.ca|64.182.91.176|:21... failed: Connection refused.
>>> Downloading 'http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3'
--2009-09-26 01:43:14--  http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3
Resolving www.oracle.com... 141.146.9.91
Connecting to www.oracle.com|141.146.9.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1911 (1.9K) [application/octet-stream]
Saving to: `/usr/portage/distfiles/patch.4.6.21.3'

100%[======================================>] 1,911       --.-K/s   in 0.007s

2009-09-26 01:43:15 (265 KB/s) - `/usr/portage/distfiles/patch.4.6.21.3' saved [1911/1911]

('Filesize does not match recorded size', 1911L, 1517)
!!! Fetched file: patch.4.6.21.3 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1911
!!! Expected: 1517
Refetching... File renamed to '/usr/portage/distfiles/patch.4.6.21.3._checksum_failure_.D07vr2'

!!! Couldn't download 'patch.4.6.21.3'. Aborting.
 * Fetch failed for 'sys-libs/db-4.6.21_p4', Log file:
 *  '/var/tmp/portage/sys-libs/db-4.6.21_p4/temp/build.log'

Expected Results:  
The manifest should have expected the patch to have been 1911 bytes.  Then the package would *hopefully* merged.

genclus / # emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r7-i686-AMD_Sempron-tm-_Processor_3000+-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 26 Sep 2009 04:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.4.4-r9, 2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
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.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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrored.ca/"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gd gdbm gif gpm iconv ipv6 isdnlog jpg modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spidermonkey spl ssl sysfs tcpd unicode x86 xml xorg xsl 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter unique_id authz_host" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 spankinpartier 2009-09-26 08:08:06 UTC
I just forced a different mirror and tried remerging and got it to work.

Steps I took to fix this:

rm /usr/portage/distfiles/patch.4.6.21.*
GENTOO_MIRRORS="http://gentoo.netnitco.net" emerge =sys-libs/db-4.6.21_p4
Comment 2 Richard Freeman gentoo-dev 2009-10-21 14:06:48 UTC
Yup - seems to be a mirror issue, but it still persists.