Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259654 - dev-util/android-sdk-1.1_p1 ebuild has wrong size / checksums for upstream source
Summary: dev-util/android-sdk-1.1_p1 ebuild has wrong size / checksums for upstream so...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 23:25 UTC by Steve Brudenell
Modified: 2009-02-22 18:12 UTC (History)
0 users

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 Steve Brudenell 2009-02-19 23:25:09 UTC
I can't emerge the latest android-sdk, as the file size and checksums (md5, rmd160, etc) seem wrong for the .zip file from dl.google.com.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync 
2. emerge android-sdk

Actual Results:  
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/android-sdk-1.1_p1
>>> Downloading 'http://dl.google.com/android/android-sdk-linux_x86-1.1_r1.zip'
--2009-02-19 23:05:13--  http://dl.google.com/android/android-sdk-linux_x86-1.1_r1.zip
Resolving dl.google.com... 209.85.173.136, 209.85.173.190, 209.85.173.91, ...
Connecting to dl.google.com|209.85.173.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 79345522 (76M) [application/zip]
Saving to: `/usr/portage/distfiles/android-sdk-linux_x86-1.1_r1.zip'

100%[=====================================================================>] 79,345,522   165K/s   in 7m 8s   0

2009-02-19 23:12:22 (181 KB/s) - `/usr/portage/distfiles/android-sdk-linux_x86-1.1_r1.zip' saved [79345522/79345522]

('Filesize does not match recorded size', 79345522L, 79219171)
!!! Fetched file: android-sdk-linux_x86-1.1_r1.zip VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      79345522
!!! Expected: 79219171
Refetching... File renamed to '/usr/portage/distfiles/android-sdk-linux_x86-1.1_r1.zip._checksum_failure_.IxvGmB'

!!! Couldn't download 'android-sdk-linux_x86-1.1_r1.zip'. Aborting.
 * Fetch failed for 'dev-util/android-sdk-1.1_p1', Log file:
 *  '/var/tmp/portage/dev-util/android-sdk-1.1_p1/temp/build.log'

>>> Failed to emerge dev-util/android-sdk-1.1_p1, Log file:

>>>  '/var/tmp/portage/dev-util/android-sdk-1.1_p1/temp/build.log'

 * Messages for package dev-util/android-sdk-1.1_p1:

 * Fetch failed for 'dev-util/android-sdk-1.1_p1', Log file:
 *  '/var/tmp/portage/dev-util/android-sdk-1.1_p1/temp/build.log'

Expected Results:  
Should install normally to /opt/android-sdk-*

It doesn't look like the ebuild needs to be changed at all. I just updated the manifests and it worked.

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29-rc2smp i686)
=================================================================
System uname: Linux-2.6.29-rc2smp-i686-Intel-R-_Core-TM-_Duo_CPU_U2400_@_1.06GHz-with-glibc2.0
Timestamp of tree: Thu, 19 Feb 2009 20:20:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.5
sys-devel/autoconf:  2.13, 2.63
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.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://gentoo.mirrors.pair.com/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://cudlug.cudenver.edu/gentoo/ http://gentoo.osuosl.org/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
LINGUAS="en hi es de fr jp"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa ao apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus dri dts dv dvd dvdnav dvdread dvi encode esd evcalibrate exif fam fastcgi ffmpeg flac fortran gdbm git gnome gphoto2 gpm gtk hal hddtemp iconv imagemagick imap iproute2 ipv6 ipw3945 isdnlog java6 jpeg json kerberos laptop ldap libnotify lm_sensors matroska mdnsresponder-compat midi mjpeg mmap mmx mmxext mp2 mp3 mpeg mudflap mysql mysqli nas ncurses network networkmanager nls nptl nptlonly nsplugin nuv offensive ogg openmp pam pcmcia pcre perl png posix pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session shout soap sockets spell spl sqlite3 sse sse2 ssl subversion svg sysfs syslog tcpd theora threads truetype unicode upnp usb v4l v4l2 vim-syntax vorbis wifi win32codecs x264 x86 xattr xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hi es de fr jp" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Beswick 2009-02-20 10:52:44 UTC
I can confirm this bug, whatever the ebuild is expecting is not what google are providing.

I have checked the md5sum of the copy of android-sdk-linux_x86-1.1_r1.zip that the ebuild downloads and it matches the expected "ebcb16b0cd4aef198b4dd9a1418efbf1" provided on the android release page at http://developer.android.com/sdk/1.1_r1/index.html. Correct checksums are...

DIST android-sdk-linux_x86-1.1_r1.zip 79345522 RMD160 13d587c937d20b148c5d1fee489fd6fb5d3b5ed6 SHA1 bad1632dea2837614a18e822dfa0d75c848a469e SHA256 170fd39c5ffe02e2b24860b5db5e9b997b6d82a89c0398ca3b7063aae2dce085

Just in case anyone has found this bug while trying to install,

ebuild --force usr/portage/dev-util/android-sdk/android-sdk-1.1_p1.ebuild manifest

will fix it until you next sync portage.
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-02-22 18:12:22 UTC
Fixed manifest committed.