Opened 12 years ago

Last modified 12 years ago

#33990 closed defect

python27: destroot fails with SyntaxError — at Version 1

Reported by: TheTanster (Kok-Yong Tan) Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

Changed 12 years ago by TheTanster (Kok-Yong Tan)

Build log for Python 2.7 package

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: python_27 build_failure removed
Owner: changed from macports-tickets@… to jwa@…
Port: python27 added; Python 2.7 removed
Summary: "sudo port -v upgrade outdated" stalls on Python 2.7 modulepython27: destroot fails with SyntaxError

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.

Note: See TracTickets for help on using tickets.