[Python-modules-team] Bug#686385: python-graph: FTBFS: ImportError: No module named setuptools
Jakub Wilk
jwilk at debian.org
Fri Aug 31 19:39:57 UTC 2012
Source: python-graph
Version: 1.8.2-1
Severity: serious
Justification: fails to build from source
python-graph FTBFS:
| Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz
| Traceback (most recent call last):
| File "setup.py", line 7, in <module>
| from setuptools import setup, find_packages
| ImportError: No module named setuptools
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "/build/python-graph-PnzsIF/python-graph-1.8.2/core/distribute_setup.py", line 147, in use_setuptools
| pkg_resources.require("distribute>="+version)
| File "/usr/lib/python3/dist-packages/pkg_resources.py", line 686, in require
| needed = self.resolve(parse_requirements(requirements))
| File "/usr/lib/python3/dist-packages/pkg_resources.py", line 584, in resolve
| raise DistributionNotFound(req)
| pkg_resources.DistributionNotFound: distribute>=0.6.24
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "/usr/lib/python3.2/urllib/request.py", line 1140, in do_open
| h.request(req.get_method(), req.selector, req.data, headers)
| File "/usr/lib/python3.2/http/client.py", line 970, in request
| self._send_request(method, url, body, headers)
| File "/usr/lib/python3.2/http/client.py", line 1008, in _send_request
| self.endheaders(body)
| File "/usr/lib/python3.2/http/client.py", line 966, in endheaders
| self._send_output(message_body)
| File "/usr/lib/python3.2/http/client.py", line 811, in _send_output
| self.send(msg)
| File "/usr/lib/python3.2/http/client.py", line 749, in send
| self.connect()
| File "/usr/lib/python3.2/http/client.py", line 727, in connect
| self.timeout, self.source_address)
| File "/usr/lib/python3.2/socket.py", line 397, in create_connection
| for res in getaddrinfo(host, port, 0, SOCK_STREAM):
| socket.gaierror: [Errno -2] Name or service not known
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "setup.py", line 10, in <module>
| distribute_setup.use_setuptools()
| File "/build/python-graph-PnzsIF/python-graph-1.8.2/core/distribute_setup.py", line 165, in use_setuptools
| download_delay)
| File "/build/python-graph-PnzsIF/python-graph-1.8.2/core/distribute_setup.py", line 124, in _do_download
| to_dir, download_delay)
| File "/build/python-graph-PnzsIF/python-graph-1.8.2/core/distribute_setup.py", line 193, in download_setuptools
| src = urlopen(url)
| File "/usr/lib/python3.2/urllib/request.py", line 139, in urlopen
| return opener.open(url, data, timeout)
| File "/usr/lib/python3.2/urllib/request.py", line 370, in open
| response = self._open(req, data)
| File "/usr/lib/python3.2/urllib/request.py", line 388, in _open
| '_open', req)
| File "/usr/lib/python3.2/urllib/request.py", line 348, in _call_chain
| result = func(*args)
| File "/usr/lib/python3.2/urllib/request.py", line 1160, in http_open
| return self.do_open(http.client.HTTPConnection, req)
| File "/usr/lib/python3.2/urllib/request.py", line 1143, in do_open
| raise URLError(err)
| urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
| make[1]: *** [override_dh_auto_build] Error 1
Internet was not accessible during the build.
--
Jakub Wilk
More information about the Python-modules-team
mailing list