Opened 9 years ago

Closed 9 years ago

#48394 closed defect (duplicate)

Manually downloading distills. Checksum mismatch

Reported by: aaron.koe@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ghostscript

Description

Sourceforge is down so i am having issue getting ghostscript. I have manually downloaded the distfiles from macports mirror and changed the filename to .tar.gz as shown below. Still receive checksum mismatches,

terminal:

AARONs-MBP:~ Aaron$ sudo port clean ghostscript
--->  Cleaning ghostscript
AARONs-MBP:~ Aaron$ sudo port install ghostscript
--->  Computing dependencies for ghostscript
--->  Fetching archive for ghostscript
--->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ghostscript
--->  Fetching distfiles for ghostscript
--->  Verifying checksums for ghostscript
Error: Checksum (rmd160) mismatch for ghostscript-fonts-other-6.0.tar.gz
Error: Checksum (sha256) mismatch for ghostscript-fonts-other-6.0.tar.gz
Error: Checksum (rmd160) mismatch for ghostscript-fonts-std-8.11.tar.gz
Error: Checksum (sha256) mismatch for ghostscript-fonts-std-8.11.tar.gz
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
AARONs-MBP:~ Aaron$ 

log file:

:debug:main Executing org.macports.main (ghostscript)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Fri Jul 17 13:22:25 CDT 2015
:msg:archivefetch --->  Fetching archive for ghostscript
:debug:archivefetch Executing org.macports.archivefetch (ghostscript)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.16_1+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ghostscript
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Jul 17 13:22:28 CDT 2015
:notice:fetch --->  Fetching distfiles for ghostscript
:debug:fetch Executing org.macports.fetch (ghostscript)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Jul 17 13:22:28 CDT 2015
:notice:checksum --->  Verifying checksums for ghostscript
:debug:checksum Executing org.macports.checksum (ghostscript)
:info:checksum --->  Checksumming ghostscript-9.16.tar.gz
:debug:checksum Calculated (rmd160) is 9c483b93ccd106bae6db36b3335fae4e91177aec
:debug:checksum Correct (rmd160) checksum for ghostscript-9.16.tar.gz
:debug:checksum Calculated (sha256) is 746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d
:debug:checksum Correct (sha256) checksum for ghostscript-9.16.tar.gz
:info:checksum --->  Checksumming ghostscript-fonts-other-6.0.tar.gz
:debug:checksum Calculated (rmd160) is 971fb14464e2352cc1b5e20ca8b146f13b12e23d
:error:checksum Checksum (rmd160) mismatch for ghostscript-fonts-other-6.0.tar.gz
:info:checksum Portfile checksum: ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f
:info:checksum Distfile checksum: ghostscript-fonts-other-6.0.tar.gz rmd160 971fb14464e2352cc1b5e20ca8b146f13b12e23d
:debug:checksum Calculated (sha256) is c29ddd9b871d98465669b6f5eb903ff98ff81e2e1c263e959a64b6a1366dfee8
:error:checksum Checksum (sha256) mismatch for ghostscript-fonts-other-6.0.tar.gz
:info:checksum Portfile checksum: ghostscript-fonts-other-6.0.tar.gz sha256 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de
:info:checksum Distfile checksum: ghostscript-fonts-other-6.0.tar.gz sha256 c29ddd9b871d98465669b6f5eb903ff98ff81e2e1c263e959a64b6a1366dfee8
:info:checksum --->  Checksumming ghostscript-fonts-std-8.11.tar.gz
:debug:checksum Calculated (rmd160) is 9da870ab9f92af4932681d95855693538e437e6b
:error:checksum Checksum (rmd160) mismatch for ghostscript-fonts-std-8.11.tar.gz
:info:checksum Portfile checksum: ghostscript-fonts-std-8.11.tar.gz rmd160 10a19a10d0388bc084a7c1d3da845068d7169054
:info:checksum Distfile checksum: ghostscript-fonts-std-8.11.tar.gz rmd160 9da870ab9f92af4932681d95855693538e437e6b
:debug:checksum Calculated (sha256) is 24ef39705b8dd21a994893dff58100c261bee2a522a2d3494b8f22bf8aa361c4
:error:checksum Checksum (sha256) mismatch for ghostscript-fonts-std-8.11.tar.gz
:info:checksum Portfile checksum: ghostscript-fonts-std-8.11.tar.gz sha256 0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
:info:checksum Distfile checksum: ghostscript-fonts-std-8.11.tar.gz sha256 24ef39705b8dd21a994893dff58100c261bee2a522a2d3494b8f22bf8aa361c4
:info:checksum --->  Checksumming 3128b3872aa14a4c066d5cbcdde66a3b6bba0982.zip
:debug:checksum Calculated (rmd160) is b00725e3f5615ac6aaa20a7b4d0dd6e769dca6ee
:debug:checksum Correct (rmd160) checksum for 3128b3872aa14a4c066d5cbcdde66a3b6bba0982.zip
:debug:checksum Calculated (sha256) is 27f87e56092a8293d17f683b008327afbb79fad9f1328227a9916f9be69c9db2
:debug:checksum Correct (sha256) checksum for 3128b3872aa14a4c066d5cbcdde66a3b6bba0982.zip
:info:checksum The correct checksum line may be:
:info:checksum checksums           ghostscript-9.16.tar.gz \
                    rmd160  9c483b93ccd106bae6db36b3335fae4e91177aec \
                    sha256  746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d \
                    ghostscript-fonts-other-6.0.tar.gz \
                    rmd160  971fb14464e2352cc1b5e20ca8b146f13b12e23d \
                    sha256  c29ddd9b871d98465669b6f5eb903ff98ff81e2e1c263e959a64b6a1366dfee8 \
                    ghostscript-fonts-std-8.11.tar.gz \
                    rmd160  9da870ab9f92af4932681d95855693538e437e6b \
                    sha256  24ef39705b8dd21a994893dff58100c261bee2a522a2d3494b8f22bf8aa361c4 \
                    3128b3872aa14a4c066d5cbcdde66a3b6bba0982.zip \
                    rmd160  b00725e3f5615ac6aaa20a7b4d0dd6e769dca6ee \
                    sha256  27f87e56092a8293d17f683b008327afbb79fad9f1328227a9916f9be69c9db2
:error:checksum org.macports.checksum for port ghostscript returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"portchecksum::checksum_main org.macports.checksum"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:checksum Warning: targets not executed for ghostscript: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:checksum 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

distfolder:

http://s10.postimg.org/53kq0cpqx/grab2.png

Any assistance would be greatly appreciated. I am trying to get the odepkg and this is dependency.

Change History (3)

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

Keywords: ghostscript checksum removed

You didn't download the correct files.

Use these: http://lil.fr.distfiles.macports.org/ghostscript/9.16_1/

comment:2 Changed 9 years ago by aaron.koe@…

same result using those

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

Cc: ryandesign@… added
Resolution: duplicate
Status: newclosed

No, the files on that server are definitely the correct ones. You've either downloaded the wrong files or put them in the wrong place.

Try again: delete what you tried before by running:

sudo port clean --all ghostscript

Now create the needed directory and downloaded the needed files into it, for example like this:

sudo -u macports -s
mkdir -p /opt/local/var/macports/distfiles/ghostscript/9.16_1
cd /opt/local/var/macports/distfiles/ghostscript/9.16_1
curl -O http://lil.fr.distfiles.macports.org/ghostscript/9.16_1/ghostscript-9.16.tar.gz
curl -O http://lil.fr.distfiles.macports.org/ghostscript/9.16_1/ghostscript-fonts-other-6.0.tar.gz
curl -O http://lil.fr.distfiles.macports.org/ghostscript/9.16_1/ghostscript-fonts-std-8.11.tar.gz
curl -O http://lil.fr.distfiles.macports.org/ghostscript/9.16_1/3128b3872aa14a4c066d5cbcdde66a3b6bba0982.zip
exit

Now you should be able to install ghostscript.

Duplicate of #48383.

Note: See TracTickets for help on using tickets.