[MacPorts] #71216: LyX: checksums mismatch

MacPorts noreply at macports.org
Sat Nov 2 00:17:40 UTC 2024


#71216: LyX: checksums mismatch
---------------------------+----------------------------
  Reporter:  barracuda156  |      Owner:  kurthindenburg
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.3
Resolution:                |   Keywords:
      Port:  LyX           |
---------------------------+----------------------------

Comment (by barracuda156):

 Replying to [comment:2 jmroot]:
 > The checksums shown as "Portfile checksum" in your output are not the
 values set in the current Portfile.
 > {{{
 > checksums           rmd160  686630c5fe6d98bb29625e0818d9ad027bdb3814 \
 >                     sha256
 0d5a75dec9a169ab23bfa47da53ec65c62432de57014de315023d620ebccfe68 \
 >                     size    17871168
 > }}}

 Ok, you are right, yet the issue persists. I have verified that I do not
 have a custom portfile of LyX now and MacPorts uses the default portfile.
 But somehow it remembers wrong checksum (possibly from an earlier custom
 portfile, since then removed).

 {{{
 36-150% port file LyX
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/LyX/Portfile
 36-150% sudo port clean --all LyX
 Warning: configured user/group macports does not exist, will build as root
 --->  Cleaning LyX
 36-150% sudo port -v patch LyX
 Warning: configured user/group macports does not exist, will build as root
 --->  Computing dependencies for LyX.
 --->  Fetching distfiles for LyX
 --->  lyx-2.4.2.tar.xz does not exist in
 /opt/local/var/macports/distfiles/LyX
 --->  Attempting to fetch lyx-2.4.2.tar.xz from
 http://lyx.cybermirror.org/stable/2.4.x/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch lyx-2.4.2.tar.xz from
 http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/2.4.x/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 17.0M  100 17.0M    0     0  97495      0  0:03:03  0:03:03 --:--:--
 319k
 --->  Verifying checksums for LyX
 --->  Checksumming lyx-2.4.2.tar.xz
 Error: Checksum (rmd160) mismatch for lyx-2.4.2.tar.xz
 Portfile checksum: lyx-2.4.2.tar.xz rmd160
 80b2c53d12b04dd64a6326b4b1ea505dcb352120
 Distfile checksum: lyx-2.4.2.tar.xz rmd160
 686630c5fe6d98bb29625e0818d9ad027bdb3814
 Error: Checksum (sha256) mismatch for lyx-2.4.2.tar.xz
 Portfile checksum: lyx-2.4.2.tar.xz sha256
 7e8f56d148cb459eb00abbe9c6371744e4ff077b842c0024153a3f094b10d4ad
 Distfile checksum: lyx-2.4.2.tar.xz sha256
 0d5a75dec9a169ab23bfa47da53ec65c62432de57014de315023d620ebccfe68
 Error: Checksum (size) mismatch for lyx-2.4.2.tar.xz
 Portfile checksum: lyx-2.4.2.tar.xz size 16412700
 Distfile checksum: lyx-2.4.2.tar.xz size 17871168
 The correct checksum line may be:
 checksums           rmd160  686630c5fe6d98bb29625e0818d9ad027bdb3814 \
                     sha256
 0d5a75dec9a169ab23bfa47da53ec65c62432de57014de315023d620ebccfe68 \
                     size    17871168
 Error: Failed to checksum LyX: Unable to verify file checksums
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_LyX/LyX/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 }}}

 Ports are synced, and the portfile has the correct checksum. So what can
 it be? A broken index? But this is the only port I see this problem with.
 I build a lot during past few days due to a month gap. Everything else is
 fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/71216#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list