Package: src:lektor
Version: 3.3.7-2.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/lektor
copying lektor/imagetools.py -> build/lib/lektor
copying lektor/constants.py -> build/lib/lektor
copying lektor/sourceobj.py -> build/lib/lektor
copying lektor/reporter.py -> build/lib/lektor
copying lektor/videotools.py -> build/lib/lektor
copying lektor/watcher.py -> build/lib/lektor
copying lektor/utils.py -> build/lib/lektor
copying lektor/devcli.py -> build/lib/lektor
copying lektor/metaformat.py -> build/lib/lektor
copying lektor/pluginsystem.py -> build/lib/lektor
copying lektor/databags.py -> build/lib/lektor
copying lektor/exception.py -> build/lib/lektor
copying lektor/filecontents.py -> build/lib/lektor
copying lektor/sourcesearch.py -> build/lib/lektor
copying lektor/db.py -> build/lib/lektor
copying lektor/cli_utils.py -> build/lib/lektor
copying lektor/editor.py -> build/lib/lektor
copying lektor/__init__.py -> build/lib/lektor
copying lektor/build_programs.py -> build/lib/lektor
copying lektor/devserver.py -> build/lib/lektor
copying lektor/markdown.py -> build/lib/lektor
copying lektor/publisher.py -> build/lib/lektor
copying lektor/buildfailures.py -> build/lib/lektor
copying lektor/datamodel.py -> build/lib/lektor
copying lektor/pagination.py -> build/lib/lektor
copying lektor/assets.py -> build/lib/lektor
copying lektor/cli.py -> build/lib/lektor
copying lektor/quickstart.py -> build/lib/lektor
copying lektor/packages.py -> build/lib/lektor
copying lektor/project.py -> build/lib/lektor
copying lektor/builder.py -> build/lib/lektor
copying lektor/__main__.py -> build/lib/lektor
copying lektor/context.py -> build/lib/lektor
copying lektor/i18n.py -> build/lib/lektor
creating build/lib/lektor/admin
copying lektor/admin/utils.py -> build/lib/lektor/admin
copying lektor/admin/webui.py -> build/lib/lektor/admin
copying lektor/admin/__init__.py -> build/lib/lektor/admin
creating build/lib/lektor/types
copying lektor/types/flow.py -> build/lib/lektor/types
copying lektor/types/multi.py -> build/lib/lektor/types
copying lektor/types/base.py -> build/lib/lektor/types
copying lektor/types/primitives.py -> build/lib/lektor/types
copying lektor/types/__init__.py -> build/lib/lektor/types
copying lektor/types/fake.py -> build/lib/lektor/types
copying lektor/types/formats.py -> build/lib/lektor/types
copying lektor/types/special.py -> build/lib/lektor/types
creating build/lib/lektor/environment
copying lektor/environment/config.py -> build/lib/lektor/environment
copying lektor/environment/expressions.py -> build/lib/lektor/environment
copying lektor/environment/__init__.py -> build/lib/lektor/environment
creating build/lib/lektor/admin/modules
copying lektor/admin/modules/dash.py -> build/lib/lektor/admin/modules
copying lektor/admin/modules/serve.py -> build/lib/lektor/admin/modules
copying lektor/admin/modules/__init__.py -> build/lib/lektor/admin/modules
copying lektor/admin/modules/common.py -> build/lib/lektor/admin/modules
copying lektor/admin/modules/api.py -> build/lib/lektor/admin/modules
running egg_info
creating Lektor.egg-info
writing Lektor.egg-info/PKG-INFO
writing dependency_links to Lektor.egg-info/dependency_links.txt
writing entry points to Lektor.egg-info/entry_points.txt
writing requirements to Lektor.egg-info/requires.txt
writing top-level names to Lektor.egg-info/top_level.txt
writing manifest file 'Lektor.egg-info/SOURCES.txt'
reading manifest file 'Lektor.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'frontend'
warning: no directories found matching 'lektor/admin/static'
warning: no previously-included files matching '*.py[cdo]' found anywhere in
distribution
warning: no previously-included files matching '__pycache__' found anywhere in
distribution
warning: no previously-included files matching '*.so' found anywhere in
distribution
warning: no previously-included files matching '.DS_Store' found anywhere in
distribution
warning: no previously-included files matching '.gitkeep' found anywhere in
distribution
warning: no previously-included files matching '*~' found anywhere in
distribution
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.git-blame-ignore-revs'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.pre-commit-config.yaml'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'pylintrc'
no previously-included directories found matching 'example'
adding license file 'LICENSE'
writing manifest file 'Lektor.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/lektor
copying build/lib/lektor/imagetools.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/constants.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/sourceobj.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/reporter.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/videotools.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/watcher.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/utils.py -> build/bdist.linux-x86_64/wheel/./lektor
creating build/bdist.linux-x86_64/wheel/lektor/admin
creating build/bdist.linux-x86_64/wheel/lektor/admin/modules
copying build/lib/lektor/admin/modules/dash.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin/modules
copying build/lib/lektor/admin/modules/serve.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin/modules
copying build/lib/lektor/admin/modules/__init__.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin/modules
copying build/lib/lektor/admin/modules/common.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin/modules
copying build/lib/lektor/admin/modules/api.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin/modules
copying build/lib/lektor/admin/utils.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin
copying build/lib/lektor/admin/webui.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin
copying build/lib/lektor/admin/__init__.py ->
build/bdist.linux-x86_64/wheel/./lektor/admin
copying build/lib/lektor/devcli.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/metaformat.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/pluginsystem.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/databags.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/exception.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/filecontents.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/sourcesearch.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/db.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/cli_utils.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/editor.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/__init__.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/build_programs.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/devserver.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/markdown.py -> build/bdist.linux-x86_64/wheel/./lektor
creating build/bdist.linux-x86_64/wheel/lektor/types
copying build/lib/lektor/types/flow.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/multi.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/base.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/primitives.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/__init__.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/fake.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/formats.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/types/special.py ->
build/bdist.linux-x86_64/wheel/./lektor/types
copying build/lib/lektor/publisher.py -> build/bdist.linux-x86_64/wheel/./lektor
creating build/bdist.linux-x86_64/wheel/lektor/environment
copying build/lib/lektor/environment/config.py ->
build/bdist.linux-x86_64/wheel/./lektor/environment
copying build/lib/lektor/environment/expressions.py ->
build/bdist.linux-x86_64/wheel/./lektor/environment
copying build/lib/lektor/environment/__init__.py ->
build/bdist.linux-x86_64/wheel/./lektor/environment
copying build/lib/lektor/buildfailures.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/datamodel.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/pagination.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/assets.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/cli.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/quickstart.py ->
build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/packages.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/project.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/builder.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/__main__.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/context.py -> build/bdist.linux-x86_64/wheel/./lektor
copying build/lib/lektor/i18n.py -> build/bdist.linux-x86_64/wheel/./lektor
running install_egg_info
Copying Lektor.egg-info to
build/bdist.linux-x86_64/wheel/./Lektor-3.3.7.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/Lektor-3.3.7.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/.tmp-ewsl02x4/Lektor-3.3.7-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'lektor/__init__.py'
adding 'lektor/__main__.py'
adding 'lektor/assets.py'
adding 'lektor/build_programs.py'
adding 'lektor/builder.py'
adding 'lektor/buildfailures.py'
adding 'lektor/cli.py'
adding 'lektor/cli_utils.py'
adding 'lektor/constants.py'
adding 'lektor/context.py'
adding 'lektor/databags.py'
adding 'lektor/datamodel.py'
adding 'lektor/db.py'
adding 'lektor/devcli.py'
adding 'lektor/devserver.py'
adding 'lektor/editor.py'
adding 'lektor/exception.py'
adding 'lektor/filecontents.py'
adding 'lektor/i18n.py'
adding 'lektor/imagetools.py'
adding 'lektor/markdown.py'
adding 'lektor/metaformat.py'
adding 'lektor/packages.py'
adding 'lektor/pagination.py'
adding 'lektor/pluginsystem.py'
adding 'lektor/project.py'
adding 'lektor/publisher.py'
adding 'lektor/quickstart.py'
adding 'lektor/reporter.py'
adding 'lektor/sourceobj.py'
adding 'lektor/sourcesearch.py'
adding 'lektor/utils.py'
adding 'lektor/videotools.py'
adding 'lektor/watcher.py'
adding 'lektor/admin/__init__.py'
adding 'lektor/admin/utils.py'
adding 'lektor/admin/webui.py'
adding 'lektor/admin/modules/__init__.py'
adding 'lektor/admin/modules/api.py'
adding 'lektor/admin/modules/common.py'
adding 'lektor/admin/modules/dash.py'
adding 'lektor/admin/modules/serve.py'
adding 'lektor/environment/__init__.py'
adding 'lektor/environment/config.py'
adding 'lektor/environment/expressions.py'
adding 'lektor/types/__init__.py'
adding 'lektor/types/base.py'
adding 'lektor/types/fake.py'
adding 'lektor/types/flow.py'
adding 'lektor/types/formats.py'
adding 'lektor/types/multi.py'
adding 'lektor/types/primitives.py'
adding 'lektor/types/special.py'
adding 'Lektor-3.3.7.dist-info/LICENSE'
adding 'Lektor-3.3.7.dist-info/METADATA'
adding 'Lektor-3.3.7.dist-info/WHEEL'
adding 'Lektor-3.3.7.dist-info/entry_points.txt'
adding 'Lektor-3.3.7.dist-info/top_level.txt'
adding 'Lektor-3.3.7.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built Lektor-3.3.7-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/lektor/translations
/<<PKGBUILDDIR>>/lektor/quickstart-templates
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/build/lektor
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/build;
python3.12 -m pytest -m 'not requiresinternet'
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/build
configfile: pyproject.toml
plugins: click-1.1.0, mock-3.14.0, typeguard-4.3.0, cov-5.0.0
collected 684 items / 1 deselected / 683 selected
tests/test_api.py ... [ 0%]
tests/test_builder.py s............ [ 2%]
tests/test_buildfailures.py ..... [ 3%]
tests/test_cli.py .s.....s....... [ 5%]
tests/test_config.py ......... [ 6%]
tests/test_datamodel.py ....... [ 7%]
tests/test_db.py ............................................. [ 14%]
tests/test_deploy.py ................... [ 16%]
tests/test_devcli.py ....................... [ 20%]
tests/test_editor.py ............x............... [ 24%]
tests/test_environment.py .... [ 25%]
tests/test_i18n.py . [ 25%]
tests/test_images.py ......sssss................ [ 29%]
tests/test_imports.py .................................................. [ 36%]
.. [ 36%]
tests/test_issue_410.py .. [ 37%]
tests/test_markdown.py x.............................................. [ 43%]
tests/test_pagination.py .................................... [ 49%]
tests/test_pluginsystem.py ............................. [ 53%]
tests/test_prev_next_sibling.py .. [ 53%]
tests/test_publisher.py .ss [ 54%]
tests/test_quickstart.py ..s.. [ 54%]
tests/test_themes.py ................... [ 57%]
tests/test_tree.py ..................................................... [ 65%]
........................................................................ [ 75%]
. [ 76%]
tests/test_types.py ...........F...... [ 78%]
tests/test_unicode.py ... [ 79%]
tests/test_urls.py ............................... [ 83%]
tests/test_utils.py ...................................x................ [ 91%]
.................. [ 93%]
tests/test_videotools.py ......................ss [ 97%]
tests/test_watcher.py ........ [ 98%]
tests/test_webui.py ......... [100%]
=================================== FAILURES ===================================
__________________________ test_datetime_timezone_est __________________________
env = <lektor.environment.Environment object at 0x7f774524bce0>
pad = <lektor.db.Pad object at 0x7f7744dd0fb0>
def test_datetime_timezone_est(env, pad):
field = make_field(env, "datetime")
with Context(pad=pad):
# Known timezone name, EST
rv = field.deserialize_value("2016-04-30 01:02:03 EST", pad=pad)
assert isinstance(rv, datetime.datetime)
assert rv.year == 2016
assert rv.month == 4
assert rv.day == 30
assert rv.hour == 1
assert rv.minute == 2
assert rv.second == 3
assert rv.tzinfo is get_timezone("EST")
E AssertionError: assert <DstTzInfo 'EST' EST-1 day, 19:00:00 STD> is
<DstTzInfo 'EST' LMT-1 day, 18:42:00 STD>
E + where <DstTzInfo 'EST' EST-1 day, 19:00:00 STD> =
datetime.datetime(2016, 4, 30, 1, 2, 3, tzinfo=<DstTzInfo 'EST' EST-1 day, 19:00:00
STD>).tzinfo
E + and <DstTzInfo 'EST' LMT-1 day, 18:42:00 STD> =
get_timezone('EST')
tests/test_types.py:250: AssertionError
=============================== warnings summary ===============================
tests/conftest.py:6
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/build/tests/conftest.py:6:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_types.py::test_datetime_timezone_est - AssertionError: asse...
= 1 failed, 666 passed, 13 skipped, 1 deselected, 3 xfailed, 1 warning in
11.71s =
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lektor/build; python3.12 -m pytest -m
'not requiresinternet'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:11: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.