Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64945 closed defect (fixed)

openbabel @3.1.1: checksum mismatch

Reported by: phycgroup Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: openbabel

Description (last modified by reneeotten (Renee Otten))

--->  Computing dependencies for openbabel
--->  Fetching archive for openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://kmq.jp.packages.macports.org/openbabel
--->  Verifying checksums for openbabel
Error: Checksum (rmd160) mismatch for openbabel-3-1-1.tar.gz
Error: Checksum (sha256) mismatch for openbabel-3-1-1.tar.gz
Error: Checksum (size) mismatch for openbabel-3-1-1.tar.gz
Error: Failed to checksum openbabel: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openbabel/openbabel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port openbabel failed

Change History (12)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Description: modified (diff)
Keywords: checksum removed
Owner: set to reneeotten
Status: newaccepted
Version: 2.7.2

Yes, sorry for the trouble.... a while back I updated the openbabel port while keeping the previous version as openbabel2. I certainly did build that locally, but it seems in the meantime a newer version was released and I did mess that up a bit (likely changed the version number but didn't update the checksums...). In any case, updating the checksums alone isn't sufficient as the build fails now at a later point - I will look into this in the coming days and I apologize for committing this new port too quickly.

[edit: did you want to use this newer version or is for now the `openbabel2` port sufficient for your usage?]

Last edited 3 years ago by reneeotten (Renee Otten) (previous) (diff)

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Summary: Checksum mismatch openbabel-3-1-1openbabel #@3.1.1: checksum mismatch

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

Summary: openbabel #@3.1.1: checksum mismatchopenbabel @3.1.1: checksum mismatch

comment:4 Changed 3 years ago by phycgroup

Thank you for your response. For now, I can use openbabel2, but there are bugs in there so that we want to move to openbabel 3. Happy to wait. Thank you so much for your work on this.

comment:5 in reply to:  1 Changed 3 years ago by phycgroup

Thank you for your response. For now, I can use openbabel2, but there are bugs in there so that we want to move to openbabel 3. Happy to wait. Thank you so much for your work on this.

Replying to reneeotten:

Yes, sorry for the trouble.... a while back I updated the openbabel port while keeping the previous version as openbabel2. I certainly did build that locally, but it seems in the meantime a newer version was released and I did mess that up a bit (likely changed the version number but didn't update the checksums...). In any case, updating the checksums alone isn't sufficient as the build fails now at a later point - I will look into this in the coming days and I apologize for committing this new port too quickly.

[edit: did you want to use this newer version or is for now the `openbabel2` port sufficient for your usage?]

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

Cc: ryandesign added

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

Resolution: fixed
Status: acceptedclosed

In 7eb63e25b3a87eb01a809771001c47545716fbce/macports-ports (master):

openbabel: Use the right distfile and checksums

When the port was updated to 3.1.1, the checksums were not updated. This
switches to the upstream release distfile, which is smaller, and fixes
the checksums.

Closes: #64945

Also apply a patch to fix the reported version number.

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

In 0b26a6b1ae7be3327f0c3f4d64d01f15c7eacbbc/macports-ports (master):

py-openbabel: Fix build by fixing invalid version

See: #64945

comment:9 Changed 3 years ago by phycgroup

Thank you for the update, but the build still fails even with the ports selfupdate and update.

sudo port install openbabel
Password:
--->  Computing dependencies for openbabel
--->  Fetching archive for openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/openbabel
--->  Attempting to fetch openbabel-3.1.1_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/openbabel
--->  Verifying checksums for openbabel
Error: Checksum (rmd160) mismatch for openbabel-3-1-1.tar.gz
Error: Checksum (sha256) mismatch for openbabel-3-1-1.tar.gz
Error: Checksum (size) mismatch for openbabel-3-1-1.tar.gz
Error: Failed to checksum openbabel: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openbabel/openbabel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port openbabel failed
Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Wait awhile and try again. Changes do not synchronize from GitHub to the rsync server instantly. Usually they're there within an hour but sometimes it takes longer. Right now there is an intermittent network connectivity problem affecting the server that generates and publishes the new ports tarballs.

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

You can see the recent synchronization failures (in red) here: https://ftp.fau.de/cgi-bin/show-mirror-status.cgi?mirror=macports

Once that shows successful (green) synchronization, you can try again.

comment:12 Changed 3 years ago by reneeotten (Renee Otten)

thanks you Ryan for taking care of this! I was preoccupied by other things the last week... I'll take a look now at the conflicting file installed by both the openbabel and py-openbabel ports.

Note: See TracTickets for help on using tickets.