Opened 8 years ago

Closed 8 years ago

#51985 closed defect (duplicate)

py27-astropy: fails to build on OS X 10.9

Reported by: skymoo (Adam Mercer) Owned by: robitaille@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-astropy

Description

Trying to build py27-astropy on a OS X 10.9 machine it's failing with:

:info:build running build
:info:build running build_py
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 108, in <module>
:info:build     **package_info
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/
lib/python2.7/distutils/core.py", line 151, in setup
:info:build     dist.run_commands()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
:info:build     self.run_command(cmd)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
:info:build     cmd_obj.run()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
:info:build     self.run_command(cmd_name)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
:info:build     self.distribution.run_command(command)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 971, in run_command
:info:build     cmd_obj.ensure_finalized()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
:info:build     self.finalize_options()
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/work/astropy-1.2/astropy_helpers/astropy_helpers/commands/build_py.py", line 22, in finalize_options
:info:build     SetuptoolsBuildPy.finalize_options(self)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/build_py.py", line 36, in finalize_options
:info:build     self.exclude_package_data = (self.distribution.exclude_package_data or
:info:build AttributeError: Distribution instance has no attribute 'exclude_package_data'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/work/astropy-1.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg --offline --no-git build --use-system-cfitsio --use-system-expat --use-system-wcslib --use-system-erfa

Full build log attached.

Attachments (1)

main.log (12.1 KB) - added by skymoo (Adam Mercer) 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by skymoo (Adam Mercer)

Attachment: main.log added

comment:1 Changed 8 years ago by skymoo (Adam Mercer)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.