Opened 3 years ago

Closed 3 years ago

#63964 closed defect (invalid)

p5-mozilla-ca: unable to locate archive on any mirror site

Reported by: scorpion7-7 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: cjones051073 (Chris Jones)
Port: p5-mozilla-ca p5.28-mozilla-ca p5.30-mozilla-ca

Description

All attempts to retrieve the archive file for the port fails.

Attachments (2)

failure.txt (3.9 KB) - added by scorpion7-7 3 years ago.
Screen Shot 2021-11-16 at 11.36.32 AM.jpg (114.0 KB) - added by scorpion7-7 3 years ago.

Download all attachments as: .zip

Change History (12)

Changed 3 years ago by scorpion7-7

Attachment: failure.txt added

comment:1 Changed 3 years ago by scorpion7-7

This is a require dependency for LWP::Protocol::https, which is what revealed the error.

comment:2 Changed 3 years ago by cjones051073 (Chris Jones)

works just fine here....

:error:checksum Checksum (size) mismatch for Mozilla-CA-20200520.tar.gz
41	:info:checksum Portfile checksum: Mozilla-CA-20200520.tar.gz size 137637
42	:info:checksum Distfile checksum: Mozilla-CA-20200520.tar.gz size 43

suggests to me you have an network issue your end that means you are unable to connect to some of the mirror servers, as that size is suspiciously small and thus is probably something like a 404 error text file, or similar.

Unfortunately your log is not completely clean as it does not show the fetch of the distfiles. Please run

sudo port clean --all p5-mozilla-ca 

then try again, posting the complete log for that.

comment:3 Changed 3 years ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:4 Changed 3 years ago by scorpion7-7

Except when going to one of the URLs, there are no files in the directory. eg: https://ywg.ca.packages.macports.org/mirror/macports/packages/p5.28-mozilla-ca - the directory appears to be empty.

Changed 3 years ago by scorpion7-7

comment:5 in reply to:  4 Changed 3 years ago by cjones051073 (Chris Jones)

Replying to scorpion7-7:

Except when going to one of the URLs, there are no files in the directory. eg: https://ywg.ca.packages.macports.org/mirror/macports/packages/p5.28-mozilla-ca - the directory appears to be empty.

not relevant, as that is the binary tarball mirror, not where the distribution (source) files come from.

comment:6 Changed 3 years ago by cjones051073 (Chris Jones)

Oberon ~/Projects/MacPorts/ports > sudo port clean --all p5.28-mozilla-ca 
--->  Cleaning p5.28-mozilla-ca
Warning: Distfiles directory '/opt/local/var/macports/distfiles/perl5' may contain distfiles needed for other ports, use the -f flag to force removal
Oberon ~/Projects/MacPorts/ports > sudo port -d checksum p5.28-mozilla-ca 
DEBUG: Copying /Users/chris/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /Users/chris/Projects/MacPorts/ports/perl/p5-mozilla-ca
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Re-registering default for configure.universal_args
DEBUG: Sourcing PortGroup perl5 1.0 from /Users/chris/Projects/MacPorts/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: Re-registering default for livecheck.version
DEBUG: only one arch supported, so not adding the default universal variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_perl_p5-mozilla-ca/p5.28-mozilla-ca/work /Users/chris/Projects/MacPorts/ports/perl/p5-mozilla-ca/work
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Starting logging for p5.28-mozilla-ca @20200520_0
DEBUG: macOS 12.0.1 (darwin/21.1.0) arch i386
DEBUG: MacPorts 2.7.99
DEBUG: Xcode 13.1
DEBUG: SDK 12
DEBUG: MACOSX_DEPLOYMENT_TARGET: 12.0
DEBUG: Executing org.macports.main (p5.28-mozilla-ca)
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: fetch phase started at Tue Nov 16 17:05:19 GMT 2021
--->  Fetching distfiles for p5.28-mozilla-ca
DEBUG: Executing org.macports.fetch (p5.28-mozilla-ca)
--->  Mozilla-CA-20200520.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5
--->  Attempting to fetch Mozilla-CA-20200520.tar.gz from https://cpan.metacpan.org/modules/by-module/Mozilla
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  134k  100  134k    0     0   217k      0 --:--:-- --:--:-- --:--:--  218k
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Tue Nov 16 17:05:23 GMT 2021
--->  Verifying checksums for p5.28-mozilla-ca
DEBUG: Executing org.macports.checksum (p5.28-mozilla-ca)
--->  Checksumming Mozilla-CA-20200520.tar.gz
DEBUG: Calculated (rmd160) is 2edd61bf919ce9e428150375ea1ec76990aec5c8
DEBUG: Correct (rmd160) checksum for Mozilla-CA-20200520.tar.gz
DEBUG: Calculated (sha256) is b3ca0002310bf24a16c0d5920bdea97a2f46e77e7be3e7377e850d033387c726
DEBUG: Correct (sha256) checksum for Mozilla-CA-20200520.tar.gz
DEBUG: Calculated (size) is 137637
DEBUG: Correct (size) checksum for Mozilla-CA-20200520.tar.gz

run exactly the same commands as above and post what you get.

comment:7 Changed 3 years ago by cjones051073 (Chris Jones)

b.t.w. what OS are you running ?

comment:8 in reply to:  7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to scorpion7-7:

Except when going to one of the URLs, there are no files in the directory. eg: https://ywg.ca.packages.macports.org/mirror/macports/packages/p5.28-mozilla-ca - the directory appears to be empty.

Because the port is not distributable.

"p5.28-mozilla-ca" is not distributable because its license "mpl" conflicts with license "GPL-3+" of dependency "gdbm"

And as Chris said, not a problem; in the absence of a binary archive, MacPorts will build from source on your system.

Replying to cjones051073:

b.t.w. what OS are you running ?

The log shows:

:debug:sysinfo macOS 10.15.7 (darwin/19.6.0) arch i386

comment:9 Changed 3 years ago by scorpion7-7

Catalina / 10.15.7.

OK - looks like a FW policy/blocking issue. This case should be closed.

comment:10 Changed 3 years ago by cjones051073 (Chris Jones)

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