[Reproducible-builds] Bug#795978: python-publicsuffix: FTBFS under non-UTF-8 locales (eg. LC_ALL=C)

Chris Lamb lamby at debian.org
Tue Aug 18 13:10:21 UTC 2015


Source: python-publicsuffix
Version: 1.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-builds at 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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-publicsuffix.1.1.0-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150818/1593f6d4/attachment.txt>


More information about the Reproducible-builds mailing list