[gentoo-user] Filesize error downloading eigen-3.0.3

2012-01-25 Thread denis cohen
Hi,

I am trying to install freecad which pulls in dev-cpp/eigen-3.0.3.
I get a filesize error which prevents installation of eigen.
Any clues on how to solve this problem?
Thanks

Denis

Here is portage output:

Emerging (1 of 3) dev-cpp/eigen-3.0.3 from science
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
 Downloading 
 'http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2'
--2012-01-25 10:25:26--
http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2
Resolving mirror.switch.ch... 130.59.10.36, 2001:620:0:8::20
Connecting to mirror.switch.ch|130.59.10.36|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-01-25 10:25:26 ERROR 404: Not Found.

 Downloading 'http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2'
--2012-01-25 10:25:26--  http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2
Resolving bitbucket.org... 207.223.240.181, 207.223.240.182
Connecting to bitbucket.org|207.223.240.181|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2 [following]
--2012-01-25 10:25:26--  https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2
Connecting to bitbucket.org|207.223.240.181|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 956798 (934K) [application/x-bzip-compressed-tar]
Saving to: `/usr/portage/distfiles/eigen-3.0.3.tar.bz2'

100%[==] 956,798  458K/s   in 2.0s

2012-01-25 10:25:29 (458 KB/s) -
`/usr/portage/distfiles/eigen-3.0.3.tar.bz2' saved [956798/956798]

!!! Fetched file: eigen-3.0.3.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:  956798
!!! Expected: 955653
Refetching... File renamed to
'/usr/portage/distfiles/eigen-3.0.3.tar.bz2._checksum_failure_.nOd3Qz'

!!! Couldn't download 'eigen-3.0.3.tar.bz2'. Aborting.
 * Fetch failed for 'dev-cpp/eigen-3.0.3', Log file:
 *  '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log'

 Failed to emerge dev-cpp/eigen-3.0.3, Log file:

  '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log'



Re: [gentoo-user] Filesize error downloading eigen-3.0.3

2012-01-25 Thread Dale
denis cohen wrote:
 Hi,
 
 I am trying to install freecad which pulls in dev-cpp/eigen-3.0.3.
 I get a filesize error which prevents installation of eigen.
 Any clues on how to solve this problem?
 Thanks
 
 Denis
 
 Here is portage output:
 
 Emerging (1 of 3) dev-cpp/eigen-3.0.3 from science
  * Fetching files in the background. To view fetch progress, run
  * `tail -f /var/log/emerge-fetch.log` in another terminal.
 Downloading 
 'http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2'
 --2012-01-25 10:25:26--
 http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/eigen-3.0.3.tar.bz2
 Resolving mirror.switch.ch... 130.59.10.36, 2001:620:0:8::20
 Connecting to mirror.switch.ch|130.59.10.36|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 2012-01-25 10:25:26 ERROR 404: Not Found.
 
 Downloading 'http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2'
 --2012-01-25 10:25:26--  http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2
 Resolving bitbucket.org... 207.223.240.181, 207.223.240.182
 Connecting to bitbucket.org|207.223.240.181|:80... connected.
 HTTP request sent, awaiting response... 301 Moved Permanently
 Location: https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2 [following]
 --2012-01-25 10:25:26--  https://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2
 Connecting to bitbucket.org|207.223.240.181|:443... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 956798 (934K) [application/x-bzip-compressed-tar]
 Saving to: `/usr/portage/distfiles/eigen-3.0.3.tar.bz2'
 
 100%[==] 956,798  458K/s   in 2.0s
 
 2012-01-25 10:25:29 (458 KB/s) -
 `/usr/portage/distfiles/eigen-3.0.3.tar.bz2' saved [956798/956798]
 
 !!! Fetched file: eigen-3.0.3.tar.bz2 VERIFY FAILED!
 !!! Reason: Filesize does not match recorded size
 !!! Got:  956798
 !!! Expected: 955653
 Refetching... File renamed to
 '/usr/portage/distfiles/eigen-3.0.3.tar.bz2._checksum_failure_.nOd3Qz'
 
 !!! Couldn't download 'eigen-3.0.3.tar.bz2'. Aborting.
  * Fetch failed for 'dev-cpp/eigen-3.0.3', Log file:
  *  '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log'
 
 Failed to emerge dev-cpp/eigen-3.0.3, Log file:
 
  '/var/tmp/portage/dev-cpp/eigen-3.0.3/temp/build.log'
 
 


If you are certain the file is correct, you can use ebuild to rebuild
the digest.  Keep in mind tho, if there is something wrong with the
file, you get to  keep the pieces.  It will build/compile that even if
it is altered somehow that it shouldn't be.  Basically, that bypasses
all the security portage has to make sure you get the right thing.

Also, when you sync again, it will be reset to whatever is in the tree.
 This is temporary.

I think the command is something like ebuild
path-to-ebuild-including-version digest

If you are not certain of the file, wait a while then sync again.  If
you are in a hurry, try to find the closest Gentoo server, which I would
think would get updated the fastest, and sync with it.

Hope this helps.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Filesize error downloading eigen-3.0.3

2012-01-25 Thread Neil Bothwick
On Wed, 25 Jan 2012 10:38:59 +0100, denis cohen wrote:

 I am trying to install freecad which pulls in dev-cpp/eigen-3.0.3.
 I get a filesize error which prevents installation of eigen.
 Any clues on how to solve this problem?

emerge --sync and try again.

If that fails, try again using a different mirror.

If that fails, file a bug report.

You could also try downloading the file directly from the project's web
site and putting it in $DISTDIR.


-- 
Neil Bothwick

What if there were no hypothetical situations?


signature.asc
Description: PGP signature


Re: [gentoo-user] Filesize error downloading eigen-3.0.3

2012-01-25 Thread pk
On 2012-01-25 10:38, denis cohen wrote:

 I am trying to install freecad which pulls in dev-cpp/eigen-3.0.3.
 I get a filesize error which prevents installation of eigen.
 Any clues on how to solve this problem?

ebuild manifest path-to-eigen.ebuild IIRC... try man ebuild.

Best regards

Peter K