Opened 2 years ago

Closed 2 years ago

Last modified 23 months ago

#64354 closed defect (fixed)

doxygen @1.9.3: checksum mismatch

Reported by: mouse07410 (Mouse) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: doxygen

Description

$ sudo port upgrade --enforce-variants doxygen -qt4 +qt5
--->  Computing dependencies for doxygen
--->  Fetching archive for doxygen
--->  Attempting to fetch doxygen-1.9.3_0+qt5.darwin_20.x86_64.tbz2 from https://packages.macports.org/doxygen
--->  Attempting to fetch doxygen-1.9.3_0+qt5.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/doxygen
--->  Attempting to fetch doxygen-1.9.3_0+qt5.darwin_20.x86_64.tbz2 from http://atl.us.packages.macports.org/doxygen
--->  Fetching distfiles for doxygen
--->  Attempting to fetch doxygen-1.9.3.src.tar.gz from https://www.doxygen.nl/files
--->  Verifying checksums for doxygen                                                
Error: Checksum (rmd160) mismatch for doxygen-1.9.3.src.tar.gz
Error: Checksum (sha256) mismatch for doxygen-1.9.3.src.tar.gz
Error: Checksum (size) mismatch for doxygen-1.9.3.src.tar.gz
Error: Failed to checksum doxygen: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen/doxygen/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
$ 

Change History (9)

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

Summary: doxygen-1.9.3 fails checksumdoxygen @1.9.3: checksum mismatch

Looks like a stealth update of 1.9.3 has occurred. The developers of doxygen appear to have re-released 1.9.3, after we added it to MacPorts, and the new 1.9.3 now includes this commit:

https://github.com/doxygen/doxygen/commit/facf7a9f0d89a8912b75fce65587708f709bca1e

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

Owner: set to ryandesign
Status: newaccepted

Upstream has confirmed that this re-release was intentional.

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

Resolution: fixed
Status: acceptedclosed

In 4f12eb44aea22b1c965914c3c97fde34b1c03891/macports-ports (master):

doxygen: Fix doxywizard

Add upstream patch to fix doxywizard. Upstream deemed this fix important
enough to rerelease 1.9.3 for, but we needn't force everyone to download
a new distfile for this one-line change, so just include a patchfile and
prevent the use of the upstream download location for now.

Closes: #64354

comment:4 Changed 2 years ago by mouse07410 (Mouse)

@Ryan, would you post here when it's "safe" to try updating Doxygen again?

Because I just tried

$ sudo port selfupdate && sudo port upgrade outdated
.  .  .
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.7.1 installed,
MacPorts base version 2.7.1 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for doxygen
--->  Fetching archive for doxygen
--->  Attempting to fetch doxygen-1.9.3_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/doxygen
--->  Attempting to fetch doxygen-1.9.3_1.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/doxygen
--->  Attempting to fetch doxygen-1.9.3_1.darwin_20.x86_64.tbz2 from http://atl.us.packages.macports.org/doxygen
--->  Fetching distfiles for doxygen
--->  Verifying checksums for doxygen
Error: Checksum (rmd160) mismatch for doxygen-1.9.3.src.tar.gz
Error: Checksum (sha256) mismatch for doxygen-1.9.3.src.tar.gz
Error: Checksum (size) mismatch for doxygen-1.9.3.src.tar.gz
Error: Failed to checksum doxygen: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen/doxygen/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Tue Jan  4 10:10:09 EST 2022

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

Before trying again, remove the "bad" distfile by running sudo port clean --all doxygen.

comment:6 Changed 2 years ago by mouse07410 (Mouse)

Last edited 2 years ago by mouse07410 (Mouse) (previous) (diff)

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

In reply to comment:6 which you posted and then deleted, don't use the +wizard variant. It is an obsolete synonym for the +qt4 variant. If you want the wizard, use either the +qt4 or +qt5 variant. I'll delete the +wizard variant since it was only added to help those upgrading from the old +wizard variant to the (5 years ago when it was added) new +qt4 variant.

comment:8 Changed 2 years ago by mouse07410 (Mouse)

With +qt5 - installed cleanly.

Yes, please remove the confusing "wizard". Thanks!

comment:9 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

In f43d7be6acb289ce595960e2211c8739ed3020cb/macports-ports (master):

doxygen: Prevent potential checksum mismatch again

This was removed when updating to 1.9.4 and was not restored when
reverting to 1.9.3.

See: #64354

Note: See TracTickets for help on using tickets.