Source: python-publicsuffix
Version: 1.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

python-publicsuffix fails to build from source on unstable/amd64 under
some non-UTF-8 locales (eg. LC_ALL="C"):

  [..]

   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:170: python2.7 setup.py clean 
  running clean
  removing
  '/tmp/buildd/python-publicsuffix-1.1.0/.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:170: python3.4 setup.py clean 
  Traceback (most recent call last):
    File "setup.py", line 19, in <module>
      long_description=get_long_description(),
    File "setup.py", line 13, in get_long_description
      read_doc("LICENSE")
    File "setup.py", line 7, in read_doc
      return open(os.path.join(os.path.dirname(__file__), name)).read()
    File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position
  23: ordinal not in range(128)
  E: pybuild pybuild:262: clean: plugin distutils failed with: exit
  code=1: python3.4 setup.py clean 
  dh_auto_clean: pybuild --clean -i python{version} -p 3.4 --dir .
  returned exit code 13
  debian/rules:6: recipe for target 'clean' failed
  make: *** [clean] Error 25
  dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
  status 2

  [..]

The full build log is attached or can be viewed here:

  
https://reproducible.debian.net/logs/unstable/amd64/python-publicsuffix_1.1.0-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Mon Aug 10 07:52:32 GMT+12 2015
I: pbuilder-time-stamp: 1439236352
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: python-all (>= 2.6.6-3), python3-all, dh-python, debhelper (>= 
7.0.50~), publicsuffix, python-setuptools, python3-setuptools
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20247 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on python-all (>= 2.6.6-3); however:
  Package python-all is not installed.
 pbuilder-satisfydepends-dummy depends on python3-all; however:
  Package python3-all is not installed.
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on publicsuffix; however:
  Package publicsuffix is not installed.
 pbuilder-satisfydepends-dummy depends on python-setuptools; however:
  Package python-setuptools is not installed.
 pbuilder-satisfydepends-dummy depends on python3-setuptools; however:
  Package python3-setuptools is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  dh-python{a} libexpat1{a} libmpdec2{a} libpython-stdlib{a} 
  libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} 
  libpython3.4-minimal{a} libpython3.4-stdlib{a} libssl1.0.0{a} 
  mime-support{a} publicsuffix{a} python{a} python-all{a} python-minimal{a} 
  python-pkg-resources{a} python-setuptools{a} python2.7{a} 
  python2.7-minimal{a} python3{a} python3-all{a} python3-minimal{a} 
  python3-pkg-resources{a} python3-setuptools{a} python3.4{a} 
  python3.4-minimal{a} 
0 packages upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.4 MB of archives. After unpacking 45.2 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-3 [382 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-3 [1418 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-3 [1854 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-3 
[258 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150728 
[71.3 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1 
[996 B]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 
18.0.1-2 [73.6 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all 
18.0.1-2 [180 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main python3-all amd64 
3.4.3-4 [932 B]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources 
all 18.0.1-2 [44.2 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main python3-setuptools all 
18.0.1-2 [92.6 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main publicsuffix all 
20150731-1 [61.6 kB]
Fetched 10.4 MB in 0s (18.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal: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 ... 20247 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-3_amd64.deb ...
Unpacking python2.7 (2.7.10-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-3) ...
Setting up python2.7-minimal (2.7.10-3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(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 ... 21049 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150728_all.deb ...
Unpacking dh-python (2.20150728) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-19) ...
Selecting previously unselected package python3.
(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 ... 22007 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.0.1-2_all.deb ...
Unpacking python-pkg-resources (18.0.1-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_18.0.1-2_all.deb ...
Unpacking python-setuptools (18.0.1-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-4_amd64.deb ...
Unpacking python3-all (3.4.3-4) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_18.0.1-2_all.deb ...
Unpacking python3-pkg-resources (18.0.1-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_18.0.1-2_all.deb ...
Unpacking python3-setuptools (18.0.1-2) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../publicsuffix_20150731-1_all.deb ...
Unpacking publicsuffix (20150731-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-3) ...
Setting up python2.7 (2.7.10-3) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up python-all (2.7.9-1) ...
Setting up python-pkg-resources (18.0.1-2) ...
Setting up python-setuptools (18.0.1-2) ...
Setting up publicsuffix (20150731-1) ...
Setting up python3 (3.4.3-4) ...
Setting up python3-all (3.4.3-4) ...
Setting up python3-pkg-resources (18.0.1-2) ...
Setting up python3-setuptools (18.0.1-2) ...
Setting up dh-python (2.20150728) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [python-publicsuffix_1.1.0-1.dsc]
I: copying [./python-publicsuffix_1.1.0.orig.tar.gz]
I: copying [./python-publicsuffix_1.1.0-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sun Aug  9 06:19:44 2015 GMT+12 using RSA key ID 333961E8
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on 
./python-publicsuffix_1.1.0-1.dsc
dpkg-source: info: extracting python-publicsuffix in python-publicsuffix-1.1.0
dpkg-source: info: unpacking python-publicsuffix_1.1.0.orig.tar.gz
dpkg-source: info: unpacking python-publicsuffix_1.1.0-1.debian.tar.xz
dpkg-source: info: applying 01-use_global_publicsuffix_list.patch
dpkg-source: info: applying no-network-tests.patch
dpkg-source: info: applying fix-wildcard-tests.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package python-publicsuffix
dpkg-buildpackage: source version 1.1.0-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Evgeni Golov <evg...@debian.org>
 dpkg-source --before-build python-publicsuffix-1.1.0
dpkg-buildpackage: 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:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/python-publicsuffix-1.1.0/.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:170: python3.4 setup.py clean 
Traceback (most recent call last):
  File "setup.py", line 19, in <module>
    long_description=get_long_description(),
  File "setup.py", line 13, in get_long_description
    read_doc("LICENSE")
  File "setup.py", line 7, in read_doc
    return open(os.path.join(os.path.dirname(__file__), name)).read()
  File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 23: 
ordinal not in range(128)
E: pybuild pybuild:262: clean: plugin distutils failed with: exit code=1: 
python3.4 setup.py clean 
dh_auto_clean: pybuild --clean -i python{version} -p 3.4 --dir . returned exit 
code 13
debian/rules:6: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//41451 and its subdirectories
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to