Opened 6 years ago

Closed 6 years ago

#56562 closed defect (fixed)

jbig2dec @0.14: checksum mismatch

Reported by: pdvnl Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.0
Keywords: haspatch Cc:
Port: jbig2dec

Description

While installing groff the dep jbig2dec fails to build due to a fetch problem:

--->  Fetching distfiles for jbig2dec
--->  Attempting to fetch jbig2dec-0.14.tar.gz from http://downloads.ghostscript.com/public/jbig2dec/
--->  Verifying checksums for jbig2dec
Error: Checksum (rmd160) mismatch for jbig2dec-0.14.tar.gz
Error: Checksum (sha256) mismatch for jbig2dec-0.14.tar.gz

The download is HTML and contains:

<!-- pageok -->
<!-- managed by puppet -->
<html>
<pre>pageok</pre>
</html>

This is a valid download:

wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/jbig2dec-0.14.tar.gz

Attachments (1)

patch-jbig2dec-Portfile.diff (892 bytes) - added by pdvnl 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by pdvnl

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

Keywords: haspatch added; has patch removed
Summary: jbig2dec @0.14jbig2dec @0.14: checksum mismatch

GitHub-hosted software should be fetched using the github 1.0 portgroup, not by manually specifying master_sites.

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

Owner: set to ryandesign
Status: newaccepted

There's no need to increase the revision since the distfile hasn't changed; only its location has.

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

Resolution: fixed
Status: acceptedclosed

In e8f91e903435a2d4eb2ba343fded106818f59a27/macports-ports (master):

jbig2dec: Fetch from GitHub

Closes: #56562

Also add size to checksums.

Note: See TracTickets for help on using tickets.