cckec / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

Droid Fonts sha1sum mismatch #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. env WINEPREFIX=/home/test/.wine winetricks allfonts

What is the expected output? What do you see instead?
Expected output : a success message, perhaps ?
I see :

Executing w_do_call droid
Executing load_droid
Executing mkdir -p /home/test/.cache/winetricks/droid
------------------------------------------------------
Checksum for /home/test/.cache/winetricks/droid/DroidSans-Bold.ttf did not 
match, retrying download
------------------------------------------------------
Downloading 
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=dat
a/fonts/DroidSans-Bold.ttf;hb=HEAD to /home/test/.cache/winetricks/droid
--2011-10-15 14:59:39--  
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=dat
a/fonts/DroidSans-Bold.ttf;hb=HEAD
Resolving android.git.kernel.org... 149.20.4.77
Connecting to android.git.kernel.org|149.20.4.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 729 [text/html]
Saving to: `DroidSans-Bold.ttf'

100%[======================================>] 729         --.-K/s   in 0s      

2011-10-15 14:59:40 (40.9 MB/s) - `DroidSans-Bold.ttf' saved [729/729]

------------------------------------------------------
Checksum for /home/test/.cache/winetricks/droid/DroidSans-Bold.ttf did not 
match, retrying download
------------------------------------------------------
Downloading 
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=dat
a/fonts/DroidSans-Bold.ttf;hb=HEAD to /home/test/.cache/winetricks/droid
--2011-10-15 14:59:40--  
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=dat
a/fonts/DroidSans-Bold.ttf;hb=HEAD
Resolving android.git.kernel.org... 149.20.4.77
Connecting to android.git.kernel.org|149.20.4.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 729 [text/html]
Saving to: `DroidSans-Bold.ttf'

100%[======================================>] 729         --.-K/s   in 0s      

2011-10-15 14:59:41 (45.3 MB/s) - `DroidSans-Bold.ttf' saved [729/729]

------------------------------------------------------
sha1sum mismatch!  Rename /home/test/.cache/winetricks/droid/DroidSans-Bold.ttf 
and try again.
------------------------------------------------------

What version of the product are you using? On what operating system?
$ ./winetricks -V
20110629
$ uname -a
Linux test 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 
x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty

Please provide any additional information below.

I manually changed the sha1sum in the script, and as one by one fonts from 
Droid family were downloaded, it occurred to me that all of them have the same 
sha1sum !
This indicates a problematic download of fonts (either the script is calling 
the URL with wrong parameters, or the URL is serving same file for different 
parameters)

$ diff winetricks winetricks.bak 
6469,6472c6469,6472
<     do_droid DroidSans-Bold.ttf        "Droid Sans Bold"         
560e4bcafdebaf29645fbf92633a2ae0d2f9801f
<     do_droid DroidSansFallback.ttf     "Droid Sans Fallback"     
64de2fde75868ab8d4c6714add08c8f08b3fae1e
<     do_droid DroidSansJapanese.ttf     "Droid Sans Japanese"     
b3a248c11692aa88a30eb25df425b8910fe05dc5
<     do_droid DroidSansMono.ttf         "Droid Sans Mono"         
133fb6cf26ea073b456fb557b94ce8c46143b117

---
>     do_droid DroidSans-Bold.ttf        "Droid Sans Bold"         
8aa4732b46e243567c118cac0e38f22641042296
>     do_droid DroidSansFallback.ttf     "Droid Sans Fallback"     
8aa4732b46e243567c118cac0e38f22641042296
>     do_droid DroidSansJapanese.ttf     "Droid Sans Japanese"     
8aa4732b46e243567c118cac0e38f22641042296
>     do_droid DroidSansMono.ttf         "Droid Sans Mono"         
8aa4732b46e243567c118cac0e38f22641042296

~$

Original issue reported on code.google.com by tilda.do...@gmail.com on 15 Oct 2011 at 10:56

GoogleCodeExporter commented 8 years ago
This is a duplicate of the issue 136.

Original comment by recontra...@gmail.com on 20 Oct 2011 at 8:02

GoogleCodeExporter commented 8 years ago
It is because of google git.  You need a login to access these files now.

Try going to the urls in a browser.

I just commented it out but I think you can add the git/password line to 
~/.netrc

Original comment by webd...@gmail.com on 25 Oct 2011 at 5:09

GoogleCodeExporter commented 8 years ago
Dupe.

Original comment by austinenglish@gmail.com on 26 Oct 2011 at 7:03