[Reproducible-builds] Bug#825817: spectral-cube: FTBFS: AttributeError: module 'distutils.config' has no attribute 'ConfigParser'

Chris Lamb lamby at debian.org
Mon May 30 09:48:41 UTC 2016


Source: spectral-cube
Version: 0.3.1-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,

spectral-cube fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              spectral-cube
   Version:              0.3.1-2
   Build architecture:   amd64
   Date:                 Mon, 30 May 2016 10:47:03 +0100
   Hostname:             0101c74628d0
   Uname:                Linux 0101c74628d0 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
   /etc/timezone:        Europe/London
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'spectral-cube-build-deps' in '../spectral-cube-build-deps_0.3.1-2_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package spectral-cube-build-deps.
  (Reading database ... 23092 files and directories currently installed.)
  Preparing to unpack spectral-cube-build-deps_0.3.1-2_all.deb ...
  Unpacking spectral-cube-build-deps (0.3.1-2) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    libblas-common libblas3 libcfitsio4 liberfa1 libgfortran3 liblapack3 libwcs5
    python-all python-astropy python-astropy-helpers python-numpy python-py
    python-pytest python-setuptools python3-all python3-astropy
    python3-astropy-helpers python3-numpy python3-pkg-resources python3-py
    python3-pytest python3-setuptools
  Suggested packages:
    libxml2-utils python-astropy-doc python-beautifulsoup python-h5py
    python-matplotlib python-pandas python-scipy python-tz python-wcsaxes
    python-yaml gfortran python-dev python-nose python-numpy-dbg
    python-numpy-doc subversion python-pytest-xdist python-mock
    python-setuptools-doc python3-astropy-doc python3-beautifulsoup python3-h5py
    python3-matplotlib python3-pandas python3-scipy python3-tz python3-wcsaxes
    python3-yaml python3-dev python3-nose python3-numpy-dbg
  The following NEW packages will be installed:
    libblas-common libblas3 libcfitsio4 liberfa1 libgfortran3 liblapack3 libwcs5
    python-all python-astropy python-astropy-helpers python-numpy python-py
    python-pytest python-setuptools python3-all python3-astropy
    python3-astropy-helpers python3-numpy python3-pkg-resources python3-py
    python3-pytest python3-setuptools
  0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 13.9 MB of archives.
  After this operation, 68.1 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-1 [936 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libgfortran3 amd64 6.1.1-4 [265 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libblas-common amd64 3.6.0-2 [13.5 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 libblas3 amd64 3.6.0-2 [158 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 liblapack3 amd64 3.6.0-2 [1949 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 python-numpy amd64 1:1.11.0-1 [1770 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 libcfitsio4 amd64 3.380-2 [512 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 liberfa1 amd64 1.2.0-3 [114 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 libwcs5 amd64 5.15-1 [263 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 python-astropy amd64 1.1.2-1 [2958 kB]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 python-astropy-helpers all 1.1.2-1 [102 kB]
  Get:12 http://httpredir.debian.org/debian sid/main amd64 python-py all 1.4.31-1 [81.8 kB]
  Get:13 http://httpredir.debian.org/debian sid/main amd64 python-pytest all 2.9.1-1 [166 kB]
  Get:14 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1 [203 kB]
  Get:15 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-3 [936 B]
  Get:16 http://httpredir.debian.org/debian sid/main amd64 python3-numpy amd64 1:1.11.0-1 [1769 kB]
  Get:17 http://httpredir.debian.org/debian sid/main amd64 python3-astropy amd64 1.1.2-1 [2945 kB]
  Get:18 http://httpredir.debian.org/debian sid/main amd64 python3-astropy-helpers all 1.1.2-1 [102 kB]
  Get:19 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1 [112 kB]
  Get:20 http://httpredir.debian.org/debian sid/main amd64 python3-py all 1.4.31-1 [81.9 kB]
  Get:21 http://httpredir.debian.org/debian sid/main amd64 python3-pytest all 2.9.1-1 [166 kB]
  Get:22 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1 [122 kB]
  Fetched 13.9 MB in 0s (56.8 MB/s)
  Selecting previously unselected package python-all.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23096 files and directories currently installed.)
  Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
  Unpacking python-all (2.7.11-1) ...
  Selecting previously unselected package libgfortran3:amd64.
  Preparing to unpack .../libgfortran3_6.1.1-4_amd64.deb ...
  Unpacking libgfortran3:amd64 (6.1.1-4) ...
  Selecting previously unselected package libblas-common.
  Preparing to unpack .../libblas-common_3.6.0-2_amd64.deb ...
  Unpacking libblas-common (3.6.0-2) ...
  Selecting previously unselected package libblas3.
  Preparing to unpack .../libblas3_3.6.0-2_amd64.deb ...
  Unpacking libblas3 (3.6.0-2) ...
  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-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-setuptools.
  Preparing to unpack .../python-setuptools_20.10.1-1_all.deb ...
  Unpacking python-setuptools (20.10.1-1) ...
  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-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-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-4) ...
  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-py (1.4.31-1) ...
  Setting up python-pytest (2.9.1-1) ...
  Setting up python-setuptools (20.10.1-1) ...
  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-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-setuptools (20.10.1-1) ...
  Setting up spectral-cube-build-deps (0.3.1-2) ...
  Processing triggers for libc-bin (2.22-9) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=0101c74628d0
  TERM=xterm
  EVAL=db spectral-cube; ret="${?}"; if [ "${ret}" = 29 ]; then ft . 300; echo spectral-cube >> /tmp/tmp.Fn2I940lrJ; fi; echo spectral-cube >> /home/lamby/unfiled/get-ftbfs-logs/.unreproducible; exit ${ret}
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160530104701.enNYKPb61c.spectral-cube/spectral-cube-0.3.1
  OLDPWD=/home/lamby/temp/cdt.20160530104701.enNYKPb61c.spectral-cube
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building spectral-cube 0.3.1-2 on amd64                                          **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package spectral-cube
  dpkg-buildpackage: info: source version 0.3.1-2
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Ole Streicher <olebole at debian.org>
   dpkg-source --before-build spectral-cube-0.3.1
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with python2,python3 --buildsystem=pybuild
     dh_testdir -O--buildsystem=pybuild
     dh_auto_clean -O--buildsystem=pybuild
  I: pybuild base:184: python2.7 setup.py clean 
  /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.20160530104701.enNYKPb61c.spectral-cube/spectral-cube-0.3.1/.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 --test-pytest -i python{version} -p 3.5 --dir . returned exit code 13
  debian/rules:10: recipe for target 'clean' failed
  make: *** [clean] Error 25

  [..]

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: spectral-cube.0.3.1-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3338 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160530/4d944e1a/attachment.obj>


More information about the Reproducible-builds mailing list