[Reproducible-builds] Bug#829235: wcwidth: FTBFS: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)

Chris Lamb lamby at debian.org
Fri Jul 1 14:40:23 UTC 2016


Source: wcwidth
Version: 0.1.6+dfsg1-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,

wcwidth fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              wcwidth
   Version:              0.1.6+dfsg1-1
   Build architecture:   amd64
   Date:                 Fri, 01 Jul 2016 16:33:19 +0200
   Hostname:             e438c59c37c4
   Uname:                Linux e438c59c37c4 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) x86_64 GNU/Linux
   /etc/timezone:        Africa/Johannesburg
  
  **************************************************************************************
  ** 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 'wcwidth-build-deps' in '../wcwidth-build-deps_0.1.6+dfsg1-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 wcwidth-build-deps.
  (Reading database ... 23081 files and directories currently installed.)
  Preparing to unpack wcwidth-build-deps_0.1.6+dfsg1-1_all.deb ...
  Unpacking wcwidth-build-deps (0.1.6+dfsg1-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    python-all python-py python-pytest python-setuptools python3-all
    python3-pkg-resources python3-py python3-pytest python3-setuptools
    unicode-data
  Suggested packages:
    subversion python-pytest-xdist python-mock python-setuptools-doc
  The following NEW packages will be installed:
    python-all python-py python-pytest python-setuptools python3-all
    python3-pkg-resources python3-py python3-pytest python3-setuptools
    unicode-data
  0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 8015 kB of archives.
  After this operation, 36.9 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-2 [938 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-4 [928 B]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1.1 [203 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1.1 [112 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1.1 [122 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 python-py all 1.4.31-1 [81.8 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 python-pytest all 2.9.2-1 [166 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 python3-py all 1.4.31-1 [81.9 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 python3-pytest all 2.9.2-1 [167 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 unicode-data all 9.0-1 [7080 kB]
  Fetched 8015 kB in 0s (89.7 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 ... 23085 files and directories currently installed.)
  Preparing to unpack .../python-all_2.7.11-2_amd64.deb ...
  Unpacking python-all (2.7.11-2) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.5.1-4_amd64.deb ...
  Unpacking python3-all (3.5.1-4) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.10.1-1.1_all.deb ...
  Unpacking python-setuptools (20.10.1-1.1) ...
  Selecting previously unselected package python3-pkg-resources.
  Preparing to unpack .../python3-pkg-resources_20.10.1-1.1_all.deb ...
  Unpacking python3-pkg-resources (20.10.1-1.1) ...
  Selecting previously unselected package python3-setuptools.
  Preparing to unpack .../python3-setuptools_20.10.1-1.1_all.deb ...
  Unpacking python3-setuptools (20.10.1-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.2-1_all.deb ...
  Unpacking python-pytest (2.9.2-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.2-1_all.deb ...
  Unpacking python3-pytest (2.9.2-1) ...
  Selecting previously unselected package unicode-data.
  Preparing to unpack .../unicode-data_9.0-1_all.deb ...
  Unpacking unicode-data (9.0-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up python-all (2.7.11-2) ...
  Setting up python3-all (3.5.1-4) ...
  Setting up python-setuptools (20.10.1-1.1) ...
  Setting up python3-pkg-resources (20.10.1-1.1) ...
  Setting up python3-setuptools (20.10.1-1.1) ...
  Setting up python-py (1.4.31-1) ...
  Setting up python-pytest (2.9.2-1) ...
  Setting up python3-py (1.4.31-1) ...
  Setting up python3-pytest (2.9.2-1) ...
  Setting up unicode-data (9.0-1) ...
  Setting up wcwidth-build-deps (0.1.6+dfsg1-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=e438c59c37c4
  TERM=xterm
  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.20160701163317.jjfHRVojlO.wcwidth/wcwidth-0.1.6+dfsg1
  OLDPWD=/home/lamby/temp/cdt.20160701163317.jjfHRVojlO.wcwidth
  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 wcwidth 0.1.6+dfsg1-1 on amd64                                          **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package wcwidth
  dpkg-buildpackage: info: source version 0.1.6+dfsg1-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Sebastian Ramacher <sramacher at debian.org>
   dpkg-source --before-build wcwidth-0.1.6+dfsg1
  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.20160701163317.jjfHRVojlO.wcwidth/wcwidth-0.1.6+dfsg1/.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.20160701163317.jjfHRVojlO.wcwidth/wcwidth-0.1.6+dfsg1/.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
     debian/rules override_dh_auto_build
  make[1]: Entering directory '/home/lamby/temp/cdt.20160701163317.jjfHRVojlO.wcwidth/wcwidth-0.1.6+dfsg1'
  python setup.py update
  running update
  parsing /usr/share/unicode/EastAsianWidth.txt ..
  Traceback (most recent call last):
    File "setup.py", line 249, in <module>
      main()
    File "setup.py", line 245, in main
      cmdclass={'update': SetupUpdate},
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "setup.py", line 64, in run
      self.do_east_asian()
    File "setup.py", line 71, in do_east_asian
      properties=(u'W', u'F',)
    File "setup.py", line 125, in _parse_east_asian
      uline = line.decode('ascii')
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
  debian/rules:7: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160701163317.jjfHRVojlO.wcwidth/wcwidth-0.1.6+dfsg1'
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] 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: wcwidth.0.1.6+dfsg1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2654 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160701/48e7b8f7/attachment.obj>


More information about the Reproducible-builds mailing list