Opened 9 years ago

Closed 9 years ago

#49357 closed defect (invalid)

ghostscript: mappingresources4pdf files can't be fetched

Reported by: pnewell@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
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 (4)

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?

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

Another fix you'll receive by running "sudo port selfupdate" is r140417 from September 2015 in which I already removed aarnet.dl.sourceforge.net from the list of SourceForge mirrors.

comment:3 Changed 9 years ago by pnewell@…

Yup, that sure was what was needed. I froze on doing an update as I got lost in the the file not being seen on multiple servers. For some horrible reason/excuse, I seemed to have convinced myself that the mirrors were not part of the port package. Where that misinformation came from, I do not know. I apologize.

As for the unclear documentation, the confusion I had was whether "ghostscript" went in the keyword section or the port section. Mind you, I was already thinking things through incorrectly at this point and it did look a bit clearer this evening after I did update and things were working. I think the sentence about not listing words that appear elsewhere in the keyword section didn't register. Maybe adding a [paraphrasing] "[...] appear elsewhere (under Port entry, for example). The thing about being helpful for searching for tickets just begs to give the port name.

I appreciate your prompt reply and being gentle with what is, in hindsight, a pilot error on my part rather than an issue with Macports (installation or documentation)

Thanks, Paul

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

Resolution: invalid
Status: newclosed

Glad the selfupdate worked. MacPorts should have notified you that you were out of date, and suggested running selfupdate. It's possible your MacPorts installation was so old that it predated the addition of that notification. Hopefully now that you're up to date it'll remind you in the future.

Many users have filed tickets with the port name in the keywords field, and I was beginning to wonder if we had wrong documentation somewhere. I see the keywords section of the documentation needs some work so I'll see if I can update that. Thanks.

Note: See TracTickets for help on using tickets.