[Debian-med-packaging] Bug#997313: pyrle: FTBFS: AttributeError: 'list' object has no attribute 'split'

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:39:58 BST 2021


Source: pyrle
Version: 0.0.31-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> echo 'Disable Build Tim tests because pyranges has not been packaged yet ...'
> Disable Build Tim tests because pyranges has not been packaged yet ...
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    create-stamp debian/debhelper-build-stamp
>    dh_testroot -O--buildsystem=pybuild
>    dh_prep -O--buildsystem=pybuild
>    dh_auto_install --destdir=debian/python3-pyrle/ -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-pyrle 
> running install
> running build
> running build_py
> running build_ext
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/__init__.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_subset_coverage.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/helpers.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_hypothesis.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_hypothesis_coverage.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/hypothesis_helper.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/__init__.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/rledict.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/methods.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/version.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> creating /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/rle.c -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/__init__.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/getitem.c -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/rle.cpython-39-x86_64-linux-gnu.so -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/getitem.cpython-39-x86_64-linux-gnu.so -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/rle.pyx -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/coverage.pyx -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/coverage.c -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/getitem.pyx -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/src/coverage.cpython-39-x86_64-linux-gnu.so -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyrle/rle.py -> /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/__init__.py to __init__.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/test_subset_coverage.py to test_subset_coverage.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/helpers.py to helpers.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/test_hypothesis.py to test_hypothesis.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/test_hypothesis_coverage.py to test_hypothesis_coverage.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/tests/hypothesis_helper.py to hypothesis_helper.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/__init__.py to __init__.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/rledict.py to rledict.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/methods.py to methods.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/version.py to version.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/src/__init__.py to __init__.cpython-39.pyc
> byte-compiling /<<PKGBUILDDIR>>/debian/python3-pyrle/usr/lib/python3.9/dist-packages/pyrle/rle.py to rle.cpython-39.pyc
> running install_egg_info
> running egg_info
> creating pyrle.egg-info
> writing pyrle.egg-info/PKG-INFO
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 33, in <module>
>     setup(name='pyrle',
>   File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
>     dist.run_commands()
>   File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
>     return orig.install.run(self)
>   File "/usr/lib/python3.9/distutils/command/install.py", line 602, in run
>     self.run_command(cmd_name)
>   File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python3/dist-packages/setuptools/command/install_egg_info.py", line 51, in run
>     self.run_command('egg_info')
>   File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 292, in run
>     writer(self, ep.name, os.path.join(self.egg_info, ep.name))
>   File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 635, in write_pkg_info
>     metadata.write_pkg_info(cmd.egg_info)
>   File "/usr/lib/python3.9/distutils/dist.py", line 1117, in write_pkg_info
>     self.write_pkg_file(pkg_info)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 182, in write_pkg_file
>     license = rfc822_escape(self.get_license())
>   File "/usr/lib/python3.9/distutils/util.py", line 476, in rfc822_escape
>     lines = header.split('\n')
> AttributeError: 'list' object has no attribute 'split'
> E: pybuild pybuild:354: install: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-pyrle 
> dh_auto_install: error: pybuild --install --test-pytest -i python{version} -p 3.9 --dest-dir /<<PKGBUILDDIR>>/debian/python3-pyrle returned exit code 13
> make: *** [debian/rules:11: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pyrle_0.0.31-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list