[MacPorts] #33990: "sudo port -v upgrade outdated" stalls on Python 2.7 module
#33990: "sudo port -v upgrade outdated" stalls on Python 2.7 module --------------------------------------+------------------------------------- Reporter: ktan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: python_27 build_failure | Port: Python 2.7 --------------------------------------+------------------------------------- I first did a "sudo port -v selfupdate" which finished successfully. I followed with "sudo port -v upgrade outdated" which stalled on the Python 2.7 module. I then used "sudo port -vp upgrade outdated" to upgrade the other modules around the error (which seemed to finish successfully). Upon coming back to try "sudo port -v upgrade outdate" thinking that having built other modules around it might resolve the issue but it again stalled on the Python 2.7 module at the same spot. I attach the log file. -- Ticket URL: <https://trac.macports.org/ticket/33990> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33990: python27: destroot fails with SyntaxError --------------------------------------+------------------------------------- Reporter: ktan@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: python27 --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… * keywords: python_27 build_failure => * port: Python 2.7 => python27 Old description:
I first did a
"sudo port -v selfupdate"
which finished successfully. I followed with
"sudo port -v upgrade outdated"
which stalled on the Python 2.7 module. I then used
"sudo port -vp upgrade outdated"
to upgrade the other modules around the error (which seemed to finish successfully). Upon coming back to try
"sudo port -v upgrade outdate"
thinking that having built other modules around it might resolve the issue but it again stalled on the Python 2.7 module at the same spot. I attach the log file.
New description: I first did a {{{ sudo port -v selfupdate }}} which finished successfully. I followed with {{{ sudo port -v upgrade outdated }}} which stalled on the Python 2.7 module. I then used {{{ sudo port -vp upgrade outdated }}} to upgrade the other modules around the error (which seemed to finish successfully). Upon coming back to try {{{ sudo port -v upgrade outdate }}} thinking that having built other modules around it might resolve the issue but it again stalled on the Python 2.7 module at the same spot. I attach the log file. -- Comment: The error in the log is: {{{ :info:destroot SyntaxError: ('invalid syntax', ('/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/pickletester.py', 646, 21, ' self.loa$s(badpickle)\n')) }}} However I wouldn't put too much faith in that error yet, since this was not a clean build attempt. Please "sudo port clean python27", try again, then attach the new main.log. -- Ticket URL: <https://trac.macports.org/ticket/33990#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33990: python27: destroot fails with SyntaxError --------------------------------------+------------------------------------- Reporter: ktan@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: python27 --------------------------------------+------------------------------------- Comment(by ktan@…): Okay. I tried {{{ sudo port clean python27 }}} and it blew up but this time with what looked like a conflict with python26 (it tried to install a file that python26 or one of its modules was sitting on). Looking at my build tree, I see that I had python26 also present, which I don't think I need. So I removed all python26 and py26 ports with {{{ sudo port -v uninstall --follow-dependents python26 }}} and then did a {{{ sudo port -vf install wireshark +gnutls +ipv6 +python27 +libgcrypt +libsmi }}} which took a little while to complete but seems to have succeeded in getting python27 to also rebuild and activate along with wireshark. Now I have what I think is an xauth problem trying to start up wireshark: {{{ bash-3.2$ sudo wireshark Password: (wireshark:45627): Gtk-WARNING **: cannot open display: :0 bash-3.2$ wireshark (wireshark:45631): Gtk-WARNING **: cannot open display: :0 bash-3.2$ }}} which I'm trying to research (unless somebody knows the fix for it off the top of their heads...) -- Ticket URL: <https://trac.macports.org/ticket/33990#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33990: python27: destroot fails with SyntaxError ---------------------------------------+------------------------------------ Reporter: ktan@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: worksforme | Keywords: Port: python27 | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/33990#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts