[Bug 713681] Re: fix FTBFS issue with python 2.7
Launchpad Bug Tracker
713681 at bugs.launchpad.net
Sat Feb 5 19:25:12 UTC 2011
This bug was fixed in the package h5py - 1.3.1-1
---------------
h5py (1.3.1-1) unstable; urgency=low
* New upstream version.
-- Sameer Morar <smorar at gmail.com> Wed, 12 Jan 2011 14:48:19 +0100
** Changed in: h5py (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/713681
Title:
fix FTBFS issue with python 2.7
Status in “h5py” package in Ubuntu:
Fix Released
Bug description:
This package does not build with python 2.7, and the following error
occurs:
python setup.py configure --api=18
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
******************************************
Configure: Autodetecting HDF5 settings...
Custom HDF5 dir: None
Custom API level: (1, 8)
Failed to compile HDF5 test program. Please check to make sure:
* You have a C compiler installed
* A development version of Python is installed (including header files)
* A development version of HDF5 is installed (including header files)
* If HDF5 is not in a default location, supply the argument --hdf5=<path>
******************************************
Traceback (most recent call last):
File "setup.py", line 541, in <module>
test_suite = 'h5py.tests'
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 239, in run
config = detect.detect_hdf5(self.tempdir, **COMPILER_SETTINGS)
File "/tmp/buildd/h5py-1.3.0/detect.py", line 12, in detect_hdf5
from distutils.core import CompileError, LinkError
ImportError: cannot import name CompileError
make: *** [pre-build] Error 1
CompileError and LinkError objects are now in distutils.error
More information about the Ubuntu-sponsors
mailing list