Source: waitress
Version: 2.1.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220917 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>>'
> # Some tests run against their own http proxy, not the internet
> http_proxy='' https_proxy='' dh_auto_test -- --after-test='rm
> {build_dir}/.coverage'
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build;
> python3.10 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: cov-3.0.0
> collected 801 items
>
> tests/test_adjustments.py .............................................. [
> 5%]
> .... [
> 6%]
> tests/test_buffers.py .................................................. [
> 12%]
> .. [
> 12%]
> tests/test_channel.py .................................................. [
> 18%]
> ....................................................................... [
> 27%]
> tests/test_functional.py ............................................... [
> 33%]
> ........................................................................ [
> 42%]
> .............. [
> 44%]
> tests/test_init.py .. [
> 44%]
> tests/test_parser.py ................................................... [
> 51%]
> ................. [
> 53%]
> tests/test_proxy_headers.py ............................... [
> 57%]
> tests/test_receiver.py .................................... [
> 61%]
> tests/test_regression.py . [
> 61%]
> tests/test_runner.py ................... [
> 64%]
> tests/test_server.py ............................... [
> 67%]
> tests/test_task.py ..................................................... [
> 74%]
> ..................... [
> 77%]
> tests/test_trigger.py ............. [
> 78%]
> tests/test_utilities.py ...................... [
> 81%]
> tests/test_wasyncore.py ................................................ [
> 87%]
> .........................s........s..sss........s..ss................... [
> 96%]
> ............................
> [100%]
>
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.10/build/tests/test_adjustments.py: 15 warnings
> .pybuild/cpython3_3.10/build/tests/test_parser.py: 49 warnings
> .pybuild/cpython3_3.10/build/tests/test_server.py: 30 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/waitress/adjustments.py:449:
> DeprecationWarning: In future versions of Waitress
> clear_untrusted_proxy_headers will be set to True by default. You may opt-out
> by setting this value to False, or opt-in explicitly by setting this to True.
> warnings.warn(
>
> .pybuild/cpython3_3.10/build/tests/test_adjustments.py::TestAdjustments::test_goodvars
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/waitress/adjustments.py:318:
> DeprecationWarning: send_bytes will be removed in a future release
> warnings.warn(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
>
> ---------- coverage: platform linux, python 3.10.7-final-0 -----------
> Name Stmts Miss
> Cover
> -----------------------------------------------------------------------------------
> /etc/python3.10/sitecustomize.py 5 1
> 80%
> /usr/lib/python3/dist-packages/_pytest/_argcomplete.py 37 36
> 3%
> /usr/lib/python3/dist-packages/_pytest/_code/code.py 716 645
> 10%
> /usr/lib/python3/dist-packages/_pytest/_code/source.py 145 143
> 1%
> /usr/lib/python3/dist-packages/_pytest/_io/terminalwriter.py 120 74
> 38%
> /usr/lib/python3/dist-packages/_pytest/_io/wcwidth.py 25 16
> 36%
> /usr/lib/python3/dist-packages/_pytest/assertion/__init__.py 86 73
> 15%
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py 632 372
> 41%
> /usr/lib/python3/dist-packages/_pytest/cacheprovider.py 313 264
> 16%
> /usr/lib/python3/dist-packages/_pytest/capture.py 549 472
> 14%
> /usr/lib/python3/dist-packages/_pytest/compat.py 159 112
> 30%
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py 844 716
> 15%
> /usr/lib/python3/dist-packages/_pytest/config/argparsing.py 259 214
> 17%
> /usr/lib/python3/dist-packages/_pytest/config/compat.py 38 19
> 50%
> /usr/lib/python3/dist-packages/_pytest/debugging.py 228 218
> 4%
> /usr/lib/python3/dist-packages/_pytest/deprecated.py 21 20
> 5%
> /usr/lib/python3/dist-packages/_pytest/doctest.py 352 344
> 2%
> /usr/lib/python3/dist-packages/_pytest/faulthandler.py 58 44
> 24%
> /usr/lib/python3/dist-packages/_pytest/fixtures.py 820 423
> 48%
> /usr/lib/python3/dist-packages/_pytest/helpconfig.py 132 122
> 8%
> /usr/lib/python3/dist-packages/_pytest/junitxml.py 368 366
> 1%
> /usr/lib/python3/dist-packages/_pytest/legacypath.py 216 188
> 13%
> /usr/lib/python3/dist-packages/_pytest/logging.py 396 279
> 30%
> /usr/lib/python3/dist-packages/_pytest/main.py 467 292
> 37%
> /usr/lib/python3/dist-packages/_pytest/mark/__init__.py 127 112
> 12%
> /usr/lib/python3/dist-packages/_pytest/mark/structures.py 262 189
> 28%
> /usr/lib/python3/dist-packages/_pytest/monkeypatch.py 167 153
> 8%
> /usr/lib/python3/dist-packages/_pytest/nodes.py 333 218
> 35%
> /usr/lib/python3/dist-packages/_pytest/nose.py 25 16
> 36%
> /usr/lib/python3/dist-packages/_pytest/outcomes.py 110 101
> 8%
> /usr/lib/python3/dist-packages/_pytest/pastebin.py 70 69
> 1%
> /usr/lib/python3/dist-packages/_pytest/pathlib.py 378 308
> 19%
> /usr/lib/python3/dist-packages/_pytest/python.py 892 544
> 39%
> /usr/lib/python3/dist-packages/_pytest/python_path.py 16 15
> 6%
> /usr/lib/python3/dist-packages/_pytest/reports.py 292 253
> 13%
> /usr/lib/python3/dist-packages/_pytest/runner.py 287 163
> 43%
> /usr/lib/python3/dist-packages/_pytest/scope.py 39 29
> 26%
> /usr/lib/python3/dist-packages/_pytest/setuponly.py 58 51
> 12%
> /usr/lib/python3/dist-packages/_pytest/setupplan.py 24 20
> 17%
> /usr/lib/python3/dist-packages/_pytest/skipping.py 162 133
> 18%
> /usr/lib/python3/dist-packages/_pytest/stash.py 36 30
> 17%
> /usr/lib/python3/dist-packages/_pytest/stepwise.py 70 68
> 3%
> /usr/lib/python3/dist-packages/_pytest/terminal.py 888 672
> 24%
> /usr/lib/python3/dist-packages/_pytest/threadexception.py 42 27
> 36%
> /usr/lib/python3/dist-packages/_pytest/tmpdir.py 101 90
> 11%
> /usr/lib/python3/dist-packages/_pytest/unittest.py 246 152
> 38%
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py 44 29
> 34%
> /usr/lib/python3/dist-packages/_pytest/warnings.py 74 49
> 34%
> /usr/lib/python3/dist-packages/pluggy/_callers.py 40 12
> 70%
> /usr/lib/python3/dist-packages/pluggy/_hooks.py 156 92
> 41%
> /usr/lib/python3/dist-packages/pluggy/_manager.py 190 146
> 23%
> /usr/lib/python3/dist-packages/pluggy/_result.py 30 24
> 20%
> /usr/lib/python3/dist-packages/pluggy/_tracing.py 41 31
> 24%
> /usr/lib/python3/dist-packages/py/_path/local.py 697 692
> 1%
> /usr/lib/python3/dist-packages/pytest/__init__.py 82 80
> 2%
> /usr/lib/python3/dist-packages/pytest_cov/compat.py 21 17
> 19%
> /usr/lib/python3/dist-packages/pytest_cov/embed.py 80 74
> 8%
> /usr/lib/python3/dist-packages/pytest_cov/engine.py 238 217
> 9%
> /usr/lib/python3/dist-packages/pytest_cov/plugin.py 219 201
> 8%
> tests/__init__.py 0 0
> 100%
> tests/fixtureapps/__init__.py 0 0
> 100%
> tests/fixtureapps/badcl.py 0 0
> 100%
> tests/fixtureapps/echo.py 7 0
> 100%
> tests/fixtureapps/error.py 0 0
> 100%
> tests/fixtureapps/filewrapper.py 4 0
> 100%
> tests/fixtureapps/getline.py 15 4
> 73%
> tests/fixtureapps/nocl.py 0 0
> 100%
> tests/fixtureapps/runner.py 0 0
> 100%
> tests/fixtureapps/sleepy.py 1 0
> 100%
> tests/fixtureapps/toolarge.py 0 0
> 100%
> tests/fixtureapps/writecb.py 0 0
> 100%
> tests/test_adjustments.py 249 0
> 100%
> tests/test_buffers.py 421 0
> 100%
> tests/test_channel.py 850 2
> 99%
> tests/test_functional.py 1109 2
> 99%
> tests/test_init.py 36 0
> 100%
> tests/test_parser.py 421 0
> 100%
> tests/test_proxy_headers.py 311 0
> 100%
> tests/test_receiver.py 215 0
> 100%
> tests/test_regression.py 5 0
> 100%
> tests/test_runner.py 98 0
> 100%
> tests/test_server.py 325 0
> 100%
> tests/test_task.py 803 1
> 99%
> tests/test_trigger.py 92 0
> 100%
> tests/test_utilities.py 84 0
> 100%
> tests/test_wasyncore.py 920 0
> 100%
> waitress/__init__.py 11 0
> 100%
> waitress/adjustments.py 186 0
> 100%
> waitress/buffers.py 214 0
> 100%
> waitress/channel.py 257 0
> 100%
> waitress/compat.py 10 0
> 100%
> waitress/parser.py 199 0
> 100%
> waitress/proxy_headers.py 162 0
> 100%
> waitress/receiver.py 111 0
> 100%
> waitress/rfc7230.py 26 0
> 100%
> waitress/runner.py 69 0
> 100%
> waitress/server.py 177 1
> 99%
> waitress/task.py 323 0
> 100%
> waitress/trigger.py 56 0
> 100%
> waitress/utilities.py 113 0
> 100%
> waitress/wasyncore.py 378 0
> 100%
> -----------------------------------------------------------------------------------
> TOTAL 21781 10540
> 52%
>
> ================= 793 passed, 8 skipped, 95 warnings in 19.62s
> =================
> I: pybuild pybuild:326: rm
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/.coverage
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> create-stamp debian/debhelper-build-stamp
> dh_testroot -O--buildsystem=pybuild
> dh_prep -O--buildsystem=pybuild
> dh_installdirs -O--buildsystem=pybuild
> dh_auto_install -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:158: Copying package built for python3.10 to
> destdir
> dh_install -O--buildsystem=pybuild
> dh_installdocs -O--buildsystem=pybuild
> dh_installdocs: warning: Cannot auto-detect main package for
> python-waitress-doc. If the default is wrong, please use --doc-main-package
> dh_sphinxdoc -O--buildsystem=pybuild
> dh_installchangelogs -O--buildsystem=pybuild
> dh_installexamples -O--buildsystem=pybuild
> dh_installman -O--buildsystem=pybuild
> dh_installcatalogs -O--buildsystem=pybuild
> dh_installcron -O--buildsystem=pybuild
> dh_installdebconf -O--buildsystem=pybuild
> dh_installemacsen -O--buildsystem=pybuild
> dh_installifupdown -O--buildsystem=pybuild
> dh_installinfo -O--buildsystem=pybuild
> dh_python3 -O--buildsystem=pybuild
> usage: dh_python3 [-h] [--version] [--no-guessing-deps] [--skip-private] [-v]
> [-i] [-a] [-q] [-p PACKAGE] [-N PACKAGE] [--compile-all]
> [-V [X.Y][-][A.B]] [-X REGEXPR] [--accept-upstream-versions]
> [--depends REQ] [--depends-section SECTION]
> [--recommends REQ] [--recommends-section SECTION]
> [--suggests REQ] [--suggests-section SECTION]
> [--requires FILE] [--shebang COMMAND] [--ignore-shebangs]
> [--no-dbg-cleaning] [--no-ext-rename] [--no-shebang-rewrite]
> [private_dir]
> dh_python3: error: argument -O: expected one argument
> make: *** [debian/rules:8: binary] Error 2
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/waitress_2.1.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&[email protected]&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 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.