[MacPorts] #45867: getopt portfile checksums not matched

MacPorts noreply at macports.org
Wed Nov 12 11:46:23 PST 2014


#45867: getopt portfile checksums not matched
-------------------------------------------------+-------------------------
 Reporter:  teige-mp@…                           |      Owner:  macports-
     Type:  defect                               |  tickets@…
 Priority:  Normal                               |     Status:  new
Component:  ports                                |  Milestone:
 Keywords:  getopt checksum getopt-1.1.5.tar.gz  |    Version:  2.3.2
  getopt-1.1.5_1.darwin_14.x86_64.tbz2 mismatch  |       Port:  getopt
-------------------------------------------------+-------------------------
 Having trouble installing packages that depend on getopt (e.g. texlive).
 OS is Yosemite, migration & reinstallation of previous ports successful.

 ''$ sudo port install getopt'' attempts to fetch archive
 '''getopt-1.1.5_1.darwin_14.x86-64.tbz2''', which apparently doesn't
 exist, then defaults to fetching distfiles '''getopt-1.1.5.tar.gz''' from
 frodo.looijaard.name which provides a html webpage instead of the tarball.
 ''(This is the first, less important, problem.)''

 {{{
 --->  Fetching archive for getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://packages.macports.org/getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/getopt
 --->  Fetching distfiles for getopt
 --->  Attempting to fetch getopt-1.1.5.tar.gz from
 http://software.frodo.looijaard.name/getopt/files/
 --->  Verifying checksums for getopt
 Error: Checksum (md5) mismatch for getopt-1.1.5.tar.gz
 Error: Checksum (sha1) mismatch for getopt-1.1.5.tar.gz
 Error: Checksum (rmd160) mismatch for getopt-1.1.5.tar.gz
 }}}
 Obviously the checksums fail since it's actually a webpage that is
 fetched.

 So I tried (separately) downloading the tarball from 2 places:
 http://frodo.looijaard.name/system/files/software/getopt/getopt-1.1.5.tar.gz
 http://distfiles.macports.org/getopt/
 cleaned, moved the file to
 /opt/local/var/macports/distfiles/getopt/getopt-1.1.5.tar.gz
 and sudo port install getopt, again. The checksums still don't match. The
 checksums for both copies I downloaded match each other, but not the
 portfile checksum.
 Error logs are identical for either file used:

 {{{
 :info:checksum Portfile checksum: getopt-1.1.5.tar.gz md5
 546acfdb67ba16b8658a45ade9a64d5d
 :info:checksum Distfile checksum: getopt-1.1.5.tar.gz md5
 f6405207663f5376f52de35146d52363

 :info:checksum Portfile checksum: getopt-1.1.5.tar.gz sha1
 9090eb46ac92f2fd2749ca4121e81aaad40f325d
 :info:checksum Distfile checksum: getopt-1.1.5.tar.gz sha1
 b90321438fa0952240e25b396c7f1e3f031fafae

 :info:checksum Portfile checksum: getopt-1.1.5.tar.gz rmd160
 5cdef902ada45ba5e8a66a1357be8189b0cc634f
 :info:checksum Distfile checksum: getopt-1.1.5.tar.gz rmd160
 87eb1e0028edf0bc086fe256b1256a8bbf7eeea2
 }}}


 Macports still attempts to fetch archive darwin_14 files before it uses
 the downloaded distfile.

 {{{
 --->  Fetching archive for getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://packages.macports.org/getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/getopt
 --->  Attempting to fetch getopt-1.1.5_1.darwin_14.x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/getopt
 --->  Fetching distfiles for getopt
 --->  Verifying checksums for getopt
 Error: Checksum (md5) mismatch for getopt-1.1.5.tar.gz
 Error: Checksum (sha1) mismatch for getopt-1.1.5.tar.gz
 Error: Checksum (rmd160) mismatch for getopt-1.1.5.tar.gz
 }}}



 I cannot find a file whose checksums match the portfile checksums.
 Perhaps the portfile checksums want to match this file
 '''getopt-1.1.5_1.darwin_14.x86_64.tbz2''' which macports attempts to
 fetch first, and which apparently does not exist (neither I nor macports
 can find it on the internet). However, the error log does say "Portfile
 checksum: '''getopt-1.1.5.tar.gz'''".
 Maybe I'm misunderstanding a difference between archives and distfiles, as
 pertains to fetching? (I'm new to macports) I don't know if, but doubt
 that, this is a case of stealth updating, since the copies I downloaded
 were last updated on their servers in 2012 and 2013 respectively, and were
 both the same.

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


More information about the macports-tickets mailing list