Opened 9 years ago

Last modified 9 years ago

#49357 closed defect

ghostscript: mappingresources4pdf files can't be fetched — at Version 1

Reported by: pnewell@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign@…
Port: ghostscript

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

Dear MacPorts:

Ran "sudo port install ghostscript"

It failed with and gave the following output

idaho:python paul$ sudo port install ghostscript
Password:
--->  Computing dependencies for ghostscript
--->  Fetching archive for ghostscript
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghostscript
--->  Fetching distfiles for ghostscript
--->  Attempting to fetch ghostscript-9.10.tar.gz from http://distfiles.macports.org/ghostscript
--->  Attempting to fetch ghostscript-fonts-other-6.0.tar.gz from http://superb-dca2.dl.sourceforge.net/gs-fonts
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://superb-dca2.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://sea.us.distfiles.macports.org/macports/distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://kent.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://lil.fr.distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://freefr.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://optimate.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://nue.de.distfiles.macports.org/macports/distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://heanet.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://cjj.kr.distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://jaist.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://ufpr.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://nchc.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://internode.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://waix.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://jog.id.distfiles.macports.org/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://aarnet.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://superb-dca2.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://sea.us.distfiles.macports.org/macports/distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://kent.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://lil.fr.distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://freefr.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://optimate.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://nue.de.distfiles.macports.org/macports/distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://heanet.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://cjj.kr.distfiles.macports.org/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://jaist.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://ufpr.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://nchc.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://internode.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://waix.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://jog.id.distfiles.macports.org/macports/mpdistfiles/ghostscript
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://aarnet.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Verifying checksums for ghostscript
Error: Checksum (md5) mismatch for mappingresources4pdf_2unicode_20091116.tar.Z
Error: Checksum (sha1) mismatch for mappingresources4pdf_2unicode_20091116.tar.Z
Error: Checksum (rmd160) mismatch for mappingresources4pdf_2unicode_20091116.tar.Z
Error: Checksum (md5) mismatch for mappingresources4pdf_other_20091116.tar.Z
Error: Checksum (sha1) mismatch for mappingresources4pdf_other_20091116.tar.Z
Error: Checksum (rmd160) mismatch for mappingresources4pdf_other_20091116.tar.Z
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/ghostscript/mappingresources4pdf_other_20091116.tar.Z.html
Error: org.macports.checksum for port ghostscript returned: Unable to verify file checksums
Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ghostscript failed
idaho:python paul$ 

Ran two more time (using the clean opyion before each new try, same failure

Noticed that two of the files seemed to try many mirrors without finding, made me think that something was missing?

Looked at the web page which suggested manual downloading distfile, but it seemed to assume that that "it was there" I am not certain after all the attempts in the log.

I am doing this on Mavericks. A month or so ago I did this macport for my mountain lion machine and it worked perfectly. Macports is behaving on my Mavericks machine as I just finished successfully downloading xxdiff.

Not certain how to proceed and would appreciate some help in understandin if this is a bug or a pilot error and what the correct workaround is (the manual download of distfiles was a tad confusing (smile))

Not certain if you want "ghostscript" in the keyword and/or port field, so I left blank

Thanks, Paul

Change History (1)

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

Cc: ryandesign@… added; pnewell@… removed
Description: modified (diff)
Port: ghostscript added
Summary: checksum failure downloading ghostscriptghostscript: mappingresources4pdf files can't be fetched

The aarnet.dl.sourceforge.net server appears to no longer exist. But because your DNS servers are not standards-compliant, they tell MacPorts that the host does exist, causing MacPorts to download an HTML file from it, rather than the file we wanted, thus causing a checksum mismatch to occur.

You are correct that the "mappingresources4pdf" files don't seem to exist on any of the servers. But you are using a very outdated port. The log shows you are using ghostscript 9.10, but the port was updated to version 9.16 in r136284 back in May 2015, which included an update to these "mappingresources4pdf" files to fetch them from elsewhere. Please run "sudo port selfupdate" to receive this and many other updates.

We want the port name in the port field. Could you please let me know where in the documentation this is unclear, so I can clarify it?

Note: See TracTickets for help on using tickets.