[MacPorts] #53403: py27-crypto checksum failure due to missing distfile (was: port upgrade failed after migrating to macos sierra from osx lion)
MacPorts
noreply at macports.org
Fri Jan 27 07:36:03 UTC 2017
#53403: py27-crypto checksum failure due to missing distfile
--------------------------+-------------------
Reporter: gkdgoutam | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Resolution: | Keywords:
Port: py27-crypto |
--------------------------+-------------------
Old description:
> sudo port upgrade outdated fails with
> ---> Computing dependencies for py27-crypto
> ---> Verifying checksums for py27-crypto
> Error: org.macports.checksum for port py27-crypto returned:
> pycrypto-2.6.1.tar.gz does not exist in /opt/local/var/macports/distfiles
> /py-crypto
> Please see the log file for port py27-crypto for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_python_py-crypto/py27-crypto/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
> The file main.log is:
>
> version:1
> :msg:main ---> Computing dependencies for py27-crypto:info:main
> .:debug:main Searching for dependency: python27
> :debug:main Found Dependency: receipt exists for python27
> :debug:main Searching for dependency: gmp
> :debug:main Found Dependency: receipt exists for gmp
> :msg:main
> :debug:main Executing org.macports.main (py27-crypto)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 502
> :debug:main Skipping completed org.macports.fetch (py27-crypto)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:checksum checksum phase started at Fri Jan 27 12:30:44 IST 2017
> :notice:checksum ---> Verifying checksums for py27-crypto
> :debug:checksum Executing org.macports.checksum (py27-crypto)
> :info:checksum ---> Checksumming pycrypto-2.6.1.tar.gz
> :error:checksum org.macports.checksum for port py27-crypto returned:
> pycrypto-2.6.1.tar.gz does not exist in /opt/local/var/macports/distfiles
> /py-crypto
> :debug:checksum Error code: NONE
> :debug:checksum Backtrace: pycrypto-2.6.1.tar.gz does not exist in
> /opt/local/var/macports/distfiles/py-crypto
> 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 py27-crypto:
> org.macports.destroot org.macports.checksum org.macports.extract
> org.macports.patch org.macports.configure org.macports.build
> :notice:checksum Please see the log file for port py27-crypto for
> details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_python_py-crypto/py27-crypto/main.log
New description:
{{{
sudo port upgrade outdated fails with
---> Computing dependencies for py27-crypto
---> Verifying checksums for py27-crypto
Error: org.macports.checksum for port py27-crypto returned:
pycrypto-2.6.1.tar.gz does not exist in /opt/local/var/macports/distfiles
/py-crypto
Please see the log file for port py27-crypto for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-crypto/py27-crypto/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
The file main.log is:
{{{
version:1
:msg:main ---> Computing dependencies for py27-crypto:info:main
.:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:debug:main Searching for dependency: gmp
:debug:main Found Dependency: receipt exists for gmp
:msg:main
:debug:main Executing org.macports.main (py27-crypto)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.fetch (py27-crypto)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Jan 27 12:30:44 IST 2017
:notice:checksum ---> Verifying checksums for py27-crypto
:debug:checksum Executing org.macports.checksum (py27-crypto)
:info:checksum ---> Checksumming pycrypto-2.6.1.tar.gz
:error:checksum org.macports.checksum for port py27-crypto returned:
pycrypto-2.6.1.tar.gz does not exist in /opt/local/var/macports/distfiles
/py-crypto
:debug:checksum Error code: NONE
:debug:checksum Backtrace: pycrypto-2.6.1.tar.gz does not exist in
/opt/local/var/macports/distfiles/py-crypto
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 py27-crypto:
org.macports.destroot org.macports.checksum org.macports.extract
org.macports.patch org.macports.configure org.macports.build
:notice:checksum Please see the log file for port py27-crypto for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-crypto/py27-crypto/main.log
}}}
--
Comment (by jmroot):
Run `sudo port clean py27-crypto`. (This is one of the standard
troubleshooting steps listed in wiki:FAQ#buildfails.) Step 3.d in the
wiki:Migration instructions should also prevent this, did you follow it?
--
Ticket URL: <https://trac.macports.org/ticket/53403#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list