[Debian-astro-maintainers] Bug#824170: astroquery: FTBFS: AttributeError: module 'distutils.config' has no attribute 'ConfigParser'

Chris Lamb lamby at debian.org
Fri May 13 09:20:33 UTC 2016


Source: astroquery
Version: 0.3.1+dfsg-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

astroquery fails to build from source in unstable/amd64:

  [..]

  Selecting previously unselected package liblapack3.
  Preparing to unpack .../liblapack3_3.6.0-2_amd64.deb ...
  Unpacking liblapack3 (3.6.0-2) ...
  Selecting previously unselected package python-numpy.
  Preparing to unpack .../python-numpy_1%3a1.11.0-1_amd64.deb ...
  Unpacking python-numpy (1:1.11.0-1) ...
  Selecting previously unselected package libcfitsio4:amd64.
  Preparing to unpack .../libcfitsio4_3.380-2_amd64.deb ...
  Unpacking libcfitsio4:amd64 (3.380-2) ...
  Selecting previously unselected package liberfa1:amd64.
  Preparing to unpack .../liberfa1_1.2.0-3_amd64.deb ...
  Unpacking liberfa1:amd64 (1.2.0-3) ...
  Selecting previously unselected package libwcs5:amd64.
  Preparing to unpack .../libwcs5_5.15-1_amd64.deb ...
  Unpacking libwcs5:amd64 (5.15-1) ...
  Selecting previously unselected package python-astropy.
  Preparing to unpack .../python-astropy_1.1.2-1_amd64.deb ...
  Unpacking python-astropy (1.1.2-1) ...
  Selecting previously unselected package python-astropy-helpers.
  Preparing to unpack .../python-astropy-helpers_1.1.2-1_all.deb ...
  Unpacking python-astropy-helpers (1.1.2-1) ...
  Selecting previously unselected package python-bs4.
  Preparing to unpack .../python-bs4_4.4.1-1_all.deb ...
  Unpacking python-bs4 (4.4.1-1) ...
  Selecting previously unselected package python-roman.
  Preparing to unpack .../python-roman_2.0.0-2_all.deb ...
  Unpacking python-roman (2.0.0-2) ...
  Selecting previously unselected package sgml-base.
  Preparing to unpack .../sgml-base_1.26+nmu4_all.deb ...
  Unpacking sgml-base (1.26+nmu4) ...
  Selecting previously unselected package xml-core.
  Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
  Unpacking xml-core (0.13+nmu2) ...
  Selecting previously unselected package docutils-common.
  Preparing to unpack .../docutils-common_0.12+dfsg-1_all.deb ...
  Unpacking docutils-common (0.12+dfsg-1) ...
  Selecting previously unselected package python-docutils.
  Preparing to unpack .../python-docutils_0.12+dfsg-1_all.deb ...
  Unpacking python-docutils (0.12+dfsg-1) ...
  Selecting previously unselected package python-html5lib.
  Preparing to unpack .../python-html5lib_0.999-4_all.deb ...
  Unpacking python-html5lib (0.999-4) ...
  Selecting previously unselected package libdbus-1-3:amd64.
  Preparing to unpack .../libdbus-1-3_1.10.8-1_amd64.deb ...
  Unpacking libdbus-1-3:amd64 (1.10.8-1) ...
  Selecting previously unselected package libdbus-glib-1-2:amd64.
  Preparing to unpack .../libdbus-glib-1-2_0.106-1_amd64.deb ...
  Unpacking libdbus-glib-1-2:amd64 (0.106-1) ...
  Selecting previously unselected package python-dbus.
  Preparing to unpack .../python-dbus_1.2.4-1_amd64.deb ...
  Unpacking python-dbus (1.2.4-1) ...
  Selecting previously unselected package python-keyring.
  Preparing to unpack .../python-keyring_8.5.1-1_all.deb ...
  Unpacking python-keyring (8.5.1-1) ...
  Selecting previously unselected package python-py.
  Preparing to unpack .../python-py_1.4.31-1_all.deb ...
  Unpacking python-py (1.4.31-1) ...
  Selecting previously unselected package python-pytest.
  Preparing to unpack .../python-pytest_2.9.1-1_all.deb ...
  Unpacking python-pytest (2.9.1-1) ...
  Selecting previously unselected package python-urllib3.
  Preparing to unpack .../python-urllib3_1.13.1-2_all.deb ...
  Unpacking python-urllib3 (1.13.1-2) ...
  Selecting previously unselected package openssl.
  Preparing to unpack .../openssl_1.0.2h-1_amd64.deb ...
  Unpacking openssl (1.0.2h-1) ...
  Selecting previously unselected package ca-certificates.
  Preparing to unpack .../ca-certificates_20160104_all.deb ...
  Unpacking ca-certificates (20160104) ...
  Selecting previously unselected package python-chardet.
  Preparing to unpack .../python-chardet_2.3.0-2_all.deb ...
  Unpacking python-chardet (2.3.0-2) ...
  Selecting previously unselected package python-requests.
  Preparing to unpack .../python-requests_2.9.1-3_all.deb ...
  Unpacking python-requests (2.9.1-3) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.10.1-1_all.deb ...
  Unpacking python-setuptools (20.10.1-1) ...
  Selecting previously unselected package python-alabaster.
  Preparing to unpack .../python-alabaster_0.7.7-1_all.deb ...
  Unpacking python-alabaster (0.7.7-1) ...
  Selecting previously unselected package python-babel-localedata.
  Preparing to unpack .../python-babel-localedata_1.3+dfsg.1-7_all.deb ...
  Unpacking python-babel-localedata (1.3+dfsg.1-7) ...
  Selecting previously unselected package python-tz.
  Preparing to unpack .../python-tz_2015.7+dfsg-0.1_all.deb ...
  Unpacking python-tz (2015.7+dfsg-0.1) ...
  Selecting previously unselected package python-babel.
  Preparing to unpack .../python-babel_1.3+dfsg.1-7_all.deb ...
  Unpacking python-babel (1.3+dfsg.1-7) ...
  Selecting previously unselected package python-markupsafe.
  Preparing to unpack .../python-markupsafe_0.23-2+b2_amd64.deb ...
  Unpacking python-markupsafe (0.23-2+b2) ...
  Selecting previously unselected package python-jinja2.
  Preparing to unpack .../python-jinja2_2.8-1_all.deb ...
  Unpacking python-jinja2 (2.8-1) ...
  Selecting previously unselected package python-pygments.
  Preparing to unpack .../python-pygments_2.1.3+dfsg-1_all.deb ...
  Unpacking python-pygments (2.1.3+dfsg-1) ...
  Selecting previously unselected package fonts-font-awesome.
  Preparing to unpack .../fonts-font-awesome_4.6.1~dfsg-1_all.deb ...
  Unpacking fonts-font-awesome (4.6.1~dfsg-1) ...
  Selecting previously unselected package fonts-lato.
  Preparing to unpack .../fonts-lato_2.0-1_all.deb ...
  Unpacking fonts-lato (2.0-1) ...
  Selecting previously unselected package libjs-modernizr.
  Preparing to unpack .../libjs-modernizr_2.6.2+ds1-1_all.deb ...
  Unpacking libjs-modernizr (2.6.2+ds1-1) ...
  Selecting previously unselected package sphinx-rtd-theme-common.
  Preparing to unpack .../sphinx-rtd-theme-common_0.1.9-1_all.deb ...
  Unpacking sphinx-rtd-theme-common (0.1.9-1) ...
  Selecting previously unselected package python-sphinx-rtd-theme.
  Preparing to unpack .../python-sphinx-rtd-theme_0.1.9-1_all.deb ...
  Unpacking python-sphinx-rtd-theme (0.1.9-1) ...
  Selecting previously unselected package libjs-jquery.
  Preparing to unpack .../libjs-jquery_1.12.3-1_all.deb ...
  Unpacking libjs-jquery (1.12.3-1) ...
  Selecting previously unselected package libjs-underscore.
  Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1_all.deb ...
  Unpacking libjs-underscore (1.7.0~dfsg-1) ...
  Selecting previously unselected package libjs-sphinxdoc.
  Preparing to unpack .../libjs-sphinxdoc_1.3.6-2_all.deb ...
  Unpacking libjs-sphinxdoc (1.3.6-2) ...
  Selecting previously unselected package sphinx-common.
  Preparing to unpack .../sphinx-common_1.3.6-2_all.deb ...
  Unpacking sphinx-common (1.3.6-2) ...
  Selecting previously unselected package python-sphinx.
  Preparing to unpack .../python-sphinx_1.3.6-2_all.deb ...
  Unpacking python-sphinx (1.3.6-2) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.5.1-3_amd64.deb ...
  Unpacking python3-all (3.5.1-3) ...
  Selecting previously unselected package python3-numpy.
  Preparing to unpack .../python3-numpy_1%3a1.11.0-1_amd64.deb ...
  Unpacking python3-numpy (1:1.11.0-1) ...
  Selecting previously unselected package python3-astropy.
  Preparing to unpack .../python3-astropy_1.1.2-1_amd64.deb ...
  Unpacking python3-astropy (1.1.2-1) ...
  Selecting previously unselected package python3-astropy-helpers.
  Preparing to unpack .../python3-astropy-helpers_1.1.2-1_all.deb ...
  Unpacking python3-astropy-helpers (1.1.2-1) ...
  Selecting previously unselected package python3-bs4.
  Preparing to unpack .../python3-bs4_4.4.1-1_all.deb ...
  Unpacking python3-bs4 (4.4.1-1) ...
  Selecting previously unselected package python3-six.
  Preparing to unpack .../python3-six_1.10.0-3_all.deb ...
  Unpacking python3-six (1.10.0-3) ...
  Selecting previously unselected package python3-html5lib.
  Preparing to unpack .../python3-html5lib_0.999-4_all.deb ...
  Unpacking python3-html5lib (0.999-4) ...
  Selecting previously unselected package python3-dbus.
  Preparing to unpack .../python3-dbus_1.2.4-1_amd64.deb ...
  Unpacking python3-dbus (1.2.4-1) ...
  Selecting previously unselected package python3-keyring.
  Preparing to unpack .../python3-keyring_8.5.1-1_all.deb ...
  Unpacking python3-keyring (8.5.1-1) ...
  Selecting previously unselected package python3-pkg-resources.
  Preparing to unpack .../python3-pkg-resources_20.10.1-1_all.deb ...
  Unpacking python3-pkg-resources (20.10.1-1) ...
  Selecting previously unselected package python3-py.
  Preparing to unpack .../python3-py_1.4.31-1_all.deb ...
  Unpacking python3-py (1.4.31-1) ...
  Selecting previously unselected package python3-pytest.
  Preparing to unpack .../python3-pytest_2.9.1-1_all.deb ...
  Unpacking python3-pytest (2.9.1-1) ...
  Selecting previously unselected package python3-urllib3.
  Preparing to unpack .../python3-urllib3_1.13.1-2_all.deb ...
  Unpacking python3-urllib3 (1.13.1-2) ...
  Selecting previously unselected package python3-chardet.
  Preparing to unpack .../python3-chardet_2.3.0-2_all.deb ...
  Unpacking python3-chardet (2.3.0-2) ...
  Selecting previously unselected package python3-requests.
  Preparing to unpack .../python3-requests_2.9.1-3_all.deb ...
  Unpacking python3-requests (2.9.1-3) ...
  Selecting previously unselected package python3-setuptools.
  Preparing to unpack .../python3-setuptools_20.10.1-1_all.deb ...
  Unpacking python3-setuptools (20.10.1-1) ...
  Processing triggers for libc-bin (2.22-9) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up python-all (2.7.11-1) ...
  Setting up libgfortran3:amd64 (6.1.1-3) ...
  Setting up libblas-common (3.6.0-2) ...
  Setting up libblas3 (3.6.0-2) ...
  update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
  Setting up liblapack3 (3.6.0-2) ...
  update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
  Setting up python-numpy (1:1.11.0-1) ...
  Setting up libcfitsio4:amd64 (3.380-2) ...
  Setting up liberfa1:amd64 (1.2.0-3) ...
  Setting up libwcs5:amd64 (5.15-1) ...
  Setting up python-astropy (1.1.2-1) ...
  Setting up python-astropy-helpers (1.1.2-1) ...
  Setting up python-bs4 (4.4.1-1) ...
  Setting up python-roman (2.0.0-2) ...
  Setting up sgml-base (1.26+nmu4) ...
  Setting up xml-core (0.13+nmu2) ...
  Setting up python-html5lib (0.999-4) ...
  Setting up libdbus-1-3:amd64 (1.10.8-1) ...
  Setting up libdbus-glib-1-2:amd64 (0.106-1) ...
  Setting up python-dbus (1.2.4-1) ...
  Remove stale byte-compiled files...
  Setting up python-keyring (8.5.1-1) ...
  Setting up python-py (1.4.31-1) ...
  Setting up python-pytest (2.9.1-1) ...
  Setting up python-urllib3 (1.13.1-2) ...
  Setting up openssl (1.0.2h-1) ...
  Setting up ca-certificates (20160104) ...
  Setting up python-chardet (2.3.0-2) ...
  Setting up python-requests (2.9.1-3) ...
  Setting up python-setuptools (20.10.1-1) ...
  Setting up python-alabaster (0.7.7-1) ...
  Setting up python-babel-localedata (1.3+dfsg.1-7) ...
  Setting up python-tz (2015.7+dfsg-0.1) ...
  Setting up python-babel (1.3+dfsg.1-7) ...
  update-alternatives: using /usr/bin/pybabel-python2 to provide /usr/bin/pybabel (pybabel) in auto mode
  Setting up python-markupsafe (0.23-2+b2) ...
  Setting up python-jinja2 (2.8-1) ...
  Setting up python-pygments (2.1.3+dfsg-1) ...
  Setting up fonts-font-awesome (4.6.1~dfsg-1) ...
  Setting up fonts-lato (2.0-1) ...
  Setting up libjs-modernizr (2.6.2+ds1-1) ...
  Setting up sphinx-rtd-theme-common (0.1.9-1) ...
  Setting up python-sphinx-rtd-theme (0.1.9-1) ...
  Setting up libjs-jquery (1.12.3-1) ...
  Setting up libjs-underscore (1.7.0~dfsg-1) ...
  Setting up libjs-sphinxdoc (1.3.6-2) ...
  Setting up sphinx-common (1.3.6-2) ...
  Setting up python3-all (3.5.1-3) ...
  Setting up python3-numpy (1:1.11.0-1) ...
  Setting up python3-astropy (1.1.2-1) ...
  Setting up python3-astropy-helpers (1.1.2-1) ...
  Setting up python3-bs4 (4.4.1-1) ...
  Setting up python3-six (1.10.0-3) ...
  Setting up python3-html5lib (0.999-4) ...
  Setting up python3-dbus (1.2.4-1) ...
  Setting up python3-keyring (8.5.1-1) ...
  Setting up python3-pkg-resources (20.10.1-1) ...
  Setting up python3-py (1.4.31-1) ...
  Setting up python3-pytest (2.9.1-1) ...
  Setting up python3-urllib3 (1.13.1-2) ...
  Setting up python3-chardet (2.3.0-2) ...
  Setting up python3-requests (2.9.1-3) ...
  Setting up python3-setuptools (20.10.1-1) ...
  Processing triggers for sgml-base (1.26+nmu4) ...
  Setting up docutils-common (0.12+dfsg-1) ...
  Processing triggers for sgml-base (1.26+nmu4) ...
  Setting up python-docutils (0.12+dfsg-1) ...
  update-alternatives: using /usr/share/docutils/scripts/python2/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
  update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
  Setting up python-sphinx (1.3.6-2) ...
  Setting up astroquery-build-deps (0.3.1+dfsg-2) ...
  Processing triggers for libc-bin (2.22-9) ...
  Processing triggers for ca-certificates (20160104) ...
  Updating certificates in /etc/ssl/certs...
  173 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package astroquery
  dpkg-buildpackage: info: source version 0.3.1+dfsg-2
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Vincent Prat <vinceprat at free.fr>
   dpkg-source --before-build astroquery-0.3.1+dfsg
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with python2,python3,sphinxdoc --buildsystem=pybuild
     dh_testdir -O--buildsystem=pybuild
     debian/rules override_dh_auto_clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160513100926.43PXDH1PbE.astroquery/astroquery-0.3.1+dfsg'
  dh_auto_clean
  I: pybuild base:184: python2.7 setup.py clean 
  astroquery/sdss/setup_package.py:2: RuntimeWarning: Parent module 'astroquery.sdss' not found while handling absolute import
    import os
  /usr/lib/python2.7/dist-packages/astropy_helpers/setup_helpers.py:102: AstropyDeprecationWarning: Direct use of the adjust_compiler function in setup.py is deprecated and can be removed from your setup.py.  This functionality is now incorporated directly into the build_ext command.
    'command.', AstropyDeprecationWarning)
  running clean
  removing '/home/lamby/temp/cdt.20160513100926.43PXDH1PbE.astroquery/astroquery-0.3.1+dfsg/.pybuild/pythonX.Y_2.7/build' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  I: pybuild base:184: python3.5 setup.py clean 
  Traceback (most recent call last):
    File "setup.py", line 25, in <module>
      conf = config.ConfigParser()
  AttributeError: module 'distutils.config' has no attribute 'ConfigParser'
  E: pybuild pybuild:274: clean: plugin distutils failed with: exit code=1: python3.5 setup.py clean 
  dh_auto_clean: pybuild --clean -i python{version} -p 3.5 --dir . returned exit code 13
  debian/rules:22: recipe for target 'override_dh_auto_clean' failed
  make[1]: *** [override_dh_auto_clean] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160513100926.43PXDH1PbE.astroquery/astroquery-0.3.1+dfsg'
  debian/rules:15: recipe for target 'clean' failed
  make: *** [clean] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: astroquery.0.3.1+dfsg-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5067 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20160513/7f801285/attachment-0001.obj>


More information about the Debian-astro-maintainers mailing list