Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63580 closed defect (invalid)

nasm fails on SSL certificate problem / checksum

Reported by: bunk3m (Bunk3m) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: nasm

Description

In trying to add ghostscript to my 10.13.6 Macports, I get an error that the dependency "nasm" has a defective checksum.

When checking the logs, I see that there is an SSL certificate problem and so the file doesn't download. So it can't checksum.

Could you please check the cert?

Thanks.

:debug:main Starting logging for nasm @2.15.05_0
:debug:sysinfo macOS 10.13.6 (darwin/17.7.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 9.0.1
:debug:sysinfo SDK 10.13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
:debug:main nasm has no conflicts
:debug:main Executing org.macports.main (nasm)
:debug:main dropping privileges: euid changed to 506, egid changed to 501.
:debug:archivefetch archivefetch phase started at Tue Oct  5 15:39:56 EDT 2021
:msg:archivefetch --->  Fetching archive for nasm
:debug:archivefetch Executing org.macports.archivefetch (nasm)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 506/501
:info:archivefetch --->  nasm-2.15.05_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch nasm-2.15.05_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/nasm
:debug:archivefetch Fetching archive failed: SSL certificate problem: certificate has expired
:msg:archivefetch --->  Attempting to fetch nasm-2.15.05_0.darwin_17.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/nasm
:debug:archivefetch Fetching archive failed: SSL certificate problem: certificate has expired
:msg:archivefetch --->  Attempting to fetch nasm-2.15.05_0.darwin_17.x86_64.tbz2 from https://ema.uk.packages.macports.org/nasm
:debug:archivefetch Fetching archive failed: SSL certificate problem: certificate has expired
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (nasm)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Oct  5 15:39:56 EDT 2021
:notice:checksum --->  Verifying checksums for nasm
:debug:checksum Executing org.macports.checksum (nasm)
:info:checksum --->  Checksumming nasm-2.15.05.tar.bz2
:error:checksum Failed to checksum nasm: nasm-2.15.05.tar.bz2 does not exist in /opt/local/var/macports/distfiles/nasm
:debug:checksum Error code: NONE
:debug:checksum Backtrace: nasm-2.15.05.tar.bz2 does not exist in /opt/local/var/macports/distfiles/nasm
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_nasm/nasm/main.log for details.

Change History (5)

comment:1 Changed 3 years ago by bunk3m (Bunk3m)

Summary: nasm fails on checksumnasm fails on SSL certificate problem / checksum

comment:2 Changed 3 years ago by bunk3m (Bunk3m)

Also fail when trying to install ffmpeg +gpl2 +nonfree

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

Resolution: invalid
Status: newclosed

The error above does not show a defective or invalid checksum; it shows that the checksum phase could not be completed because the file to be checksummed is not there, which is probably because it couldn't be downloaded due to the SSL problem. MacPorts should have marked the fetch phase as failed so it should never have proceeded to the checksum phase; I can't explain why that happened.

The SSL problem is discussed on the mailing list: https://lists.macports.org/pipermail/macports-users/2021-October/050298.html

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

I should also refer you to ProblemHotlist#letsencrypt.

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

After [d8986b24bac94f22a60bfdd3e5d815d6a68c7a05/macports-ports] you should at least be able to get files from our mirrors, if not necessarily from upstream.

Note: See TracTickets for help on using tickets.