#13906 closed defect (fixed)
Remote timestamps corrupting distfiles
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.7.0 |
Component: | base | Version: | 1.7.0 |
Keywords: | Cc: | afb@… | |
Port: |
Description
$ sudo port install file Password: ---> Fetching file ---> Attempting to fetch file-4.23.tar.gz from ftp://ftp.fu-berlin.de/unix/tools/file/ ---> Verifying checksum(s) for file Error: Checksum (md5) mismatch for file-4.23.tar.gz Error: Checksum (sha1) mismatch for file-4.23.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. $
The problem is that the first download location, ftp.fu-berlin.de, is malfunctioning, and is including a header line "Last-Modified: Fri, 28 Dec 2007 19:37:24 GMT
" at the beginning of the downloaded file's contents, thus corrupting it and changing its checksum.
The other two listed download locations, ftp.astron.com and ftp.gw.com, are delivering the correct file.
Change History (7)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Milestone: | Port Bugs → MacPorts base bugs |
comment:2 Changed 17 years ago by afb@…
If running MacPorts from trunk, the most likely reason is related to r32801 ?
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | afb@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Anders found that this is a bug in curl 7.13.1, which is unfortunately the version of curl present on Mac OS X 10.4.11. r32722 caused the problem, and r32801 fixed it. See #12629.
comment:4 Changed 17 years ago by afb@…
hehe, Anders sorta introduced the bug himself when commiting that feature... :-)
But I guess it needs another pass at the drawing board, to work around Apple bugs.
comment:5 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Summary: | file 4.23_0 checksum mismatch → Remote timestamps corrupting distfiles |
---|
comment:6 Changed 16 years ago by tobypeterson
Milestone: | MacPorts base bugs → MacPorts Future |
---|
Milestone MacPorts base bugs deleted
comment:7 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.7.0 |
---|
I removed the ftp.fu-berlin.de mirror in r32797 but put it back in r32798 because I was mistaken. It doesn't matter which of the three mirrors is used. The file is fine if I download it via Camino, but is corrupted by the addition of the header line if fetched via MacPorts. I don't yet know why.