Opened 11 years ago

Closed 11 years ago

#39815 closed defect (fixed)

latexdiff checksum error in upgrade from 0.5.1 to 1.0.2_2

Reported by: trg818 (Thomas Ruedas) Owned by: aschenke@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: latexdiff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While making an extensive upgrade, the following error occurs during installation of latexdiff and prevents the upgrade of texlive:

--->  Computing dependencies for latexdiff
--->  Fetching archive for latexdiff
--->  Attempting to fetch latexdiff-1.0.2_2.darwin_9.noarch.tbz2 from http://lil.fr.packages.macports.org/latexdiff
--->  Attempting to fetch latexdiff-1.0.2_2.darwin_9.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/latexdiff
--->  Attempting to fetch latexdiff-1.0.2_2.darwin_9.noarch.tbz2 from http://packages.macports.org/latexdiff
--->  Fetching distfiles for latexdiff
--->  Verifying checksum(s) for latexdiff
Error: Checksum (md5) mismatch for latexdiff.zip
Error: Checksum (sha1) mismatch for latexdiff.zip
Error: Checksum (rmd160) mismatch for latexdiff.zip
Error: org.macports.checksum for port latexdiff returned: Unable to verify file checksums

The logfile gives the following additional information:

:info:checksum Portfile checksum: latexdiff.zip md5 6353392165de3066aba8323ffe5e
b9c3
:info:checksum Distfile checksum: latexdiff.zip md5 8cdf86a504513b27c79e1d52b2a9
567d
:error:checksum Checksum (sha1) mismatch for latexdiff.zip
:info:checksum Portfile checksum: latexdiff.zip sha1 6a13b516514360998c033d310a8
b114bc661cddb
:info:checksum Distfile checksum: latexdiff.zip sha1 b56629c619465a3f7c2b12f17f0
5980b579e5a62
:error:checksum Checksum (rmd160) mismatch for latexdiff.zip
:info:checksum Portfile checksum: latexdiff.zip rmd160 76bd16b964f37ad74da0591c5
1d6bea7f137278d
:info:checksum Distfile checksum: latexdiff.zip rmd160 e7b3e085869b1173a4b764bfa
aaf3f62b1e9c33f
:info:checksum The correct checksum line may be:
:info:checksum checksums           md5     8cdf86a504513b27c79e1d52b2a9567d \
                    sha1    b56629c619465a3f7c2b12f17f05980b579e5a62 \
                    rmd160  e7b3e085869b1173a4b764bfaaaf3f62b1e9c33f

Attachments (1)

latexdiff-1.0.3.diff (1.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
proposed patch

Download all attachments as: .zip

Change History (8)

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

Description: modified (diff)
Keywords: latexdiff removed
Owner: changed from macports-tickets@… to aschenke@…
Port: latexdiff added

Yup, the port needs to be updated to version 1.0.3. Also the livecheck needs to be fixed.

The port should also finally switch from an unversioned distfile to a versioned distfile (available here) so this doesn't keep happening every time the port is updated.

comment:2 Changed 11 years ago by aschenke@…

Status: newassigned

I updated the version to 1.0.3 in r108361.

However, I don't see a way to use a versioned distfile. The BerliOS links open a download page (HTML) rather than the file itself. Could you please provide some guidance on this as well as the livecheck issue?

comment:3 Changed 11 years ago by aschenke@…

I had to revert the changes in r108362 due to a buildbot error. This was only a checksum and version number change. Any ideas why it's causing an issue?

comment:4 in reply to:  3 Changed 11 years ago by larryv (Lawrence Velázquez)

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

Cc: ryandesign@… added

I already explained why. The port uses an unversioned distfile, and does not follow the recipe for unversioned distfiles. But instead of using that recipe, a versioned distfile should be used. I'll see if I can give you a patch.

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: latexdiff-1.0.3.diff added

proposed patch

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

Keywords: haspatch added

Patch attached.

comment:7 in reply to:  6 Changed 11 years ago by aschenke@…

Resolution: fixed
Status: assignedclosed

Replying to ryandesign@…:

Patch attached.

Thanks very much Ryan!

Committed in r108363. Tests passed on buildbots.

Note: See TracTickets for help on using tickets.