Opened 10 years ago

Closed 10 years ago

#41214 closed defect (invalid)

libpaper 1.1.24 checksum mismatch

Reported by: arademacher@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libpaper

Description

Checksum mismatch when attempting to install libpaper

Attempting to fetch libpaper_1.1.24.tar.gz from http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/
--->  Verifying checksums for libpaper
Error: Checksum (rmd160) mismatch for libpaper_1.1.24.tar.gz
Error: org.macports.checksum for port libpaper returned: Unable to verify file checksums

Attachments (2)

main.log (3.5 KB) - added by arademacher@… 10 years ago.
main2.log (2.5 KB) - added by arademacher@… 10 years ago.

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by arademacher@…

Attachment: main.log added

comment:1 Changed 10 years ago by arademacher@…

Cc: arademacher@… added

Cc Me!

comment:2 Changed 10 years ago by ci42

Cc: arademacher@… removed
Keywords: checksum mismatch removed
Priority: HighNormal
Resolution: invalid
Status: newclosed

The distfile fetched from the location mentioned in your log as well as the distfiles on some mirrors I tested have the correct checksum.

:notice:fetch --->  Attempting to fetch libpaper_1.1.24.tar.gz from http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/

Perhaps you had a network glitch. Please try again:

$ sudo port clean --dist libpaper
$ sudo port selfupdate
$ sudo port install libpaper

In the future please remember that priority high is reserved for MacPort team members and that you don't need to Cc yourself if you open a ticket. For good keyword have a look at the DraftKeywordGuidelines.

Last edited 10 years ago by ci42 (previous) (diff)

comment:3 Changed 10 years ago by arademacher@…

I cleaned libpaper and attempted installing again to no avail:

$ sudo port clean --dist libpaper
$ sudo port selfupdate
$ sudo port install libpaper

I'm not sure what the differences are but when installing libpaper, macports is looking for libpaper-1.1.24_0.darwin_13.x86_64.tbz2 and can only find it at http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/ while all other mirrors only appear to host up to libpaper-1.1.24_0.darwin_12.x86_64. So when you say you've tested mirrors, I wonder if it's the ..._13... version of libpaper that has issues while all others check out fine. Aslo as an FYI libpaper is a dependency I'm installing for octave-devel.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 10 years ago by arademacher@…

Resolution: invalid
Status: closedreopened

comment:5 in reply to:  3 ; Changed 10 years ago by ci42

Resolution: invalid
Status: reopenedclosed

Replying to arademacher@…:

I'm not sure what the differences are but when installing libpaper, macports is looking for libpaper-1.1.24_0.darwin_13.x86_64.tbz2 and can only find it at http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/ while all other mirrors only appear to host up to libpaper-1.1.24_0.darwin_12.x86_64. So when you say you've tested mirrors, I wonder if it's the ..._13... version of libpaper that has issues while all others check out fine.

These files:

libpaper-1.1.24_0.darwin_10.x86_64.tbz2
libpaper-1.1.24_0.darwin_11.x86_64.tbz2
libpaper-1.1.24_0.darwin_12.x86_64.tbz2

are the binary packages macports provides for snow leopard, lion and mountain lion. The file

libpaper-1.1.24_0.darwin_13.x86_64.tbz2

is the package for mavericks. We don't provide binary packages for mavericks yet. Therefore no such file exists at: http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/ (you can check this in your browser). Macports should download the source archive (libpaper_1.1.24.tar.gz) if it can't find a binary package. The checksum is for this source archive and it does match:

$ port distfiles libpaper
--->  Distfiles for libpaper
[libpaper_1.1.24.tar.gz] /opt/local/var/macports/distfiles/libpaper/libpaper_1.1.24.tar.gz
 rmd160: 12e7234616bfe648337381c7c07e7de7bcfbea28
  http://ftp.us.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  http://ftp.au.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  http://ftp.bg.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  http://ftp.cl.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  http://ftp.cz.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
  (...}

Please try again and check the file in /opt/local/var/macports/distfiles/libpaper/. Also have a look at MisbehavingServers. Or force installation from source:

$ sudo port clean --dist libpaper
$ sudo port -s install libpaper

This should avoid the attempt to fetch binary archives.

Last edited 10 years ago by ci42 (previous) (diff)

Changed 10 years ago by arademacher@…

Attachment: main2.log added

comment:6 Changed 10 years ago by arademacher@…

Thank you for your help but I'm still having no luck. I did as you suggested and forced install from source. Still I'm getting checksum errors. Please see recently attached log file main2.log.

comment:7 Changed 10 years ago by arademacher@…

Resolution: invalid
Status: closedreopened

comment:8 in reply to:  5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ciserlohn@…:

Replying to arademacher@…:

I'm not sure what the differences are but when installing libpaper, macports is looking for libpaper-1.1.24_0.darwin_13.x86_64.tbz2 and can only find it at http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/

Actually that URL is a distfiles url (master_sites) not a packages url (archive_sites), and it is maintained by the debian project, not the macports project. Therefore no MacPorts binaries of any kind are at that URL. That's normal and not a problem.

comment:9 in reply to:  6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to arademacher@…:

Thank you for your help but I'm still having no luck. I did as you suggested and forced install from source. Still I'm getting checksum errors. Please see recently attached log file main2.log.

I have verified that the file http://ftp.sk.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz (which according to your log is what MacPorts downloaded for you) has checksums that match those in the Portfile so I too suspect a problem with your network. The file is 355272 bytes. How large is the file that was downloaded on your system? Is it a valid gzip-compressed tar file?

comment:10 Changed 10 years ago by arademacher@…

Thank you, that was it! The network was messing with downloading the file from source. MacPorts was downloading but the file was corrupted. I downloaded the file from a different network and that fixed the problem. Thanks for all your help.

comment:11 Changed 10 years ago by ci42

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.