Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256267 - x11-misc/googleearth-4.3.7284.3916 fails to emerge
Summary: x11-misc/googleearth-4.3.7284.3916 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 01:50 UTC by Fabiano
Modified: 2009-02-06 23:45 UTC (History)
5 users (show)

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 Fabiano 2009-01-25 01:50:14 UTC
I'm using portage 2.2rc23. After syncing portage, I tried to install Google Earth typing following command:

# emerge googleearth -va

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-misc/googleearth-4.3.7284.3916  20,074 kB

Total: 1 package (1 new), Size of downloads: 20,074 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-misc/googleearth-4.3.7284.3916
>>> Downloading 'http://dl.google.com/earth/client/GE4/release_4_3/GoogleEarthLinux.bin'
--2009-01-24 20:12:44--  http://dl.google.com/earth/client/GE4/release_4_3/GoogleEarthLinux.bin
Resolvendo dl.google.com... 209.85.133.190, 209.85.133.91, 209.85.133.93, ...
Connecting to dl.google.com|209.85.133.190|:80... conectado!
HTTP requisição enviada, aguardando resposta... 200 OK
Tamanho: 20554977 (20M) [application/octet-stream]
Saving to: `/dados/portage/distfiles/GoogleEarthLinux.bin'

100%[======================================================================================================================================>] 20.554.977   264K/s   in 1m 40s

2009-01-24 20:14:24 (201 KB/s) - `/dados/portage/distfiles/GoogleEarthLinux.bin' saved [20554977/20554977]

!!! Couldn't download 'GoogleEarthLinux-4.3.7284.3916.bin'. Aborting.
 * Fetch failed for 'x11-misc/googleearth-4.3.7284.3916', Log file:
 *  '/var/log/portage/x11-misc:googleearth-4.3.7284.3916:20090124-221242.log'

>>> Failed to emerge x11-misc/googleearth-4.3.7284.3916, Log file:

>>>  '/var/log/portage/x11-misc:googleearth-4.3.7284.3916:20090124-221242.log'


As the output above shows, it looks like the file was downloaded sucessful, but the ebuild was looking for another file name.

So, I renamed the downloaded file to file name ebuild expected, type the following command:

# mv /usr/portage/distfiles/GoogleEarthLinux.bin /usr/portage/distfiles/GoogleEarthLinux-4.3.7284.3916.bin

and tried to emerge again. It worked just fine.

So, I guess changing the ebuild to look for the downloaded file name or make it download file with file name it expects should solve the problem.


If needed, follows my emerge info:

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-tuxonice-k8-f3 i686)
=================================================================
System uname: Linux-2.6.26-tuxonice-k8-f3-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.0
Timestamp of tree: Sat, 24 Jan 2009 21:30:13 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe -fomit-frame-pointer"
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 /var/lib/hsqldb"
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/dados/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.mirrors.hoobly.com/"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR pt_BR.UTF-8 pt_BR.utf8 pt_BR.UTF8 pt_BR.iso8859-1 pt-BR"
MAKEOPTS="-j3"
PKGDIR="/dados/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="/dados/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amr amrnb amrwb apache2 arts berkdb branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fontconfig fortran gdbm gif gnome gpm gstreamer gtk hal iconv imlib isdnlog java jpeg kde libnotify mad midi mikmod mmx mmxext mozilla mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vcd vim vim-syntax vorbis win32codecs x264 x86 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel hdsp hdspm pcsp" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR pt_BR.UTF-8 pt_BR.utf8 pt_BR.UTF8 pt_BR.iso8859-1 pt-BR" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-01-25 16:37:33 UTC
Works here. Cannot reproduce :(
Comment 2 Fabiano 2009-01-26 01:03:17 UTC
(In reply to comment #1)
> Works here. Cannot reproduce :(
> 

I removed file GoogleEarthLinux-4.3.7284.3916.bin from distfiles dir and tried to emerge again. The exactly same error happens.

Could it be something wrong with my system? Portage rc version? What tests can I do to find out what is wrong?

Can you paste your output of the merge? Especifically the wget part.

ps.: Sorry my bad English, I am still learning.
Comment 3 Balazs Nemeth 2009-02-02 15:57:39 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Works here. Cannot reproduce :(
> > 
> 
> I removed file GoogleEarthLinux-4.3.7284.3916.bin from distfiles dir and tried
> to emerge again. The exactly same error happens.
> 
> Could it be something wrong with my system? Portage rc version? What tests can
> I do to find out what is wrong?
> 
> Can you paste your output of the merge? Especifically the wget part.
> 
> ps.: Sorry my bad English, I am still learning.
> 

I'm trying to emerge googleearth-4.3.7284.3916 but the fetch also fails with this error. Filesize does not match recorded size.

('Filesize does not match recorded size', 25338751, 20554977)
!!! Fetched file: GoogleEarthLinux-4.3.7284.3916.bin VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      25338751
!!! Expected: 20554977

I have one copy with the recorded size, it's really differs.
Comment 4 n.reyrolle 2009-02-03 21:35:47 UTC
Same problem for me, with same wrong size.
Don't know the version downloaded by portage, but the size of version 4.3.7284.3916 is really 20.074 kB on Google website.
Comment 5 Matthew Schultz 2009-02-04 03:51:15 UTC
Sounds like the manifest is screwed up.  The ebuild needs to be digested again:

ebuild googleearth-4.3.7284.3916.ebuild digest


Make sure you digest it after you rename the googleearth file.

mv GoogleEarthLinux-4.3.7284.3916.bin._checksum_failure_.U0Lf-H GoogleEarthLinux-4.3.7284.3916.bin


(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Works here. Cannot reproduce :(
> > > 
> > 
> > I removed file GoogleEarthLinux-4.3.7284.3916.bin from distfiles dir and tried
> > to emerge again. The exactly same error happens.
> > 
> > Could it be something wrong with my system? Portage rc version? What tests can
> > I do to find out what is wrong?
> > 
> > Can you paste your output of the merge? Especifically the wget part.
> > 
> > ps.: Sorry my bad English, I am still learning.
> > 
> 
> I'm trying to emerge googleearth-4.3.7284.3916 but the fetch also fails with
> this error. Filesize does not match recorded size.
> 
> ('Filesize does not match recorded size', 25338751, 20554977)
> !!! Fetched file: GoogleEarthLinux-4.3.7284.3916.bin VERIFY FAILED!
> !!! Reason: Filesize does not match recorded size
> !!! Got:      25338751
> !!! Expected: 20554977
> 
> I have one copy with the recorded size, it's really differs.
> 

Comment 6 Balazs Nemeth 2009-02-04 09:13:36 UTC
(In reply to comment #4)
> Same problem for me, with same wrong size.
> Don't know the version downloaded by portage, but the size of version
> 4.3.7284.3916 is really 20.074 kB on Google website.
> 

Not exactly. The one with the size 20MB is the plus version. See below:
 - googleearth-linux-plus-4.3.7284.3916.bin (20MB)
 - GoogleEarthLinux.bin - renamed by the ebuild to GoogleEarthLinux-4.3.7284.3916.bin - (24MB)
Comment 7 Harald Urkan 2009-02-05 03:04:24 UTC
Opening the downloaded .bin-file in a text editor sheds some light on the problem. It says:

CRCsum="3824460598"
MD5="fe861c7c1118bd5223c0e75c0c5f1e61"
[...]
label="Google Earth for GNU/Linux 5.0.11337.1968"
[...]
targetdir="GoogleEarthLinuxPlus-5.0.11337.1968-installer"
filesizes="25329831"

It seems that Google is mistakenly distributing the new 5.0_beta of Google Earth under the URL given in our ebuild's SRC_URI.

So don't just rename the downloaded distfile, as that would emerge the wrong version. The correct file to download for this ebuild is http://dl.google.com/earth/client/ge4/release_4_3/googleearth-linux-plus-4.3.7284.3916.bin

There also is an ebuild for googleearth-5.0 in Bug 257533.
Comment 8 n.reyrolle 2009-02-05 06:05:35 UTC
I changed the ebuild with the give URL, and re-digested.
It worked perfectly !

Can someone change the ebuild ?

Regards,
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-02-06 23:45:03 UTC
SRC_URI is updated, thanks.