[MacPorts] #35850: Error upgrade python27
#35850: Error upgrade python27 ------------------------------------------------+--------------------------- Reporter: bhoglund@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: python27 upgrade outdated destroot | Port: python27 ------------------------------------------------+--------------------------- Typing "sudo port upgrade outdated" gave me the error: " ---> Installing python27 @2.7.3_0 Error: org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log " I tried "sudo port clean python27", but got the same error. I went into the log file, as the error message suggested above & found these error lines: " :error:install org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot :debug:install Error code: NONE :debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/ " I tried to uninstall python27, but there were dependent files &/or applications, whose purpose I don't know. I abandoned uninstalling python27. I then tried "sudo port -n upgrade --force python27", but got the same error, but with many lines of text! Also, "which python" give Apple's python, not MacPorts: /usr/bin/python -- Ticket URL: <https://trac.macports.org/ticket/35850> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -----------------------------+---------------------------------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: python27 -----------------------------+---------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => jwa@… * keywords: python27 upgrade outdated destroot => Old description:
Typing "sudo port upgrade outdated" gave me the error:
" ---> Installing python27 @2.7.3_0 Error: org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log "
I tried "sudo port clean python27", but got the same error. I went into the log file, as the error message suggested above & found these error lines:
" :error:install org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot :debug:install Error code: NONE :debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/ "
I tried to uninstall python27, but there were dependent files &/or applications, whose purpose I don't know. I abandoned uninstalling python27.
I then tried "sudo port -n upgrade --force python27", but got the same error, but with many lines of text!
Also, "which python" give Apple's python, not MacPorts: /usr/bin/python
New description: Typing "sudo port upgrade outdated" gave me the error: {{{ ---> Installing python27 @2.7.3_0 Error: org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log }}} I tried "sudo port clean python27", but got the same error. I went into the log file, as the error message suggested above & found these error lines: {{{ :error:install org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot :debug:install Error code: NONE :debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/ }}} I tried to uninstall python27, but there were dependent files &/or applications, whose purpose I don't know. I abandoned uninstalling python27. I then tried "sudo port -n upgrade --force python27", but got the same error, but with many lines of text! Also, "which python" give Apple's python, not MacPorts: /usr/bin/python -- Comment: In the future, please use WikiFormatting and Cc the port maintainer(s). Please attach the entire main.log. -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Changes (by macsforever2000@…): * cc: bhoglund@… (removed) Comment: That log was not useful at all. clean python27 and attach the new main.log if it fails. -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Comment (by bhoglund@…): Replying to [comment:3 macsforever2000@…]:
That log was not useful at all. clean python27 and attach the new main.log if it fails.
Sorry it was not useful. I cleaned python27 and again typed "sudo port upgrade outdated" and got the first error a few lines down: {{{ #!div style="font-size: 80%" {{{#!python ---> Installing python27 @2.7.3_0 Error: org.macports.install for port python27 returned: @name python27-2.7.3_0 @portname python27 }}} }}} There were hundreds of lines after these. I have attached the new main.log. Hopefully it is useful this time. -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Comment (by ryandesign@…): That log is interesting. I don't know what's causing the problem though. Is your tar command working correctly? What's the following command output: {{{ /usr/bin/tar --version }}} -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: python27 | -------------------------+------------------- Comment (by bhoglund@…): Replying to [comment:5 ryandesign@…]:
That log is interesting. I don't know what's causing the problem though.
Is your tar command working correctly? What's the following command output:
{{{ /usr/bin/tar --version }}}
I've never had a problem compressing or uncompressing files, but I rarely, if ever, use the CLI to do so. {{{ /usr/bin/tar --version tar (GNU tar) 1.26 }}} And "which tar" says that's the one I'd use. -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+-------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: python27 | -------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: Yeah, on Lion you should get: {{{ % /usr/bin/tar --version bsdtar 2.8.3 - libarchive 2.8.3 }}} We can't offer support if you jave modified stuff in /usr/bin. -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35850: Error upgrade python27 -------------------------+-------------------- Reporter: bhoglund@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: python27 | -------------------------+-------------------- Comment (by bhoglund@…): Replying to [comment:7 jmr@…]:
Yeah, on Lion you should get: {{{ % /usr/bin/tar --version bsdtar 2.8.3 - libarchive 2.8.3 }}} We can't offer support if you have modified stuff in /usr/bin.
I understand. Thanks for finding the root cause of the problem. I changed my Symbolic Link of usr/bin/tar from MacPorts installed gnutar to usr/bin/bsdtar (version 2.8.3), and was able to update my MacPorts (no more Python27 problems). -- Ticket URL: <https://trac.macports.org/ticket/35850#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts