[Debian-astro-maintainers] Bug#851437: astroplan: FTBFS (requires Internet to build)
Santiago Vila
sanvila at debian.org
Sat Jan 14 23:04:33 UTC 2017
Package: src:astroplan
Version: 0.2-3
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
Freezing version number to astroplan/version.py
running config
I: pybuild base:184: python3.5 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:184: /usr/bin/python setup.py build
[... snipped ...]
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/dist-packages/astropy/tests/disable_internet.py", line 75, in new_function
"requested host was: {0}".format(host))
IOError: An attempt was made to connect to the internet by a test that was not marked `remote_data`. The requested host was: data.astropy.org
/tmp/astroplan-test-w5w2JP/docs/tutorials/summer_triangle.rst:49: UnexpectedException
========= 60 failed, 31 passed, 1 skipped, 2 error in 1871.77 seconds ==========
debian/rules:27: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
I've put a build log here:
https://people.debian.org/~sanvila/build-logs/astroplan/
The error message speaks by itself:
IOError: An attempt was made to connect to the internet by a test that was not marked `remote_data`. The requested host was: data.astropy.org
Packages must not require Internet connectivity to build.
Thanks.
More information about the Debian-astro-maintainers
mailing list