Opened 5 years ago

Last modified 5 years ago

#59457 assigned defect

Kerberos5 checksum failing

Reported by: jadedeane (Jade Deane) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: kerberos5

Description (last modified by mf2k (Frank Schima))

--->  Verifying checksums for kerberos5
Error: Checksum (rmd160) mismatch for krb5-1.17.tar.gz
Error: Checksum (sha256) mismatch for krb5-1.17.tar.gz
Error: Checksum (size) mismatch for krb5-1.17.tar.gz
Error: Failed to checksum kerberos5: Unable to verify file checksums

Attachments (1)

main.log (183.8 KB) - added by jadedeane (Jade Deane) 5 years ago.
Kerberos5 main.log

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by jadedeane (Jade Deane)

Attachment: main.log added

Kerberos5 main.log

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

In the future, please use WikiFormatting and add the port maintainer(s) to Cc (port info --maintainers kerberos5), if any.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: set to ryandesign
Port: kerberos5 added; Kerberos5 removed
Status: newassigned

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

I am not able to reproduce this problem. I verified that the distfile on the MIT server and on our server are identical and that their checksums match what's listed in the Portfile.

Your log says:

:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  e4f1e1f630d0bc6e23e531129212524a6865f02b \
:info:checksum                     sha256  aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22 \
:info:checksum                     size    43

So for some reason the file you received was only 43 bytes, so that's obviously not the right file, or at least not the complete file. Please delete it (sudo port clean --all kerberos5) and try again.

comment:4 Changed 5 years ago by jadedeane (Jade Deane)

Apologies, as I should have mentioned I had (and did again) cleaned kerberos5. Same issue.

Unless I'm missing something, it looks as though kerberos5-1.17_1.darwin_19.x86_64 files aren't in the repos. Last files are kerberos5-1.17_1.darwin_18.x86_64.

--->  Fetching archive for kerberos5
--->  Attempting to fetch kerberos5-1.17_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/kerberos5
--->  Attempting to fetch kerberos5-1.17_1.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/kerberos5
--->  Attempting to fetch kerberos5-1.17_1.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/kerberos5
--->  Verifying checksums for kerberos5
Error: Checksum (rmd160) mismatch for krb5-1.17.tar.gz
Error: Checksum (sha256) mismatch for krb5-1.17.tar.gz
Error: Checksum (size) mismatch for krb5-1.17.tar.gz
Error: Failed to checksum kerberos5: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/main.log for details.
Last edited 5 years ago by jadedeane (Jade Deane) (previous) (diff)

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

We have no binary archives of any kind for darwin 19 at this time. That does not matter. When MacPorts can't download a binary archive, it downloads the source distfile and builds it. That source distfile download is what's failing for you, though it should not be.

What is the contents of the file /opt/local/var/macports/distfiles/kerberos5/krb5-1.17.tar.gz on your system? Can you attach it to this ticket?

Are you able to download the distfile from the MIT server in a web browser? If so, you can manually put it where MacPorts needs it to be. See wiki:ProblemHotlist#fetch-failures.

If you can't download MIT's copy, maybe you are on a network that mangles http traffic. If so, try downloading from an https source, such as from our mirror. If that works but MIT's doesn't, talk to your network administrator and ask them to stop mangling your http traffic.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.