[MacPorts] #49357: ghostscript: mappingresources4pdf files can't be fetched (was: checksum failure downloading ghostscript)

MacPorts noreply at macports.org
Mon Oct 19 02:18:36 PDT 2015


#49357: ghostscript: mappingresources4pdf files can't be fetched
--------------------------+--------------------------------
  Reporter:  pnewell@…    |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  ghostscript  |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: pnewell@… (removed)
 * cc: ryandesign@… (added)
 * port:   => ghostscript


Old description:

> Dear MacPorts:
>
> Ran "sudo port install ghostscript"
>
> It failed with and gave the following output
> +++ START +++
> 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$
> --- END ---
>
> 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

New description:

 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

--

Comment:

 The aarnet.dl.sourceforge.net server appears to no longer exist. But
 because [wiki:MisbehavingServers 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/49357#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list