Opened 13 years ago
Closed 13 years ago
#31271 closed defect (worksforme)
openssl-1.0.0e.tar.gz checksum mismatch
Reported by: | geoffgrimwood | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | openssl |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Have tried several times over the last couple of days.
sudo port -v selfupdate sudo port -v clean --dist openssl sudo port -v install openssl
Unable to verify file checksums
See attached log file
Attachments (1)
Change History (8)
Changed 13 years ago by geoffgrimwood
comment:2 follow-up: 4 Changed 13 years ago by neverpanic (Clemens Lang)
Keywords: | checksum mismatch removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
comment:4 follow-up: 5 Changed 13 years ago by geoffgrimwood
As you can tell I'm no expert on this sort of thing.
Prior to creating the ticket I did follow the FAQ advice on resolving a checksum mismatch. The mismatch remained.
As I seem to be the only suffering this problem then let's just drop the matter and close the ticket.
comment:5 follow-up: 7 Changed 13 years ago by geoffgrimwood
Replying to geoff@…:
The problem still occurs. However, I worked around it. I downloaded openssl-1.0.0.e from macports http://distfiles.macports.org/openssl/. This has the correct checksum. I then copied this to the proper place and re-issued the install command and everything worked. The macports was getting the troublesome distribution from http://www.openssl.org/source/ instead of a macports location (see the main.log attached above). I'm guessing this is why things turned to custard. port was looking for openssl-1.0.0e_0.darwin_11.x86_64.tbz2 at the macports site and couldn't find it.
MAC:opt geoff$ md5 ./local/var/macports/distfiles/openssl/openssl-1.0.0e.tar.gz MD5 (./local/var/macports/distfiles/openssl/openssl-1.0.0e.tar.gz) = ad16b82501176398fde386cb86283acb MAC:opt geoff$ sudo cp ~/Downloads/openssl-1.0.0e.tar.gz ./local/var/macports/distfiles/openssl/. MAC:opt geoff$ md5 ./local/var/macports/distfiles/openssl/openssl-1.0.0e.tar.gz MD5 (./local/var/macports/distfiles/openssl/openssl-1.0.0e.tar.gz) = 7040b89c4c58c7a1016c0dfa6e821c86
I'm happy for this ticket to be closed. If you think there is something that needs fixing then I leave it with you.
Regards
Geoff
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | geoff@… removed |
---|---|
Description: | modified (diff) |
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to geoff@…:
The problem still occurs. However, I worked around it. I downloaded openssl-1.0.0.e from macports http://distfiles.macports.org/openssl/. This has the correct checksum. I then copied this to the proper place and re-issued the install command and everything worked. The macports was getting the troublesome distribution from http://www.openssl.org/source/ instead of a macports location (see the main.log attached above). I'm guessing this is why things turned to custard.
It is normal for there to be multiple possible locations from which a distfile could be downloaded; when working correctly, all servers should be serving identical files. And I checked the file on http://distfiles.macports.org/openssl and http://www.openssl.org/source just now and they are identical, both with the correct checksums matching the portfile.
port was looking for openssl-1.0.0e_0.darwin_11.x86_64.tbz2 at the macports site and couldn't find it.
That's a pre-built binary package, not a source distfile. The lack of a package is not a problem and not related the issue you experienced. MacPorts will attempt to download a package if available, but we don't have packages for Lion (darwin_11) yet so it won't find one, and will then proceed to try to build from source.
I'm happy for this ticket to be closed. If you think there is something that needs fixing then I leave it with you.
Without knowing what was in the incorrect file you got, we won't know if there's something that needs fixing.
comment:8 Changed 13 years ago by mww@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The checksums in the Portfile match the checksums on the openssl homepage. Probably a download error.
The file in question comes back with exactly the checksums in the Portfile for me. Try going through the FAQ for this problem.
Also, please remember to CC the maintainer.