Opened 12 years ago

Closed 12 years ago

#35618 closed defect (fixed)

leptonica: checksum error

Reported by: letaage Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), drkp (Dan Ports)
Port: leptonica

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

I recently upgraded to Mountain Lion, then upgraded to latest version of MacPorts for Mountain Lion. I started the process of upgrading all installed ports but ran into a checksum error on the leptonica port:

bighead:~ tom$ sudo port upgrade outdated
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
--->  Computing dependencies for leptonica
--->  Verifying checksum(s) for leptonica
Error: Checksum (rmd160) mismatch for leptonica-1.69.tar.gz
Error: Checksum (sha256) mismatch for leptonica-1.69.tar.gz
Error: org.macports.checksum for port leptonica returned: Unable to verify file checksums
Please see the log file for port leptonica for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_leptonica/leptonica/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (1)

main.log (2.5 KB) - added by letaage 12 years ago.
log file from leptonica checksum failure

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by letaage

Attachment: main.log added

log file from leptonica checksum failure

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

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to stromnov@…
Port: leptonica added
Summary: checksum error for leptonica 1.69 packageleptonica: checksum error

Seems to be fine here. Where did this bad file come from? How large is it? Did you try cleaning and trying again?

sudo port clean --all leptonica
sudo port install leptonica

comment:2 Changed 12 years ago by drkp (Dan Ports)

Cc: dports@… added

I ran into this too, but it was fixed after a clean and retry. Unfortunately, I didn't record where the bad distfile came from.

comment:3 in reply to:  1 Changed 12 years ago by letaage

Replying to ryandesign@…:

Seems to be fine here. Where did this bad file come from? How large is it? Did you try cleaning and trying again?

sudo port clean --all leptonica
sudo port install leptonica

That fixed it for me, I had tried a clean but not with the --all flag.

Unfortunately I also didn't record where the bad file came from...

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

Resolution: fixed
Status: newclosed

Fixed in r96475 by removing leptonica.com as a download location. The gz files on googlecode and leptonica.com differ, though the tar files inside them are identical.

Note: See TracTickets for help on using tickets.