devel/py-utils build error
Thomas Maack Nielsen
bsd-dk at svampen.dk
Thu Oct 12 21:46:39 PDT 2006
After upgrading to python 2.5 i get the following builderror with
devel/py-utils
[root at defender /usr/ports/devel/py-utils]# make install clean
===> Extracting for py25-utils-0.2.5
=> MD5 Checksum OK for downman.py?file=pythonutils-0.2.5.zip.
=> SHA256 Checksum OK for downman.py?file=pythonutils-0.2.5.zip.
===> py25-utils-0.2.5 depends on executable in : unzip - found
===> Patching for py25-utils-0.2.5
===> py25-utils-0.2.5 depends on file: /usr/local/bin/python - found
===> Configuring for py25-utils-0.2.5
Traceback (most recent call last):
File "setup.py", line 25, in <module>
from pythonutils import __version__ as VERSION
File "/usr/ports/devel/py-utils/work/pythonutils-0.2.5/pythonutils/__init__.py", line 28, in <module>
from pathutils import *
File "/usr/ports/devel/py-utils/work/pythonutils-0.2.5/pythonutils/pathutils.py", line 23
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
*** Error code 1
Regards,
Thomas Maack Nielsen
More information about the freebsd-ports
mailing list