Gentoo Archives: gentoo-alt

From: Osamu Ogasawara <osamu.ogasawara@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] gentoo prefix "Filesize does not match recorded size" error : binutils-config-3
Date: Fri, 16 Nov 2012 15:06:35
Message-Id: CAG7RAEZ-vE2YMxdnHa4TJKL_ow+RD07-EVAgncXhOGniRrajFg@mail.gmail.com
1 Dear all,
2
3 I'm trying to install gentoo prefix on a host: x86_64-pc-linux-gnu.
4
5 In the stage1, I got compile error when building python.
6 In order to workaround this error, I edited bootstrap-prefix.sh as follows.
7 bootstrap_python() {
8 #PV=2.7.2
9 PV=2.7.3
10 #A=python-${PV}-patched.tar.bz2
11 A=Python-${PV}.tar.bz2
12 einfo "Bootstrapping ${A%-*}"
13
14 # don't really want to put this on the mirror, since they are
15 # non-vanilla sources, bit specific for us
16 #efetch ${DISTFILES_URL}/${A} || return 1
17 PYTHON_URL="http://www.python.org/ftp/python/2.7.3"
18 efetch ${PYTHON_URL}/${A} || return 1
19
20 Then the stage 1, 2, 3 worked fine.
21
22 But, in the last step of the gentoo prefix installation,
23 I got the following error.
24
25 $ emerge -e system
26
27 * IMPORTANT: 4 news items need reading for repository 'gentoo_prefix'.
28 * Use eselect news to read news items.
29
30 Calculating dependencies... done!
31
32 >>> Verifying ebuild manifests
33
34 !!! Digest verification failed:
35 !!! /lustre2/home/oogasawa/gentoo/usr/portage/sys-devel/binutils-config/files/binutils-config-3
36 !!! Reason: Filesize does not match recorded size
37 !!! Got: 14659
38 !!! Expected: 14623
39
40 Would someone tell me how to resolve this error?
41 I tried emerge --sync command, but the same error occurred again.
42
43 Sincerely,
44
45 Osamu Ogasawara
46 National Institute of Genetics
47 Japan

Replies