Opened 4 years ago

Closed 4 years ago

#62676 closed defect (fixed)

p5.30-mozilla-ca, p5.28-mozilla-ca: empty distfile downloaded

Reported by: bd34n (Brian Dean) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-mozilla-ca

Description

--->  Fetching distfiles for p5.30-mozilla-ca
--->  Attempting to fetch Mozilla-CA-20200520.tar.gz from http://mirror.bhoovd.com/CPAN/modules/by-module/Mozilla
--->  Verifying checksums for p5.30-mozilla-ca
Error: Checksum (rmd160) mismatch for Mozilla-CA-20200520.tar.gz
Error: Checksum (sha256) mismatch for Mozilla-CA-20200520.tar.gz
Error: Checksum (size) mismatch for Mozilla-CA-20200520.tar.gz
Error: Failed to checksum p5.30-mozilla-ca: 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-mozilla-ca/p5.30-mozilla-ca/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port texlive failed

This issue also affects p5.28-mozilla-ca.

The error is a red herring, though - the files do not appear to exist on the above mirrors. From the log file:

:error:checksum Failed to checksum p5.30-mozilla-ca: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"

Is this a "maintainer" issue for the p5.xx-mozilla-ca port? Multiple ports appear to be affected as it seems to be a common dependency.

I do have a work around for 'git' and 'texlive' (by not using MacPorts for them).

Environment information:

[bsd@yyz]:/vina-d51- port
MacPorts 2.6.4
Entering shell mode... ("help" for help, "quit" to quit)
[doc/vina-d51] > 

MacPorts selfupdate is up-to-date and refreshed

[bsd@yyz]:/vina-d51- uname -a
Darwin yyz 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64

macOS Catalina - Version 10.15.7 (19H524)

Xcode is up to date for my OS: Version 12.4 (12D4e)

NOTE: I have completely removed MacPorts and all installed ports, followed by a reboot and fresh reinstall using instructions from the MacPorts site. It did not help and the error continues.

I have attached the log file from the error above for reference.

Attachments (1)

main.log (4.4 KB) - added by bd34n (Brian Dean) 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mozilla-ca/p5.30-mozilla-ca/main.log

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by bd34n (Brian Dean)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mozilla-ca/p5.30-mozilla-ca/main.log

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Port: p5-mozilla-ca added; git texlive gimp2 and others removed
Summary: p5.30-mozilla-ca, p5.28-mozilla-ca: Fetching archive for p5.30-mozilla-ca - This issue is affecting a lot of ports, like 'git', 'texlive', gimp2, and anything else that depends on itp5.30-mozilla-ca, p5.28-mozilla-ca: empty distfile downloaded

Looks like a case of MisbehavingServers. Are you going through any kind of proxy?

This host seems to be gone, so we should remove it from the list anyway, of course:

% curl -IL http://mirror.bhoovd.com/CPAN/modules/by-module/Mozilla/Mozilla-CA-20200520.tar.gz
curl: (6) Could not resolve host: mirror.bhoovd.com

If your DNS is not giving this error, that could also be a contributing factor.

comment:2 Changed 4 years ago by jmroot (Joshua Root)

In 658e81632c8757ebd151a55c36033e2b581d3b53/macports-ports (master):

remove dead bhoovd.com mirror

See: #62676

comment:3 Changed 4 years ago by bd34n (Brian Dean)

Proxy question: I don't think so. But I did get the DNS server warning from 'port' about it incorrectly claiming to know the address of non-existant hosts.

Before changing name servers to one in the list from the "Misbehaving Servers" link, curl did incorrectly report success.

However, I changed my name server setup to use an alternate name server and it now shows as your example above, i.e.,:

[bsd@yyz]:/tmp- curl -IL http://mirror.bhoovd.com/CPAN/modules/by-module/Mozilla/Mozilla-CA-20200520.tar.gz
curl: (6) Could not resolve host: mirror.bhoovd.com
[bsd@yyz]:/tmp- 

Even though that issue existed, it didn't appear to be the issue here - as 'sudo port -N install git' still fails with the same error (but p5.28-mozilla-ca for 'git').

comment:4 Changed 4 years ago by bd34n (Brian Dean)

I forgot to add - after changing the name server, 'port' no longer warns about my DNS servers incorrectly claiming to know the address of non-existent hosts. But again, I do still experience the failure with p5.28-mozilla-ca (and for some ports p5.30-mozilla-ca).

comment:5 Changed 4 years ago by jmroot (Joshua Root)

Please run sudo port selfupdate to get the updated mirror list, sudo port clean --dist p5.28-mozilla-ca to delete the incorrect distfile, and sudo port checksum p5.28-mozilla-ca to download and verify the file. If it fails, please attach the new log, which should be at least slightly different this time due to using a different mirror.

comment:6 Changed 4 years ago by bd34n (Brian Dean)

Excellent, thank you very much. That all worked and I'm back to building ports with this dependency without issue.

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.