Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139544 - x11-misc/googleearth broken digest due to silent upstream changes
Summary: x11-misc/googleearth broken digest due to silent upstream changes
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: 140684 140875 140985 147683 147889 150975 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 06:30 UTC by Marcel Campello Ferreira
Modified: 2009-01-10 17:31 UTC (History)
19 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 Marcel Campello Ferreira 2006-07-07 06:30:16 UTC
basilio ~ # emerge googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4_beta to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking GoogleEarthLinux.bin
!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 17027325
!!! Expected: 16984110
Comment 1 Rabbe Fogelholm 2006-07-08 04:28:38 UTC
I tried to truncate /usr/portage/distfiles/GoogleEarthLinux.bin to the expected size 16984110, but that did not help, it just got me a "failed on MD5 verification" error.

Does this problem occur because the providers of Google Earth change the contents of the download URL?

The file that gets downloaded to /usr/portage/distfiles claims to be version 4.0.1660 (for the time being).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-08 05:27:03 UTC
(In reply to comment #1)
> Does this problem occur because the providers of Google Earth change the
> contents of the download URL?

Yes, sure... it would be nice if enough people complained to Google so that they start to provide versioned tarballs like everyone else.
Comment 3 HeXiLeD 2006-07-08 09:04:24 UTC
The same problem, happens on amd64 install 
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking GoogleEarthLinux.bin
!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 17027325
!!! Expected: 16984110

removing the ebuild and then sync doesnt solve  the problem.
i also tried to use the package from google;s website and it didnt work either.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-08 09:14:59 UTC
thanks I have redigested it.
Comment 5 Bill Skellenger 2006-07-09 06:35:24 UTC
Guys, I know this ebuild is still masked, but perhaps we should leave this one open.  

Is it possible to add a warning message in the ebuild to explain to users how to get around this (i.e. create a new digest)?  IMO, the ebuild is still "broken" if Google doesn't move to a versioned tarball as Jakub suggested.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 12:26:16 UTC
*** Bug 140684 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 12:27:00 UTC
Broken again... Upstream should really improve their release hygiene. :P
Comment 8 Hanno Böck gentoo-dev 2006-07-16 14:47:36 UTC
Are we allowed to mirror them? Then we could add date-versioned files on our servers or something like this.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 14:59:26 UTC
(In reply to comment #8)
> Are we allowed to mirror them? Then we could add date-versioned files on our
> servers or something like this.

Unfortunately not. We did and upstream screamed. :/
 

Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-16 15:01:42 UTC
no, we are not allowed to mirror it:

You agree
that you will not, and will not allow any third party
to, (i) copy, sell, license, distribute, transfer,
modify, adapt, translate, prepare derivative works
from, decompile, reverse engineer, disassemble or
otherwise attempt to derive source code from the
Software, unless otherwise permitted, ...

keyword being "distribute" here.
So just use emerge --digest when you come across this bug. Portage does not allow always redownloading and not checking digests yet.

If you are a developer feel free to commit the new digest when this comes up again. I just did fix this digest.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 00:46:10 UTC
*** Bug 140875 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 00:49:13 UTC
And again. This is starting to be a huge PITA, anyone tried to contact Google folks and give them a hint on doing civilized releases?
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-18 03:14:31 UTC
redigested again
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2006-07-18 03:40:11 UTC
I have mailed a friend at Google about this. Fingers crossed...
Comment 15 Daniel Black (RETIRED) gentoo-dev 2006-07-18 17:52:35 UTC
*** Bug 140985 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 06:23:20 UTC
*** Bug 147683 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 06:23:49 UTC
And again...
Comment 18 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-15 07:27:07 UTC
fixed
Comment 19 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-16 02:37:32 UTC
fixed
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 00:44:21 UTC
*** Bug 147889 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-10-12 01:16:20 UTC
*** Bug 150975 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-10-12 01:16:34 UTC
Guess what... :P
Comment 23 Andrej Kacian (RETIRED) gentoo-dev 2006-10-13 13:39:32 UTC
What?

Freshly downloaded distfile:

 * GoogleEarthLinux.bin MD5 ;-) ...                                       [ ok ]
 * GoogleEarthLinux.bin RMD160 ;-) ...                                    [ ok ]
 * GoogleEarthLinux.bin SHA1 ;-) ...                                      [ ok ]
 * GoogleEarthLinux.bin SHA256 ;-) ...                                    [ ok ]
 * GoogleEarthLinux.bin size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking GoogleEarthLinux.bin ;-) ...                                  [ ok ]

...and it does not look like anyone touched the digest in past few days.
Comment 24 Peter Quantim 2006-11-13 11:20:09 UTC
And again....
Comment 25 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-17 14:14:57 UTC
dont always reopen this bug. YOu also get digest mismatches when you dont have the latest version of the tarball yourself.

Please remove /usr/portage/distfiles/GoogleEarthLinux.bin and try again prior to posting here.

I am still hoping for upstream to change their tarball name for this one
Comment 26 hYpErAcTiVe 2008-04-17 09:47:24 UTC
Seems to be a long time ago, when this bug happened the last time, but I'm think, it's the same problem:

emerge -va googleearth

[..]

>>> Emerging (1 of 1) x11-misc/googleearth-4.2.205.5730 to /
>>> Downloading 'http://dl.google.com/earth/client/current/GoogleEarthLinux.bin'

[..]

!!! Fetched file: GoogleEarthLinux.bin VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      20110357
!!! Expected: 23048189
Refetching... File renamed to '/usr/portage/distfiles/GoogleEarthLinux.bin._checksum_failure_.Rg73kM'

!!! Couldn't download 'GoogleEarthLinux.bin'. Aborting.
 * Fetch failed for 'x11-misc/googleearth-4.2.205.5730'
!!! can't process invalid log file: '/var/tmp/portage/x11-misc/googleearth-4.2.205.5730/temp/logging/merge'