[MacPorts] #49416: libtool checksum mismatch
#49416: libtool checksum mismatch -----------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: checksum | Port: libtool -----------------------------+-------------------------------- Hi, I am having an issue upgrading libtool on OXS 10.11.1 {{{ $ sudo port upgrade libtool ---> Verifying checksums for libtool Error: Checksum (rmd160) mismatch for libtool-2.4.6.tar.gz Error: Checksum (sha256) mismatch for libtool-2.4.6.tar.gz Error: org.macports.checksum for port libtool returned: Unable to verify file checksums Please see the log file for port libtool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libtool/libtool/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- Ticket URL: <https://trac.macports.org/ticket/49416> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: libtool checksum mismatch ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: checksum Port: libtool | ------------------------------+-------------------------------- Comment (by ady.romantika@…): Hi, I am having an issue upgrading libtool on OSX 10.11.1 {{{ $ sudo port upgrade libtool ---> Verifying checksums for libtool Error: Checksum (rmd160) mismatch for libtool-2.4.6.tar.gz Error: Checksum (sha256) mismatch for libtool-2.4.6.tar.gz Error: org.macports.checksum for port libtool returned: Unable to verify file checksums Please see the log file for port libtool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libtool/libtool/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: libtool checksum mismatch ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: checksum Port: libtool | ------------------------------+-------------------------------- Comment (by ryandesign@…): Please read wiki:FAQ#checksums and try to figure out why the checksum mismatch occurred. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: libtool checksum mismatch ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: checksum Port: libtool | ------------------------------+-------------------------------- Comment (by ady.romantika@…): I have no idea why but the distfile was a PGP signature: {{{ $ file /opt/local/var/macports/distfiles/libtool/libtool-2.4.6.tar.gz /opt/local/var/macports/distfiles/libtool/libtool-2.4.6.tar.gz: PGP signature }}} I ran {{{ $ sudo port clean --dist libtool $ sudo port upgrade libtool }}} And the correct file is now there: {{{ $ file /opt/local/var/macports/distfiles/libtool/libtool-2.4.6.tar.gz /opt/local/var/macports/distfiles/libtool/libtool-2.4.6.tar.gz: gzip compressed data, from Unix, max compression }}} All is well now, thanks. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libtool | ------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: checksum => Comment: This is because the aarnet mirror server is misconfigured: {{{ $ curl -I -L http://mirror.aarnet.edu.au/pub/gnu/libtool/libtool-2.4.6.tar.gz HTTP/1.1 200 OK Date: Sat, 24 Oct 2015 16:47:36 GMT Server: ATS/5.2.0 Content-Location: libtool-2.4.6.tar.gz.sig Vary: negotiate TCN: choice Last-Modified: Sun, 15 Feb 2015 20:31:58 GMT Accept-Ranges: bytes Content-Length: 181 Content-Type: application/pgp-signature Age: 192 }}} I reported this problem to them already in a different context on October 13 along with the fix (add "`Options -MultiViews`" to the Apache configuration). I will remind them about the problem again. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * cc: ryandesign@… (added) * port: libtool => -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+-------------------------------- Reporter: ady.romantika@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+-------------------------------- Changes (by larryv@…): * cc: michael@… (added) Comment: Cc-ing another user who had similar problems with that mirror and reported it to me via email. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mirror@… * component: ports => server/hosting Comment: Assigning to admin of server. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: closed Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: fixed | Keywords: Port: | ------------------------------+---------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Admin says this is fixed: {{{ 00:30:15 classicsnail) good morning, mirror.aarnet.edu.au maintainer here, I'm looking at https://trac.macports.org/ticket/49416 00:30:38 classicsnail) for some reason our ticket tracking system has started stripping out email addresses, so I ahven't been able to reply, but I've changed the configuration }}} -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Changes (by jmarchbold@…): * status: closed => reopened * resolution: fixed => Comment: I have been trying to install libtool as well. No progress yet .. Log from Mon 26th Oct, 8.35AM GST+10 sh-3.2# sudo port clean --dist libtool ---> Cleaning libtool sh-3.2# sudo port upgrade libtool Error: libtool is not installed sh-3.2# sudo port install libtool ---> Fetching archive for libtool ---> Attempting to fetch libtool-2.4.6_2.darwin_15.x86_64.tbz2 from http://packages.macports.org/libtool ---> Attempting to fetch libtool-2.4.6_2.darwin_15.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libtool ---> Attempting to fetch libtool-2.4.6_2.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/libtool ---> Fetching distfiles for libtool ---> Attempting to fetch libtool-2.4.6.tar.gz from http://mirror.aarnet.edu.au/pub/gnu/libtool ---> Verifying checksums for libtool Error: Checksum (rmd160) mismatch for libtool-2.4.6.tar.gz Error: Checksum (sha256) mismatch for libtool-2.4.6.tar.gz Error: org.macports.checksum for port libtool returned: Unable to verify file checksums Please see the log file for port libtool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libtool/libtool/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port libtool failed sh-3.2# -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by ryandesign@…): Agreed, the [comment:4 command shown above] shows that the problem still exists. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by damo.clarky@…): I can confirm also that the problem still exists - output of main.log {{{ :notice:fetch ---> Attempting to fetch libtool-2.4.6.tar.gz from http://mirror.aarnet.edu.au/pub/gnu/libtool :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Tue Oct 27 10:10:15 AEST 2015 :notice:checksum ---> Verifying checksums for libtool :debug:checksum Executing org.macports.checksum (libtool) :info:checksum ---> Checksumming libtool-2.4.6.tar.gz :debug:checksum Calculated (rmd160) is 9ff43e244ef621dd9af961f9122409d7d88a9de0 :error:checksum Checksum (rmd160) mismatch for libtool-2.4.6.tar.gz :info:checksum Portfile checksum: libtool-2.4.6.tar.gz rmd160 6f4b4c3e89426652da3acffa707f71bb4ccee26a :info:checksum Distfile checksum: libtool-2.4.6.tar.gz rmd160 9ff43e244ef621dd9af961f9122409d7d88a9de0 :debug:checksum Calculated (sha256) is 8af306744d7095f08b090678fc7570d58499e697a0216e423d806b70fe483ea0 :error:checksum Checksum (sha256) mismatch for libtool-2.4.6.tar.gz :info:checksum Portfile checksum: libtool-2.4.6.tar.gz sha256 e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 :info:checksum Distfile checksum: libtool-2.4.6.tar.gz sha256 8af306744d7095f08b090678fc7570d58499e697a0216e423d806b70fe483ea0 :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 9ff43e244ef621dd9af961f9122409d7d88a9de0 \ sha256 8af306744d7095f08b090678fc7570d58499e697a0216e423d806b70fe483ea0 :error:checksum org.macports.checksum for port libtool 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" }}} -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:4 ryandesign@…]:
This is because the aarnet mirror server is misconfigured:
{{{ $ curl -I -L http://mirror.aarnet.edu.au/pub/gnu/libtool/libtool-2.4.6.tar.gz HTTP/1.1 200 OK Date: Sat, 24 Oct 2015 16:47:36 GMT Server: ATS/5.2.0 Content-Location: libtool-2.4.6.tar.gz.sig Vary: negotiate TCN: choice Last-Modified: Sun, 15 Feb 2015 20:31:58 GMT Accept-Ranges: bytes Content-Length: 181 Content-Type: application/pgp-signature Age: 192 }}}
I reported this problem to them already in a different context on October 13 along with the fix (add "`Options -MultiViews`" to the Apache configuration). I will remind them about the problem again.
The different context I mentioned was reported to us in #49209 and that issue (receiving an HTML file that happened to be in the same directory instead of the requested tarball) is resolved. However, the issue reported here (receiving a PGP signature file that happened to be in the same directory instead of the requested tarball) remains. I also see now that this server is not running Apache httpd but rather Apache Traffic Server; I don't know how to configure that. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by ryandesign@…): Has duplicate #49371. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by ryandesign@…): I've temporarily removed the aarnet mirror from the gnu fetch group in r141733; this can be reverted when the server configuration is fixed. I'm not sure if any of the other groups aarnet provides mirrors for use pgg signature files too; if so, we can temporarily remove aarnet from those groups as well. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by jmarchbold@…): Hi Ryan, Not sure what I am doing wrong here, but main.log reports that it can't find the file:libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2. From main.log - '':info:archivefetch ---> libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/ver$ :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://packages.macports.org/libtool :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://jog.id.packages.macports.org/m$ :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/l$ :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found'' From the command: JohnArcboldsMBP:~ John$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.4 installed, MacPorts base version 2.3.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated JohnArcboldsMBP:~ John$ sudo port clean libtool ---> Cleaning libtool JohnArcboldsMBP:~ John$ sudo port upgrade outdated ---> Fetching archive for libtool ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://packages.macports.org/libtool ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libtool ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/libtool ---> Fetching distfiles for libtool ---> Verifying checksums for libtool Error: Checksum (rmd160) mismatch for libtool-2.4.6.tar.gz Error: Checksum (sha256) mismatch for libtool-2.4.6.tar.gz Error: org.macports.checksum for port libtool returned: Unable to verify file checksums Please see the log file for port libtool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libtool/libtool/main.log Error: Problem while installing libtool To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets JohnArcboldsMBP:~ John$ -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Changes (by ryandesign@…): * cc: jmarchbold@… (added) Comment: Replying to [comment:15 jmarchbold@…]:
Hi Ryan, Not sure what I am doing wrong here, but main.log reports that it can't find the file:libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2.
From main.log -
{{{ :info:archivefetch ---> libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/ver$ :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://packages.macports.org/libtool :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://jog.id.packages.macports.org/m$ :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch libtool-2.4.6_2+universal.darwin_15.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/l$ :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found }}}
There are no archives of any port available for darwin 15 at this time. This is not a bug, just a missing nice-to-have optional time-saving feature. See #48609.
From the command:
{{{ JohnArcboldsMBP:~ John$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.4 installed, MacPorts base version 2.3.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated JohnArcboldsMBP:~ John$ sudo port clean libtool ---> Cleaning libtool }}}
This does not clean (remove) the distfile. To clean (remove) the distfile, run: {{{ sudo port clean --dist libtool }}} or {{{ sudo port clean --all libtool }}} Then try again. -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#49416: aarnet mirror server delivers wrong files ------------------------------+---------------------- Reporter: ady.romantika@… | Owner: mirror@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: server/hosting | Version: 2.3.4 Resolution: | Keywords: Port: | ------------------------------+---------------------- Comment (by jmarchbold@…): Thanks - that worked. Cheers -- Ticket URL: <https://trac.macports.org/ticket/49416#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts