Opened 13 years ago

Closed 13 years ago

#31815 closed defect (invalid)

freetype 2.4.7 corrupt bz2 file

Reported by: amar.rami@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: freetype

Description

the signatures in the free type Portfile (sha256 and rmd160) do not match the freetype-2.4.7.tar.bz2 file.

This is also true for the original file on the http://download.savannah.gnu.org/releases/freetype/

Change History (6)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Cc: ryandesign removed
Keywords: freetype checksum bz2 removed
Owner: changed from macports-tickets@… to ryandesign@…

Trac requires complete email addresses.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Unable to reproduce. What exactly is the output you see?

comment:3 in reply to:  2 Changed 13 years ago by amar.rami@…

Replying to ryandesign@…:

Unable to reproduce. What exactly is the output you see?

this is the output of 'port install free type'

[Users/ramiamar] > install freetype  
--->  Computing dependencies for freetype
--->  Fetching archive for freetype
--->  Attempting to fetch freetype-2.4.7_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/freetype
--->  Fetching freetype
--->  Verifying checksum(s) for freetype
Error: Checksum (rmd160) mismatch for freetype-2.4.7.tar.bz2
Error: Checksum (sha256) mismatch for freetype-2.4.7.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for freetype is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_freetype/freetype/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

i can no longer find the log file, because i manually installed an older version (free type 2.4.6). the log file showed the different sha256 and rmd160 signatures. i just downloaded (again) freetype-2.4.7.tar.bz2 from the above link, and this is the sha256 hash: SHA256(/Users/ramiamar/Downloads/freetype-2.4.7.tar.bz2)= bcd8f3789a79cfc1f3521c7d7786005f8e1e2c881db0b94eb67c565926be537d

even though the Portfile says: sha256 ba22620479954582371286268ef75e6e932c0270ee67d6797bbf3ed9d31a5d77

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I don't know what file you're getting, but the file http://download.savannah.gnu.org/releases/freetype/freetype-2.4.7.tar.bz2 (1490543 bytes) has the checksums indicated in the portfile. Clean and try again?

sudo port clean --all freetype
sudo port install freetype

If that still doesn't work, examine the file you got and see what's wrong with it. Is it a valid .tar.bz2 archive?

comment:5 Changed 13 years ago by amar.rami@…

just downloaded it again, and now the checksum is correct. Sorry for your trouble, I'm sure I downloaded a corrupt file last night. I did it at least 7 or 8 times, and when i tried to unbzip2 and untar the file it failed. My only guess is that my isp cached a bad copy of the file and kept sending it to me. (right now i'm on a different network, with a different isp).

Again, sorry for your trouble.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.