Opened 8 months ago

Last modified 8 months ago

#69618 new defect

p5.34-math-random @0.720.0 checksum failure

Reported by: shashanksd11 (Shashank P M) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-math-random

Description (last modified by jmroot (Joshua Root))

Failure to install p5.34-math-random, while trying to install demeter using the command "sudo port install xorg-server demeter"

Computing dependencies for p5.34-math-random
--->  Fetching archive for p5.34-math-random
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/p5.34-math-random
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/p5.34-math-random
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/p5.34-math-random
--->  Verifying checksums for p5.34-math-random
Error: Failed to checksum p5.34-math-random: Math-Random-0.72.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-math-random/p5.34-math-random/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is
a bug.
Error: Processing of port p5.34-math-random failed

Change History (4)

comment:1 Changed 8 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: port error not found removed
Port: p5-math-random added; p5.34-math-random removed
Priority: HighNormal
Summary: Failure to install p5.34-math-randomp5.34-math-random @0.720.0 checksum failure
Math-Random-0.72.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5

The fetch phase is marked as complete but the distfile has been deleted one way or another. Run sudo port clean --dist p5.34-math-random and try again, and attach the log if it fails.

comment:2 Changed 8 months ago by shashanksd11 (Shashank P M)

Hello,

I tried that and it failed again. Here is the log.

--->  Fetching archive for p5.34-math-random
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from https://packages.macports.org/p5.34-math-random
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/p5.34-math-random
--->  Attempting to fetch p5.34-math-random-0.720.0_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/p5.34-math-random
--->  Fetching distfiles for p5.34-math-random
--->  Attempting to fetch Math-Random-0.72.tar.gz from https://cpan.mirror.colo-serv.net/modules/by-module/Math
--->  Attempting to fetch Math-Random-0.72.tar.gz from http://mirror.met.hu/CPAN/modules/by-module/Math
--->  Verifying checksums for p5.34-math-random
Error: Checksum (rmd160) mismatch for Math-Random-0.72.tar.gz
Error: Checksum (sha256) mismatch for Math-Random-0.72.tar.gz
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/perl5/Math-Random-0.72.tar.gz.html
Error: Failed to checksum p5.34-math-random: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-math-random/p5.34-math-random/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port demeter failed

Thanks!

Last edited 8 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Ok, that happens because the server mirror.met.hu is not online and you have a (probably intentionally) misconfigured DNS server. I recommend using a DNS server configured in compliance with Internet standards to avoid this in the future. And we should remove that nonexistent server from the list.

Last edited 8 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

According to a comment in source:macports-ports/_resources/port1.0/fetch/mirror_sites.tcl our list of cpan/perl mirrors is from https://cpan.metacpan.org/SITES.html but at that page it now says:

For many years, CPAN benefitted from the mirroring of the central respository to many sites around the world. In the time of a slower global Internet, these mirrors provided most Perl users with fast access to thousands of software distributions. These days, the CPAN is backed by a CDN that performs the same job, but transparently. There is no longer a list of registered mirrors, you can just point at www.cpan.org and go.

Maybe we should remove all our cpan/perl mirrors.

Note: See TracTickets for help on using tickets.