[Reproducible-builds] Bug#824008: python-xdo: FTBFS: ImportError: No module named 'six'

Chris Lamb lamby at debian.org
Wed May 11 08:56:56 UTC 2016


Source: python-xdo
Version: 0.3-1
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,

python-xdo fails to build from source in unstable/amd64:

  [..]

  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 'python-xdo-build-deps' in '../python-xdo-build-deps_0.3-1_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 python-xdo-build-deps.
  (Reading database ... 23076 files and directories currently installed.)
  Preparing to unpack python-xdo-build-deps_0.3-1_all.deb ...
  Unpacking python-xdo-build-deps (0.3-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxdo3 libxext6 libxi6
    libxinerama1 libxkbcommon0 libxtst6 python-all python-setuptools python3-all
    python3-pkg-resources python3-setuptools x11-common xkb-data
  Suggested packages:
    python-setuptools-doc
  The following NEW packages will be installed:
    libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxdo3 libxext6 libxi6
    libxinerama1 libxkbcommon0 libxtst6 python-all python-setuptools python3-all
    python3-pkg-resources python3-setuptools x11-common xkb-data
  0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 2607 kB of archives.
  After this operation, 11.8 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 libxau6 amd64 1:1.0.8-1 [20.7 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libxdmcp6 amd64 1:1.1.2-1.1 [26.2 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libxcb1 amd64 1.11.1-1 [44.1 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 libx11-data all 2:1.6.3-1 [128 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 libx11-6 amd64 2:1.6.3-1 [742 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 libxext6 amd64 2:1.3.3-1 [52.7 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 libxinerama1 amd64 2:1.1.3-1+b1 [16.9 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 xkb-data all 2.17-1 [627 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 libxkbcommon0 amd64 0.5.0-1 [121 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 libxi6 amd64 2:1.7.6-1 [80.6 kB]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 x11-common all 1:7.7+15 [251 kB]
  Get:12 http://httpredir.debian.org/debian sid/main amd64 libxtst6 amd64 2:1.2.2-1+b1 [27.3 kB]
  Get:13 http://httpredir.debian.org/debian sid/main amd64 libxdo3 amd64 1:3.20150503.1-2 [32.2 kB]
  Get:14 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-1 [936 B]
  Get:15 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1 [203 kB]
  Get:16 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-3 [936 B]
  Get:17 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1 [112 kB]
  Get:18 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1 [122 kB]
  Fetched 2607 kB in 0s (36.7 MB/s)
  Selecting previously unselected package libxau6:amd64.
  (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 ... 23080 files and directories currently installed.)
  Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
  Unpacking libxau6:amd64 (1:1.0.8-1) ...
  Selecting previously unselected package libxdmcp6:amd64.
  Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
  Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
  Selecting previously unselected package libxcb1:amd64.
  Preparing to unpack .../libxcb1_1.11.1-1_amd64.deb ...
  Unpacking libxcb1:amd64 (1.11.1-1) ...
  Selecting previously unselected package libx11-data.
  Preparing to unpack .../libx11-data_2%3a1.6.3-1_all.deb ...
  Unpacking libx11-data (2:1.6.3-1) ...
  Selecting previously unselected package libx11-6:amd64.
  Preparing to unpack .../libx11-6_2%3a1.6.3-1_amd64.deb ...
  Unpacking libx11-6:amd64 (2:1.6.3-1) ...
  Selecting previously unselected package libxext6:amd64.
  Preparing to unpack .../libxext6_2%3a1.3.3-1_amd64.deb ...
  Unpacking libxext6:amd64 (2:1.3.3-1) ...
  Selecting previously unselected package libxinerama1:amd64.
  Preparing to unpack .../libxinerama1_2%3a1.1.3-1+b1_amd64.deb ...
  Unpacking libxinerama1:amd64 (2:1.1.3-1+b1) ...
  Selecting previously unselected package xkb-data.
  Preparing to unpack .../xkb-data_2.17-1_all.deb ...
  Unpacking xkb-data (2.17-1) ...
  Selecting previously unselected package libxkbcommon0:amd64.
  Preparing to unpack .../libxkbcommon0_0.5.0-1_amd64.deb ...
  Unpacking libxkbcommon0:amd64 (0.5.0-1) ...
  Selecting previously unselected package libxi6:amd64.
  Preparing to unpack .../libxi6_2%3a1.7.6-1_amd64.deb ...
  Unpacking libxi6:amd64 (2:1.7.6-1) ...
  Selecting previously unselected package x11-common.
  Preparing to unpack .../x11-common_1%3a7.7+15_all.deb ...
  Unpacking x11-common (1:7.7+15) ...
  Selecting previously unselected package libxtst6:amd64.
  Preparing to unpack .../libxtst6_2%3a1.2.2-1+b1_amd64.deb ...
  Unpacking libxtst6:amd64 (2:1.2.2-1+b1) ...
  Selecting previously unselected package libxdo3:amd64.
  Preparing to unpack .../libxdo3_1%3a3.20150503.1-2_amd64.deb ...
  Unpacking libxdo3:amd64 (1:3.20150503.1-2) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
  Unpacking python-all (2.7.11-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-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-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-7) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for systemd (229-5) ...
  Setting up libxau6:amd64 (1:1.0.8-1) ...
  Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
  Setting up libxcb1:amd64 (1.11.1-1) ...
  Setting up libx11-data (2:1.6.3-1) ...
  Setting up libx11-6:amd64 (2:1.6.3-1) ...
  Setting up libxext6:amd64 (2:1.3.3-1) ...
  Setting up libxinerama1:amd64 (2:1.1.3-1+b1) ...
  Setting up xkb-data (2.17-1) ...
  Setting up libxkbcommon0:amd64 (0.5.0-1) ...
  Setting up libxi6:amd64 (2:1.7.6-1) ...
  Setting up x11-common (1:7.7+15) ...
  update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of start.
  Setting up libxtst6:amd64 (2:1.2.2-1+b1) ...
  Setting up libxdo3:amd64 (1:3.20150503.1-2) ...
  Setting up python-all (2.7.11-1) ...
  Setting up python-setuptools (20.10.1-1) ...
  Setting up python3-all (3.5.1-3) ...
  Setting up python3-pkg-resources (20.10.1-1) ...
  Setting up python3-setuptools (20.10.1-1) ...
  Setting up python-xdo-build-deps (0.3-1) ...
  Processing triggers for libc-bin (2.22-7) ...
  Processing triggers for systemd (229-5) ...
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package python-xdo
  dpkg-buildpackage: info: source version 0.3-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Daniel Kahn Gillmor <dkg at fifthhorseman.net>
   dpkg-source --before-build python-xdo-0.3
  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 
  running clean
  removing '/home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.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 
  running clean
  removing '/home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.5' does not exist -- can't clean it
     dh_clean -O--buildsystem=pybuild
   debian/rules build
  dh build --with python2,python3 --buildsystem=pybuild
     dh_testdir -O--buildsystem=pybuild
     dh_update_autotools_config -O--buildsystem=pybuild
     dh_auto_configure -O--buildsystem=pybuild
  I: pybuild base:184: python2.7 setup.py config 
  running config
  I: pybuild base:184: python3.5 setup.py config 
  running config
     dh_auto_build -O--buildsystem=pybuild
  I: pybuild base:184: /usr/bin/python setup.py build 
  running build
  running build_py
  creating /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_2.7/build/xdo
  copying xdo/__init__.py -> /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_2.7/build/xdo
  copying xdo/_xdo.py -> /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_2.7/build/xdo
  I: pybuild base:184: /usr/bin/python3 setup.py build 
  running build
  running build_py
  creating /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build/xdo
  copying xdo/__init__.py -> /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build/xdo
  copying xdo/_xdo.py -> /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build/xdo
     dh_auto_test -O--buildsystem=pybuild
  I: pybuild base:184: cd /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
  
  ----------------------------------------------------------------------
  Ran 0 tests in 0.000s
  
  OK
  I: pybuild base:184: cd /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  xdo (unittest.loader._FailedTest) ... ERROR
  
  ======================================================================
  ERROR: xdo (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: xdo
  Traceback (most recent call last):
    File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
      package = self._get_module_from_name(name)
    File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
      __import__(name)
    File "/home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build/xdo/__init__.py", line 6, in <module>
      from six.moves import range
  ImportError: No module named 'six'
  
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.000s
  
  FAILED (errors=1)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160511095240.Nhe6Skpll3.python-xdo/python-xdo-0.3/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 3.5 --dir . returned exit code 13
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] 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: python-xdo.0.3-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2676 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160511/b3f010a7/attachment.obj>


More information about the Reproducible-builds mailing list