[Debian-astro-maintainers] Bug#796468: pyavm: FTBFS: TypeError: string argument expected, got 'bytes'

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Aug 21 21:15:34 UTC 2015


Source: pyavm
Version: 0.9.2-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

pyavm/tests/test_specs.py:97: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pyavm/avm.py:702: in to_xml
    tree.write(s, encoding='utf-8')
/usr/lib/python3.4/xml/etree/ElementTree.py:778: in write
    short_empty_elements=short_empty_elements)
/usr/lib/python3.4/contextlib.py:66: in __exit__
    next(self.gen)
/usr/lib/python3.4/xml/etree/ElementTree.py:837: in _get_writer
    yield file.write
/usr/lib/python3.4/contextlib.py:336: in __exit__
    raise exc_details[1]
/usr/lib/python3.4/contextlib.py:321: in __exit__
    if cb(*exc_details):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

exc_type = None, exc = None, tb = None

    def _exit_wrapper(exc_type, exc, tb):
>       callback(*args, **kwds)
E       TypeError: string argument expected, got 'bytes'

/usr/lib/python3.4/contextlib.py:267: TypeError
----------------------------- Captured stderr call -----------------------------
/pyavm-0.9.2/.pybuild/pythonX.Y_3.4/build/pyavm/avm.py:275: UserWarning: ProposalID is not defined in format specification 1.1 and will be deleted
  warnings.warn("{0} is not defined in format specification {1} and will be deleted".format(avm_name, self.MetadataVersion))
/pyavm-0.9.2/.pybuild/pythonX.Y_3.4/build/pyavm/avm.py:275: UserWarning: PublicationID is not defined in format specification 1.1 and will be deleted
  warnings.warn("{0} is not defined in format specification {1} and will be deleted".format(avm_name, self.MetadataVersion))
==================== 659 failed, 1 passed in 16.52 seconds =====================

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pyavm.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Debian-astro-maintainers mailing list