Opened 9 years ago

Closed 9 years ago

#48720 closed defect (fixed)

py27-xmldiff @0.6.8: SyntaxError: from __future__ imports must occur at the beginning of the file

Reported by: lord@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: py27-xmldiff

Description

lambda13 ~/Downloads$ sudo port install py27-xmldiff
--->  Computing dependencies for py27-xmldiff
--->  Building py27-xmldiff
Error: org.macports.build for port py27-xmldiff returned: command execution failed
Please see the log file for port py27-xmldiff for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-xmldiff/py27-xmldiff/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-xmldiff failed

log file attached

Attachments (2)

main.log.gz (2.2 KB) - added by lord@… 9 years ago.
log file
main-after-clean.log.gz (2.8 KB) - added by lord@… 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by lord@…

Attachment: main.log.gz added

log file

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

This log was incomplete. Can you please clean and try again?

Changed 9 years ago by lord@…

Attachment: main-after-clean.log.gz added

comment:2 Changed 9 years ago by lord@…

I did:

$ sudo port clean py27-xmldiff
$ sudo port install py27-xmldiff

New log file is attached.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Processing of port py27-xmldiff failedpy27-xmldiff @0.6.8: SyntaxError: from __future__ imports must occur at the beginning of the file

Ok, I can confirm this problem.

py27-xmldiff hasn't been updated lately, but py27-setuptools has; it may be more strict now.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

We should try updating xmldiff to the latest version, 0.6.10.

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

That fixes the problem for me. r139744

Note: See TracTickets for help on using tickets.