Source: flask-flatpages
Version: 0.6-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v5.3.0
> making output directory... done
> loading intersphinx inventory from http://flask.pocoo.org/docs/objects.inv...
> intersphinx inventory has moved: http://flask.pocoo.org/docs/objects.inv -> 
> https://flask.palletsprojects.com/en/2.2.x/objects.inv
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 1 source files that are out of date
> updating environment: [new config] 1 added, 0 changed, 0 removed
> reading sources... [100%] index
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [100%] index
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded.
> 
> The HTML pages are in _build/html.
> 
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> dh_auto_build
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/imports.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/page.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/flatpages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/imports.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/page.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/flatpages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> copying flask_flatpages/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build/flask_flatpages
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 
> in use)
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build; python3.11 -m 
> unittest discover -v 
> flask_flatpages (unittest.loader._FailedTest.flask_flatpages) ... ERROR
> 
> ======================================================================
> ERROR: flask_flatpages (unittest.loader._FailedTest.flask_flatpages)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: flask_flatpages
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 440, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages/__init__.py",
>  line 13, in <module>
>     from .flatpages import FlatPages  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build/flask_flatpages/flatpages.py",
>  line 13, in <module>
>     from inspect import getargspec
> ImportError: cannot import name 'getargspec' from 'inspect' 
> (/usr/lib/python3.11/inspect.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-flatpages/build; python3.11 -m 
> unittest discover -v 
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_flask-flatpages/build; python3.10 -m 
> unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.11 3.10" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/flask-flatpages_0.6-1.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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.

Reply via email to