1 |
denis cohen wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I am trying to install freecad which pulls in dev-cpp/eigen-3.0.3. |
5 |
> I get a filesize error which prevents installation of eigen. |
6 |
> Any clues on how to solve this problem? |
7 |
> Thanks |
8 |
> |
9 |
> Denis |
10 |
> |
11 |
> Here is portage output: |
12 |
> |
13 |
> Emerging (1 of 3) dev-cpp/eigen-3.0.3 from science |
14 |
> * Fetching files in the background. To view fetch progress, run |
15 |
> * `tail -f /var/log/emerge-fetch.log` in another terminal. |
16 |
>>>> Downloading 'http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2' |
17 |
> --2012-01-25 10:25:26-- |
18 |
> http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2 |
19 |
> Resolving mirror.switch.ch... 130.59.10.36, 2001:620:0:8::20 |
20 |
> Connecting to mirror.switch.ch|130.59.10.36|:80... connected. |
21 |
> HTTP request sent, awaiting response... 404 Not Found |
22 |
> 2012-01-25 10:25:26 ERROR 404: Not Found. |
23 |
> |
24 |
>>>> Downloading 'http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2' |
25 |
> --2012-01-25 10:25:26-- http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2 |
26 |
> Resolving bitbucket.org... 207.223.240.181, 207.223.240.182 |
27 |
> Connecting to bitbucket.org|207.223.240.181|:80... connected. |
28 |
> HTTP request sent, awaiting response... 301 Moved Permanently |
29 |
> Location: https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2 [following] |
30 |
> --2012-01-25 10:25:26-- https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2 |
31 |
> Connecting to bitbucket.org|207.223.240.181|:443... connected. |
32 |
> HTTP request sent, awaiting response... 200 OK |
33 |
> Length: 956798 (934K) [application/x-bzip-compressed-tar] |
34 |
> Saving to: `/usr/portage/distfiles/eigen-3.0.3.tar.bz2' |
35 |
> |
36 |
> 100%[======================================>] 956,798 458K/s in 2.0s |
37 |
> |
38 |
> 2012-01-25 10:25:29 (458 KB/s) - |
39 |
> `/usr/portage/distfiles/eigen-3.0.3.tar.bz2' saved [956798/956798] |
40 |
> |
41 |
> !!! Fetched file: eigen-3.0.3.tar.bz2 VERIFY FAILED! |
42 |
> !!! Reason: Filesize does not match recorded size |
43 |
> !!! Got: 956798 |
44 |
> !!! Expected: 955653 |
45 |
> Refetching... File renamed to |
46 |
> '/usr/portage/distfiles/eigen-3.0.3.tar.bz2._checksum_failure_.nOd3Qz' |
47 |
> |
48 |
> !!! Couldn't download 'eigen-3.0.3.tar.bz2'. Aborting. |
49 |
> * Fetch failed for 'dev-cpp/eigen-3.0.3', Log file: |
50 |
> * '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log' |
51 |
> |
52 |
>>>> Failed to emerge dev-cpp/eigen-3.0.3, Log file: |
53 |
> |
54 |
>>>> '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log' |
55 |
> |
56 |
> |
57 |
|
58 |
|
59 |
If you are certain the file is correct, you can use ebuild to rebuild |
60 |
the digest. Keep in mind tho, if there is something wrong with the |
61 |
file, you get to keep the pieces. It will build/compile that even if |
62 |
it is altered somehow that it shouldn't be. Basically, that bypasses |
63 |
all the security portage has to make sure you get the right thing. |
64 |
|
65 |
Also, when you sync again, it will be reset to whatever is in the tree. |
66 |
This is temporary. |
67 |
|
68 |
I think the command is something like ebuild |
69 |
<path-to-ebuild-including-version> digest |
70 |
|
71 |
If you are not certain of the file, wait a while then sync again. If |
72 |
you are in a hurry, try to find the closest Gentoo server, which I would |
73 |
think would get updated the fastest, and sync with it. |
74 |
|
75 |
Hope this helps. |
76 |
|
77 |
Dale |
78 |
|
79 |
:-) :-) |
80 |
|
81 |
-- |
82 |
I am only responsible for what I said ... Not for what you understood or |
83 |
how you interpreted my words! |
84 |
|
85 |
Miss the compile output? Hint: |
86 |
EMERGE_DEFAULT_OPTS="--quiet-build=n" |