Summary: | install of android-sdk-update-manager fails due to incorrect file size | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | alexander.jerneck |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | rich0 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
alexander.jerneck
2009-11-18 01:21:21 UTC
jeroen@astrid /keeps/gentoo/cvs/gentoo-x86/dev-util/android-sdk-update-manager $ ebuild android-sdk-update-manager-3.ebuild fetch Appending /keeps/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY... >>> Downloading 'http://dl.google.com/android/android-sdk_r3-linux.tgz' --2009-11-18 02:25:38-- http://dl.google.com/android/android-sdk_r3-linux.tgz Resolving dl.google.com (dl.google.com)... 209.85.229.91, 209.85.229.190, 209.85.229.93, ... Connecting to dl.google.com (dl.google.com)|209.85.229.91|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 15986291 (15M) [application/x-tar] Saving to: `/newaches/gentoo/distfiles/android-sdk_r3-linux.tgz' 100%[=============================================>] 15,986,291 1.77M/s in 8.7s 2009-11-18 02:25:47 (1.76 MB/s) - `/newaches/gentoo/distfiles/android-sdk_r3-linux.tgz' saved [15986291/15986291] * android-sdk_r3-linux.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] Can't reproduce that. Please delete that file in your distfiles directory and try again. Oh, and update your profile - it's ancient. And your compiler too. I am no expert on paludis output, but it seems to suggest that fetching failed, whilst it doesn't mention what (URL) it tried to fetch, or indeed if fetching succeeded and it's the integrity check that failed. (In reply to comment #1) > jeroen@astrid /keeps/gentoo/cvs/gentoo-x86/dev-util/android-sdk-update-manager > $ ebuild android-sdk-update-manager-3.ebuild fetch > Appending /keeps/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY... > >>> Downloading 'http://dl.google.com/android/android-sdk_r3-linux.tgz' > --2009-11-18 02:25:38-- http://dl.google.com/android/android-sdk_r3-linux.tgz > Resolving dl.google.com (dl.google.com)... 209.85.229.91, 209.85.229.190, > 209.85.229.93, ... > Connecting to dl.google.com (dl.google.com)|209.85.229.91|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 15986291 (15M) [application/x-tar] > Saving to: `/newaches/gentoo/distfiles/android-sdk_r3-linux.tgz' > > 100%[=============================================>] 15,986,291 1.77M/s in > 8.7s > > 2009-11-18 02:25:47 (1.76 MB/s) - > `/newaches/gentoo/distfiles/android-sdk_r3-linux.tgz' saved [15986291/15986291] > > * android-sdk_r3-linux.tgz RMD160 SHA1 SHA256 size ;-) ... > [ ok ] > * checking ebuild checksums ;-) ... > [ ok ] > * checking auxfile checksums ;-) ... > [ ok ] > * checking miscfile checksums ;-) ... > [ ok ] > > Can't reproduce that. Please delete that file in your distfiles directory and > try again. Oh, and update your profile - it's ancient. And your compiler too. I > am no expert on paludis output, but it seems to suggest that fetching failed, > whilst it doesn't mention what (URL) it tried to fetch, or indeed if fetching > succeeded and it's the integrity check that failed. > I removed all the android distfiles (again) and tried again. This is the output: Trying to fetch 'http://mirror.datapipe.net/gentoo/distfiles/android-sdk_r3-linux.tgz' to 'android-sdk_r3-linux.tgz'... wget -T 30 -t 1 --continue -O /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- http://mirror.datapipe.net/gentoo/distfiles/android-sdk_r3-linux.tgz --2009-11-17 20:33:52-- http://mirror.datapipe.net/gentoo/distfiles/android-sdk_r3-linux.tgz Resolving mirror.datapipe.net... 64.27.65.115 Connecting to mirror.datapipe.net|64.27.65.115|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2009-11-17 20:33:55 ERROR 404: Not Found. Trying to fetch 'http://lug.mtu.edu/gentoo//distfiles/android-sdk_r3-linux.tgz' to 'android-sdk_r3-linux.tgz'... [32;01m* [0m Not attempting resume using /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- (too small) rm -f /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- wget -T 30 -t 1 --continue -O /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- http://lug.mtu.edu/gentoo//distfiles/android-sdk_r3-linux.tgz --2009-11-17 20:33:55-- http://lug.mtu.edu/gentoo//distfiles/android-sdk_r3-linux.tgz Resolving lug.mtu.edu... 141.219.155.230, 2001:48a8:0:8:0:3:0:232 Connecting to lug.mtu.edu|141.219.155.230|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2009-11-17 20:33:57 ERROR 404: Not Found. Trying to fetch 'http://gentoo.chem.wisc.edu/gentoo//distfiles/android-sdk_r3-linux.tgz' to 'android-sdk_r3-linux.tgz'... [32;01m* [0m Not attempting resume using /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- (too small) rm -f /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- wget -T 30 -t 1 --continue -O /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- http://gentoo.chem.wisc.edu/gentoo//distfiles/android-sdk_r3-linux.tgz --2009-11-17 20:33:57-- http://gentoo.chem.wisc.edu/gentoo//distfiles/android-sdk_r3-linux.tgz Resolving gentoo.chem.wisc.edu... 128.104.70.13 Connecting to gentoo.chem.wisc.edu|128.104.70.13|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2009-11-17 20:33:58 ERROR 404: Not Found. Trying to fetch 'http://mirror.fslutd.org/linux/distributions/gentoo//distfiles/android-sdk_r3-linux.tgz' to 'android-sdk_r3-linux.tgz'... [32;01m* [0m Not attempting resume using /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- (too small) rm -f /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- wget -T 30 -t 1 --continue -O /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- http://mirror.fslutd.org/linux/distributions/gentoo//distfiles/android-sdk_r3-linux.tgz --2009-11-17 20:33:58-- http://mirror.fslutd.org/linux/distributions/gentoo//distfiles/android-sdk_r3-linux.tgz Resolving mirror.fslutd.org... 216.240.187.103, 216.240.187.102 Connecting to mirror.fslutd.org|216.240.187.103|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1208 (1.2K) [text/html] Saving to: `/usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL-' 0% [ ] 0 --.-K/s 100%[======================================>] 1,208 --.-K/s in 0s 2009-11-17 20:33:59 (59.3 MB/s) - `/usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL-' saved [1208/1208] mv -f /usr/portage/distfiles/android-sdk_r3-linux.tgz.-PARTIAL- /usr/portage/distfiles/android-sdk_r3-linux.tgz Checking 'android-sdk_r3-linux.tgz'... incorrect size Fetch error: * In program paludis -i android-sdk-update-manager: * When performing install action from command line: * When executing install task: * When fetching 'dev-util/android-sdk-update-manager-3:0::gentoo': * Fetch error: Fetch of 'dev-util/android-sdk-update-manager-3:0::gentoo' failed * File 'android-sdk_r3-linux.tgz': failed integrity checks: Incorrect file size Odd, looks like some kind of a mirror problem. The mirror is sending you some html instead of the actual file (which it shouldn't have since the ebuild is RESTRICT=nomirror. If that file actually has some text/html in it and it isn't huge can you attach it to this bug? It might help when we refer this to whoever runs that mirror. (In reply to comment #3) > Odd, looks like some kind of a mirror problem. The mirror is sending you some > html instead of the actual file (which it shouldn't have since the ebuild is > RESTRICT=nomirror. > > If that file actually has some text/html in it and it isn't huge can you attach > it to this bug? It might help when we refer this to whoever runs that mirror. > I'm pasting the contents here because I keep running into the fhslice error when attaching. <html> <head> <title>fslutd.org</title> <script type="text/javascript" src="/js/general.js"></script> <script type="text/javascript"> ChkRequestEnc('YToyMTp7aTowO3M6MTk6IjIwMDktMTEtMTggMTI6MzM6NTgiO2k6MTtzOjc6IjM2NDQ1MjIiO2k6MjtOO2k6MztzOjExOiJXZ2V0LzEuMTEuMSI7aTo0O3M6NjM6Ii9saW51eC9kaXN0cmlidXRpb25zL2dlbnRvby8vZGlzdGZpbGVzL2FuZHJvaWQtc2RrX3IzLWxpbnV4LnRneiI7aTo1O3M6MTI6IjIwOC41NC45NC45NSI7aTo2O3M6MToiMiI7aTo3O3M6MDoiIjtpOjg7czowOiIiO2k6OTtzOjI6IlVTIjtpOjEwO3M6MTA6IldBU0hJTkdUT04iO2k6MTE7czo4OiJJU1NBUVVBSCI7aToxMjtzOjY6IjI2NTc4NCI7aToxMztzOjEwOiJmc2x1dGQub3JnIjtpOjE0O3M6NzA6Imh0dHA6Ly9zZWFyY2hwb3J0YWwuaW5mb3JtYXRpb24uY29tLz9vX2lkPTExOTAzNyZkb21haW5uYW1lPWZzbHV0ZC5vcmciO2k6MTU7TjtpOjE2O047aToxNztOO2k6MTg7TjtpOjE5O047aToyMDtOO30='); </script> <script type="text/javascript"> </script> </head> <frameset rows="100%,*" frameborder="no" border="0" framespacing="0"> <!-- SCC a2 --> <frame src="http://searchportal.information.com/?o_id=119037&domainname=fslutd.org"> <noframes> <body bgcolor="#ffffff" text="#000000"> <a href="http://searchportal.information.com/?o_id=119037&domainname=fslutd.org">Click here to enter</a>. </body> </noframes> </frameset> </html> Is it really the mirror's fault? The mirror isn't supposed to have that file -- the real problem is that the package manager is trying mirrors despite RESTRICT=mirror in the ebuild. I think you need to update paludis to a recent version. After you've done that, see if you can reproduce the fetch bug. I dunno - perhaps we should have some kind of specification on how a mirror behaves if a file doesn't exist. The same problem could come up with a new ebuild before all the mirrors refresh. I agree that trying to fetch a mirror restricted file from a mirror is a bit brain-dead... :) Works for us, then? No objections - the ebuild/manifest are fine - at most this is a mirror and package manager issue - a fairly minor one. |