Package: src:weresync
Version: 1.0.9-1
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:232: python3.9 setup.py config
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:232: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/gui.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/exception.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/interface.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
copying src/weresync/device.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/plugins
copying src/weresync/plugins/weresync_syslinux.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/plugins
copying src/weresync/plugins/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/plugins
copying src/weresync/plugins/weresync_uuid_copy.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/plugins
copying src/weresync/plugins/weresync_grub2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/plugins
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources
copying src/weresync/resources/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources
copying src/weresync/resources/weresync.svg -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources/locale
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources/locale/en
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources/locale/en/LC_MESSAGES
copying src/weresync/resources/locale/en/LC_MESSAGES/weresync.mo -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/weresync/resources/locale/en/LC_MESSAGES
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
https_proxy=127.0.0.1:9 http_proxy=127.0.0.1:9 PYTHONPATH=. python3 `which 
sphinx-build` -N -bhtml docs/source build/html # HTML generator
Running Sphinx v3.4.3
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: [new config] 8 added, 0 changed, 0 removed
reading sources... [ 12%] api
reading sources... [ 25%] bootloader
reading sources... [ 37%] gui
reading sources... [ 50%] index
reading sources... [ 62%] installation
reading sources... [ 75%] issues
reading sources... [ 87%] translation
reading sources... [100%] weresync

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 12%] api
writing output... [ 25%] bootloader
writing output... [ 37%] gui
writing output... [ 50%] index
writing output... [ 62%] installation
writing output... [ 75%] issues
writing output... [ 87%] translation
writing output... [100%] weresync

generating indices... genindex py-modindex done
highlighting module code... [ 25%] weresync.device
highlighting module code... [ 50%] weresync.exception
highlighting module code... [ 75%] weresync.interface
highlighting module code... [100%] weresync.plugins

writing additional pages... search done
copying images... [ 50%] img/gui-example.png
copying images... [100%] img/weresync-logo.png

copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
collected 57 items

tests/test_device.py ..................................F................ [ 89%]
......                                                                   [100%]

=================================== FAILURES ===================================
________________________ test_get_partition_file_system ________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5928f91550>

    def test_get_partition_file_system(monkeypatch):
        generateStandardMock(monkeypatch, b"ext4", b"", 0)
        manager = device.DeviceManager("gpt.img")
        result = manager.get_partition_file_system(4)
      assert result == "ext4"
E       AssertionError: assert None == 'ext4'

tests/test_device.py:427: AssertionError
=========================== short test summary info ============================
FAILED tests/test_device.py::test_get_partition_file_system - AssertionError:...
========================= 1 failed, 56 passed in 0.20s =========================
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
returned exit code 13
make: *** [debian/rules:7: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant 
part)

Note: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

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.

Reply via email to