Source: qtsass
Version: 0.3.0+git20200324.06f1519-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  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:239: python3.9 setup.py config 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
> I: pybuild base:239: python3.10 setup.py config 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/conformers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/importers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> copying qtsass/functions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> copying qtsass/watchers/snapshots.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> copying qtsass/watchers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> copying qtsass/watchers/api.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> copying qtsass/watchers/qt.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> copying qtsass/watchers/polling.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qtsass/watchers
> I: pybuild base:239: /usr/bin/python3 setup.py build 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/conformers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/importers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> copying qtsass/functions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
> copying qtsass/watchers/snapshots.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
> copying qtsass/watchers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
> copying qtsass/watchers/api.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
> copying qtsass/watchers/qt.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
> copying qtsass/watchers/polling.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qtsass/watchers
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> collected 37 items
> 
> tests/test_api.py .........                                              [ 
> 24%]
> tests/test_cli.py .......                                                [ 
> 43%]
> tests/test_conformers.py ............                                    [ 
> 75%]
> tests/test_functions.py .....                                            [ 
> 89%]
> tests/test_watchers.py ..s.                                              
> [100%]
> 
> ======================== 36 passed, 1 skipped in 11.67s 
> ========================
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; 
> python3.10 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> collected 37 items
> 
> tests/test_api.py .........                                              [ 
> 24%]
> tests/test_cli.py .......                                                [ 
> 43%]
> tests/test_conformers.py ............                                    [ 
> 75%]
> tests/test_functions.py .....                                            [ 
> 89%]
> tests/test_watchers.py .Fs.                                              
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________________________ test_watchers[QtWatcher] 
> ___________________________
> 
> Watcher = <class 'qtsass.watchers.qt.QtWatcher'>
> tmpdir = local('/tmp/pytest-of-user42/pytest-8/test_watchers_QtWatcher_0')
> 
>     @pytest.mark.parametrize(
>         'Watcher', (PollingWatcher, QtWatcher),
>     )
>     def test_watchers(Watcher, tmpdir):
>         """Stress test Watcher implementations"""
>     
>         # Skip when QtWatcher is None - when Qt is not installed.
>         if not Watcher:
>             return
>     
>         watch_dir = tmpdir.join('src').strpath
>         os.makedirs(watch_dir)
>         shutil.copy2(example('dummy.scss'), watch_dir)
>         input = tmpdir.join('src/dummy.scss').strpath
>         output = tmpdir.join('build/dummy.css').strpath
>         output_exists = lambda: exists(output)
>     
>         c = CallCounter()
>         w = Watcher(
>             watch_dir=watch_dir,
>             compiler=compile_filename,
>             args=(input, output),
>         )
>         w.connect(c)
>     
>         # Output should not yet exist
>         assert not exists(output)
>     
>         w.start()
>     
>         touch(input)
>         time.sleep(0.5)
>         if not await_condition(output_exists):
>             assert False, 'Output file not created...'
>     
>         # Removing the watch_dir should not kill the Watcher
>         # simply stop dispatching callbacks
>         shutil.rmtree(watch_dir)
>         time.sleep(0.5)
>         assert c.count == 1
>     
>         # Watcher should recover once the input file is there again
>         os.makedirs(watch_dir)
>         shutil.copy2(example('dummy.scss'), watch_dir)
>         time.sleep(0.5)
> >       assert c.count == 2
> E       assert 1 == 2
> E        +  where 1 = <tests.test_watchers.CallCounter object at 
> 0x7f08d54935e0>.count
> 
> tests/test_watchers.py:87: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_watchers.py::test_watchers[QtWatcher] - assert 1 == 2
> =================== 1 failed, 35 passed, 1 skipped in 11.59s 
> ===================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/qtsass_0.3.0+git20200324.06f1519-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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 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.

Reply via email to