[Python-modules-team] Bug#997485: python-prettylog: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Oct 23 21:40:38 BST 2021


Source: python-prettylog
Version: 0.1.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean
> rm -rf .coverage src/prettylog.egg-info
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-prettylog using existing ./python-prettylog_0.1.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building python-prettylog in python-prettylog_0.1.0-2.debian.tar.xz
> dpkg-source: info: building python-prettylog in python-prettylog_0.1.0-2.dsc
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> WARNING: '' not a valid package name; please use only .-separated package names in setup.py
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> WARNING: '' not a valid package name; please use only .-separated package names in setup.py
> running build
> running build_py
> copying src/prettylog.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_prettylog/build
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_prettylog/build; tox -c /<<PKGBUILDDIR>>/tox.ini -e py39
> GLOB sdist-make: /<<PKGBUILDDIR>>/setup.py
> py39 create: /<<PKGBUILDDIR>>/.tox/py39
> py39 inst: /<<PKGBUILDDIR>>/.tox/.tmp/package/1/prettylog-0.1.0.zip
> ERROR: invocation failed (exit code 1), logfile: /<<PKGBUILDDIR>>/.tox/py39/log/py39-1.log
> ================================== log start ===================================
> Processing ./.tox/.tmp/package/1/prettylog-0.1.0.zip
> Building wheels for collected packages: prettylog
>   Building wheel for prettylog (setup.py): started
>   Building wheel for prettylog (setup.py): finished with status 'done'
>   Created wheel for prettylog: filename=prettylog-0.1.0-py3-none-any.whl size=4198 sha256=c69b1ae69f0bddafba929cfbcb95e941f13001820c77e6b8d0008a74cf27b0bf
>   Stored in directory: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_prettylog/.cache/pip/wheels/f9/d8/ff/10b6c10f0ba21d662caf7080ee4715e89fa8a4bede44382d5f
> Successfully built prettylog
> Installing collected packages: prettylog
> ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python3.9/dist-packages'
> Consider using the `--user` option or check the permissions.
> 
> 
> =================================== log end ====================================
> ___________________________________ summary ____________________________________
> ERROR:   py39: InvocationError for command /<<PKGBUILDDIR>>/.tox/py39/bin/python -m pip install --exists-action w --no-deps '/<<PKGBUILDDIR>>/.tox/.tmp/package/1/prettylog-0.1.0.zip[develop]' (exited with code 1)
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_prettylog/build; tox -c /<<PKGBUILDDIR>>/tox.ini -e py39
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/python-prettylog_0.1.0-2_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 Python-modules-team mailing list