Source: pcbasic
Version: 2.0.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 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>>'
> mkdir -p /<<PKGBUILDDIR>>/tests/unit/output/single
> dh_auto_test -- --test-args="/<<PKGBUILDDIR>>"
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pcbasic/build; python3.10 -m unittest 
> discover -v /<<PKGBUILDDIR>>
> docsrc (unittest.loader._FailedTest) ... ERROR
> pcbasic (unittest.loader._FailedTest) ... ERROR
> test_event_signal (tests.unit.test_base.BaseTest)
> Test event signals. ... ok
> test_exception (tests.unit.test_base.BaseTest)
> Test exceptions. ... ok
> test_bytearray (tests.unit.test_base.ByteMatrixTest)
> Create matrix from bytearray. ... ok
> test_bytearray_tall (tests.unit.test_base.ByteMatrixTest)
> Create 1-column matrix from bytearray. ... ok
> test_bytearray_wide (tests.unit.test_base.ByteMatrixTest)
> Create 1-row matrix from bytearray. ... ok
> test_bytes (tests.unit.test_base.ByteMatrixTest)
> Create matrix from bytes. ... ok
> test_copy (tests.unit.test_base.ByteMatrixTest)
> Test copying. ... ok
> test_elementwise (tests.unit.test_base.ByteMatrixTest)
> Test elementwise operations. ... ok
> test_elementwise_inplace_int (tests.unit.test_base.ByteMatrixTest)
> Test in-place elementwise operations with scalar. ... ok
> test_elementwise_int (tests.unit.test_base.ByteMatrixTest)
> Test elementwise operations with scalar. ... ok
> test_empty (tests.unit.test_base.ByteMatrixTest)
> Create empty matrix. ... ok
> test_eq (tests.unit.test_base.ByteMatrixTest)
> Test equality. ... ok
> test_fromhex (tests.unit.test_base.ByteMatrixTest)
> Test unpacking packed representation. ... ok
> test_getitem (tests.unit.test_base.ByteMatrixTest)
> Test int and slice indexing. ... ok
> test_hex (tests.unit.test_base.ByteMatrixTest)
> Test hex representation. ... ok
> test_hextend (tests.unit.test_base.ByteMatrixTest)
> Test horizontal extending. ... ok
> test_hrepeat (tests.unit.test_base.ByteMatrixTest)
> Test horizontal repeating. ... ok
> test_hstack (tests.unit.test_base.ByteMatrixTest)
> Test horizontal stacking. ... ok
> test_htile (tests.unit.test_base.ByteMatrixTest)
> Test horizontal tiling. ... ok
> test_int (tests.unit.test_base.ByteMatrixTest)
> Create matrix with all elements equal. ... ok
> test_list_of_bytes (tests.unit.test_base.ByteMatrixTest)
> Create matrix from list of bytes. ... ok
> test_list_of_list (tests.unit.test_base.ByteMatrixTest)
> Create matrix from list of list. ... ok
> test_move (tests.unit.test_base.ByteMatrixTest)
> Test moving submatrix. ... ok
> test_ne (tests.unit.test_base.ByteMatrixTest)
> Test nonequality. ... ok
> test_pack (tests.unit.test_base.ByteMatrixTest)
> Test packed representation. ... ok
> test_render (tests.unit.test_base.ByteMatrixTest)
> Test rendering. ... ok
> test_repr (tests.unit.test_base.ByteMatrixTest)
> Debugging repr. ... ok
> test_setitem (tests.unit.test_base.ByteMatrixTest)
> Test int and slice assignment. ... ok
> test_setitem_bad (tests.unit.test_base.ByteMatrixTest)
> Test slice assignment to bad type. ... ok
> test_setitem_int (tests.unit.test_base.ByteMatrixTest)
> Test slice assignment to same int. ... ok
> test_to_bytes (tests.unit.test_base.ByteMatrixTest)
> Test to_bytes. ... ok
> test_to_rows (tests.unit.test_base.ByteMatrixTest)
> Test to_rows. ... ok
> test_unpack (tests.unit.test_base.ByteMatrixTest)
> Test unpacking packed representation. ... ok
> test_vextend (tests.unit.test_base.ByteMatrixTest)
> Test vertical extending. ... ok
> test_view (tests.unit.test_base.ByteMatrixTest)
> Test viewing. ... ok
> test_view_from_buffer (tests.unit.test_base.ByteMatrixTest)
> Test view over buffer with pitch. ... ok
> test_vrepeat (tests.unit.test_base.ByteMatrixTest)
> Test vertical reapeating. ... ok
> test_vstack (tests.unit.test_base.ByteMatrixTest)
> Test vertical stacking. ... ok
> test_vtile (tests.unit.test_base.ByteMatrixTest)
> Test vertical tiling. ... ok
> test_bytestream_read (tests.unit.test_base.ByteStreamTest)
> Test ByteStream read. ... ok
> test_bytestream_read_bad (tests.unit.test_base.ByteStreamTest)
> Test read attempt with bad argument. ... ok
> test_bytestream_read_closed (tests.unit.test_base.ByteStreamTest)
> Test read attempt on closed stream. ... ok
> test_bytestream_write (tests.unit.test_base.ByteStreamTest)
> Test ByteStream write. ... ok
> test_backskip_blank (tests.unit.test_base.CodeStreamTest)
> Test backskip_blank. ... ok
> test_read_name (tests.unit.test_base.CodeStreamTest)
> Test read_name. ... ok
> test_read_number (tests.unit.test_base.CodeStreamTest)
> Test read_number. ... ok
> test_read_string (tests.unit.test_base.CodeStreamTest)
> Test read_string. ... ok
> test_read_to (tests.unit.test_base.CodeStreamTest)
> Test read_to. ... ok
> test_read_number_token (tests.unit.test_base.TokenisedStreamTest)
> Test read_number_token. ... ok
> test_skip_block_not_found (tests.unit.test_base.TokenisedStreamTest)
> Test skip_block where token is not found. ... ok
> test_skip_to_token_not_found (tests.unit.test_base.TokenisedStreamTest)
> Test skip_to_token where token is not found. ... ok
> tests.unit.test_cassette (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_codepage (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_console (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_debug (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_disk (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_display (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_extensions (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_not_implemented (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_pickle (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_program (unittest.loader._FailedTest) ... ERROR
> tests.unit.test_session (unittest.loader._FailedTest) ... ERROR
> test_all_bytes_add (tests.unit.test_single.TestSingle)
> Test adding singles, all first-byte combinations. ... ok
> test_all_bytes_sub (tests.unit.test_single.TestSingle)
> Test subtracting singles, all first-byte combinations. ... ok
> test_bigbytes (tests.unit.test_single.TestSingle)
> Test additions on random generated byte sequences. ... ok
> test_bytes (tests.unit.test_single.TestSingle)
> Test additions on random generated byte sequences. ... ok
> test_exponents (tests.unit.test_single.TestSingle)
> Test adding with various exponents. ... ok
> test_exponents_low (tests.unit.test_single.TestSingle)
> Test adding with various exponents. ... ok
> test_mult (tests.unit.test_single.TestSingle)
> Test multiplications on random generated byte sequences. ... ok
> test_single (tests.unit.test_single.TestSingle)
> Test MBF single representation. ... ok
> tests.unit.test_values (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: docsrc (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: docsrc
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/docsrc/__init__.py", line 11, in <module>
>     from .doc import makedoc
>   File "/<<PKGBUILDDIR>>/docsrc/doc.py", line 20, in <module>
>     from pcbasic.basic import VERSION
>   File "/<<PKGBUILDDIR>>/pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: pcbasic (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: pcbasic
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_cassette (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_cassette
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_cassette.py", line 12, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_codepage (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_codepage
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_codepage.py", line 13, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_console (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_console
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_console.py", line 9, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_debug (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_debug
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_debug.py", line 9, in <module>
>     from pcbasic.basic import debug
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_disk (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_disk
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_disk.py", line 13, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_display (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_display
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_display.py", line 12, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_extensions (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_extensions
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_extensions.py", line 11, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_not_implemented (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_not_implemented
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_not_implemented.py", line 9, in 
> <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_pickle (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_pickle
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_pickle.py", line 12, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_program (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_program
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_program.py", line 14, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_session (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_session
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_session.py", line 12, in <module>
>     from pcbasic import Session, run
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ======================================================================
> ERROR: tests.unit.test_values (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests.unit.test_values
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/unit/test_values.py", line 9, in <module>
>     from pcbasic import Session
>   File "/<<PKGBUILDDIR>>/tests/../pcbasic/__init__.py", line 15, in <module>
>     from .basic import __version__
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/__init__.py", line 9, in <module>
>     from .api import Session, codepage, font
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/api.py", line 15, in <module>
>     from . import implementation
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/implementation.py", line 37, in 
> <module>
>     from . import iostreams
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 15, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' 
> (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 73 tests in 2.131s
> 
> FAILED (errors=14)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pcbasic/build; python3.10 -m unittest 
> discover -v /<<PKGBUILDDIR>>
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pcbasic/build; 
> python3.9 -m unittest discover -v /<<PKGBUILDDIR>>
> test_event_signal (tests.unit.test_base.BaseTest)
> Test event signals. ... ok
> test_exception (tests.unit.test_base.BaseTest)
> Test exceptions. ... ok
> test_bytearray (tests.unit.test_base.ByteMatrixTest)
> Create matrix from bytearray. ... ok
> test_bytearray_tall (tests.unit.test_base.ByteMatrixTest)
> Create 1-column matrix from bytearray. ... ok
> test_bytearray_wide (tests.unit.test_base.ByteMatrixTest)
> Create 1-row matrix from bytearray. ... ok
> test_bytes (tests.unit.test_base.ByteMatrixTest)
> Create matrix from bytes. ... ok
> test_copy (tests.unit.test_base.ByteMatrixTest)
> Test copying. ... ok
> test_elementwise (tests.unit.test_base.ByteMatrixTest)
> Test elementwise operations. ... ok
> test_elementwise_inplace_int (tests.unit.test_base.ByteMatrixTest)
> Test in-place elementwise operations with scalar. ... ok
> test_elementwise_int (tests.unit.test_base.ByteMatrixTest)
> Test elementwise operations with scalar. ... ok
> test_empty (tests.unit.test_base.ByteMatrixTest)
> Create empty matrix. ... ok
> test_eq (tests.unit.test_base.ByteMatrixTest)
> Test equality. ... ok
> test_fromhex (tests.unit.test_base.ByteMatrixTest)
> Test unpacking packed representation. ... ok
> test_getitem (tests.unit.test_base.ByteMatrixTest)
> Test int and slice indexing. ... ok
> test_hex (tests.unit.test_base.ByteMatrixTest)
> Test hex representation. ... ok
> test_hextend (tests.unit.test_base.ByteMatrixTest)
> Test horizontal extending. ... ok
> test_hrepeat (tests.unit.test_base.ByteMatrixTest)
> Test horizontal repeating. ... ok
> test_hstack (tests.unit.test_base.ByteMatrixTest)
> Test horizontal stacking. ... ok
> test_htile (tests.unit.test_base.ByteMatrixTest)
> Test horizontal tiling. ... ok
> test_int (tests.unit.test_base.ByteMatrixTest)
> Create matrix with all elements equal. ... ok
> test_list_of_bytes (tests.unit.test_base.ByteMatrixTest)
> Create matrix from list of bytes. ... ok
> test_list_of_list (tests.unit.test_base.ByteMatrixTest)
> Create matrix from list of list. ... ok
> test_move (tests.unit.test_base.ByteMatrixTest)
> Test moving submatrix. ... ok
> test_ne (tests.unit.test_base.ByteMatrixTest)
> Test nonequality. ... ok
> test_pack (tests.unit.test_base.ByteMatrixTest)
> Test packed representation. ... ok
> test_render (tests.unit.test_base.ByteMatrixTest)
> Test rendering. ... ok
> test_repr (tests.unit.test_base.ByteMatrixTest)
> Debugging repr. ... ok
> test_setitem (tests.unit.test_base.ByteMatrixTest)
> Test int and slice assignment. ... ok
> test_setitem_bad (tests.unit.test_base.ByteMatrixTest)
> Test slice assignment to bad type. ... ok
> test_setitem_int (tests.unit.test_base.ByteMatrixTest)
> Test slice assignment to same int. ... ok
> test_to_bytes (tests.unit.test_base.ByteMatrixTest)
> Test to_bytes. ... ok
> test_to_rows (tests.unit.test_base.ByteMatrixTest)
> Test to_rows. ... ok
> test_unpack (tests.unit.test_base.ByteMatrixTest)
> Test unpacking packed representation. ... ok
> test_vextend (tests.unit.test_base.ByteMatrixTest)
> Test vertical extending. ... ok
> test_view (tests.unit.test_base.ByteMatrixTest)
> Test viewing. ... ok
> test_view_from_buffer (tests.unit.test_base.ByteMatrixTest)
> Test view over buffer with pitch. ... ok
> test_vrepeat (tests.unit.test_base.ByteMatrixTest)
> Test vertical reapeating. ... ok
> test_vstack (tests.unit.test_base.ByteMatrixTest)
> Test vertical stacking. ... ok
> test_vtile (tests.unit.test_base.ByteMatrixTest)
> Test vertical tiling. ... ok
> test_bytestream_read (tests.unit.test_base.ByteStreamTest)
> Test ByteStream read. ... ok
> test_bytestream_read_bad (tests.unit.test_base.ByteStreamTest)
> Test read attempt with bad argument. ... ok
> test_bytestream_read_closed (tests.unit.test_base.ByteStreamTest)
> Test read attempt on closed stream. ... ok
> test_bytestream_write (tests.unit.test_base.ByteStreamTest)
> Test ByteStream write. ... ok
> test_backskip_blank (tests.unit.test_base.CodeStreamTest)
> Test backskip_blank. ... ok
> test_read_name (tests.unit.test_base.CodeStreamTest)
> Test read_name. ... ok
> test_read_number (tests.unit.test_base.CodeStreamTest)
> Test read_number. ... ok
> test_read_string (tests.unit.test_base.CodeStreamTest)
> Test read_string. ... ok
> test_read_to (tests.unit.test_base.CodeStreamTest)
> Test read_to. ... ok
> test_read_number_token (tests.unit.test_base.TokenisedStreamTest)
> Test read_number_token. ... ok
> test_skip_block_not_found (tests.unit.test_base.TokenisedStreamTest)
> Test skip_block where token is not found. ... ok
> test_skip_to_token_not_found (tests.unit.test_base.TokenisedStreamTest)
> Test skip_to_token where token is not found. ... ok
> test_cas_already_open (tests.unit.test_cassette.CassetteTest)
> Try to open file twice. ... ok
> test_cas_bad_mode (tests.unit.test_cassette.CassetteTest)
> Try to open file with illegal mode. ... ok
> test_cas_bad_name (tests.unit.test_cassette.CassetteTest)
> Try to open file with funny name. ... ok
> test_cas_bad_operation (tests.unit.test_cassette.CassetteTest)
> Try to perform illegal operations. ... ok
> test_cas_current_device (tests.unit.test_cassette.CassetteTest)
> Save and load to cassette as current device. ... ok
> test_cas_data (tests.unit.test_cassette.CassetteTest)
> Write and read data to a CAS file. ... ok
> test_cas_empty (tests.unit.test_cassette.CassetteTest)
> Attach empty CAS file. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/expressions.py:114: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   tk.HEX: self._gen_parse_arguments,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_cas_load (tests.unit.test_cassette.CassetteTest)
> Load from a CAS file. ... ok
> test_cas_no_name (tests.unit.test_cassette.CassetteTest)
> Save and load to cassette without a filename. ... ok
> test_cas_save_load (tests.unit.test_cassette.CassetteTest)
> Save and load from an existing CAS file. ... ok
> test_cas_text (tests.unit.test_cassette.CassetteTest)
> Save and load in plaintext to a CAS file. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:86: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self._dbcs_text = [[u' '] * width for _ in range(height)]
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_cas_unavailable (tests.unit.test_cassette.CassetteTest)
> Try to attach directory as CAS file. ... WARNING:root:Could not attach 
> /<<PKGBUILDDIR>>/tests/unit/output/cassette/empty to CAS device: [Errno 21] 
> Is a directory: '/<<PKGBUILDDIR>>/tests/unit/output/cassette/empty'
> ok
> test_wav_data (tests.unit.test_cassette.CassetteTest)
> Write and read data to a WAV file. ... ok
> test_wav_save_load (tests.unit.test_cassette.CassetteTest)
> Save and load in to the same WAV file in one session. ... ok
> test_wav_text (tests.unit.test_cassette.CassetteTest)
> Save and load in plaintext to a WAV file. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/textscreen.py:84: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self._contents = [(b' ', 0)] * 80
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/pcbasic/basic/basicevents.py:50: ResourceWarning: unclosed 
> file <_io.BufferedRandom name='/dev/null'>
>   self.key = [KeyHandler(sc) for sc in keys]
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_box (tests.unit.test_codepage.CodepageTest)
> Test box protection. ... Exception in thread Thread-23:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> ok
> test_box2 (tests.unit.test_codepage.CodepageTest)
> Test box protection cases. ... Exception in thread Thread-24:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> ok
> test_hello (tests.unit.test_codepage.CodepageTest)
> Hello world in 9 codepages. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/statements.py:313: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   tk.DEFSNG: session.memory.defsng_,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> Exception in thread Thread-29:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> Exception in thread Thread-30:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> Exception in thread Thread-31:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> /<<PKGBUILDDIR>>/pcbasic/basic/basicevents.py:183: ResourceWarning: unclosed 
> file <_io.BufferedRandom name='/dev/null'>
>   self.gosub = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_missing (tests.unit.test_codepage.CodepageTest)
> Test codepage with missing codepoints. ... ok
> test_nobox (tests.unit.test_codepage.CodepageTest)
> Test no box protection. ... Exception in thread Thread-34:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> ok
> test_non_nfc (tests.unit.test_codepage.CodepageTest)
> Test conversion of non-NFC sequences. ... ok
> test_pickle (tests.unit.test_codepage.StreamWrapperTest)
> Wrapped streams must be picklable. ... ok
> test_read (tests.unit.test_codepage.StreamWrapperTest)
> Test InputStreamWrapper.read(). ... ok
> test_write (tests.unit.test_codepage.StreamWrapperTest)
> Test OutputStreamWrapper.write(). ... ok
> test_close_stream (tests.unit.test_console.ConsoleTest)
> Test ctrl-home in console. ... File already open 
> 
> Bad file mode 
> 
> Bad file number 
> 
> Illegal function call 
> 
> Illegal function call 
> 
> Test    .B Found.
> 
> 10 PRINT
> 
> data    .D Found.
> 
> Device Timeout 
> 
> not this.B Skipped.
> 
> test    .B Found.
> 
> 10 OPEN "output.txt" FOR OUTPUT AS 1
> 
> 20 PRINT#1, "cassette test"
> 
>         .B Found.
> 
> 10 PRINT
> 
> test    .B Found.
> 
> 10 OPEN "output.txt" FOR OUTPUT AS 1
> 
> 20 PRINT#1, "cassette test"
> 
> prog    .A Found.
> 
> Device Unavailable 
> 
> data    .D Found.
> 
> Prog 2  .A Found.
> 
> prog    .A Found.
> 
> ┌──────────┐
> 
> أهلا بالعالم
> 
> Γεια σου κόσμε
> 
> שלום עולם
> 
> Здравствуй, мир
> 
> こんにちは、 世界
> 
> 你好世界
> 
> 반갑다 세상아
> 
> Xin chào thế giới
> 
> 谀哪哪哪哪目
> 
> Ok 
> 
> ?1
> 
>  1 
> 
> Ok 
> 
> /usr/lib/python3.9/unittest/case.py:550: ResourceWarning: unclosed file 
> <_io.BufferedReader 
> name='/<<PKGBUILDDIR>>/tests/unit/output/console/input.txt'>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_control_c (tests.unit.test_console.ConsoleTest)
> Test ctrl-home in console. ... Ok 
> 
> ♫
> 
> ok
> test_control_home (tests.unit.test_console.ConsoleTest)
> Test ctrl-home in console. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/textscreen.py:89: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self._contents[col + i] = (c, reverse)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> system
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> Ok 
> 
> ok
> test_control_keys (tests.unit.test_console.ConsoleTest)
> Test special keys in console. ... system
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> Ok 
> 
> ok
> test_control_keys_2 (tests.unit.test_console.ConsoleTest)
> Test special keys in console. ...                              system
> 
> Ok 
> 
> ok
> test_control_keys_3 (tests.unit.test_console.ConsoleTest)
> Test special keys in console. ...  system
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> Ok 
> 
> ok
> test_control_printscreen (tests.unit.test_console.ConsoleTest)
> Test ctrl+printscreen in console. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/devices/files.py:146: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   b'LPT1:': parports.LPTDevice(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
>  system
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> Ok 
> 
> ok
> test_cursor_bottom (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print on last column, last row. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/expressions.py:216: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   b'_': session.extensions.call_as_function,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_cursor_bottom_char (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print char and return on last column, last row. 
> ... ok
> test_cursor_bottom_cr (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print two chars on last column, last row. ... ok
> test_cursor_bottom_cr_char (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print char, return, char on last column, last row. 
> ... ok
> test_cursor_move (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print. ... ok
> test_cursor_overflow (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print on last column. ... ok
> test_cursor_overflow_char (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print two chars on last column. ... ok
> test_cursor_overflow_cr (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print char and cr on last column. ... ok
> test_cursor_overflow_cr_char (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print char, return, char on last column. ... ok
> test_cursor_overflow_word (tests.unit.test_console.ConsoleTest)
> Test cursor movement after print a two-char word on last column. ... ok
> test_end (tests.unit.test_console.ConsoleTest)
> Test end key in console. ... system
> 
> xxyx
> 
> x
> 
> yxy 1  6 xxyx
> 
> x
> 
> y
> 
> xyLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> Ok 
> 
> ok
> test_input_wrapping_line (tests.unit.test_console.ConsoleTest)
> Test ctrl-home in console. ... system
> 
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
> tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
> quis nostrud exercitation ullamco laboris nisi ut a
> 
> ? ok
> test_print_control (tests.unit.test_console.ConsoleTest)
> Test printing control chars. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:78: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self._rows = [_TextRow(attr, width) for _ in range(height)]
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_print_control_2 (tests.unit.test_console.ConsoleTest)
> Test printing control chars. ... ok
> test_print_control_3 (tests.unit.test_console.ConsoleTest)
> Test printing control chars. ... ok
> test_crash (tests.unit.test_debug.DebugTest)
> Test _crash. ... ok
> test_debug (tests.unit.test_debug.DebugTest)
> Exercise debug statements. ... Exception in thread Thread-59:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> ok
> test_debugexception_repr (tests.unit.test_debug.DebugTest)
> Test DebugException.__repr__. ... ok
> test_exception (tests.unit.test_debug.DebugTest)
> Test exception in debug statement. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/statements.py:391: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   tk.VIEW + tk.PRINT: session.text_screen.view_print_,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ERROR:root:Could not call extension function `b'PYTHON'(b'blah',)`: 
> NameError("name 'blah' is not defined")
> ok
> test_exit (tests.unit.test_debug.DebugTest)
> Test _exit. ... ok
> test_get_platform_info (tests.unit.test_debug.DebugTest)
> Ensure get_platform_info outputs unicode. ... ok
> test_restart (tests.unit.test_debug.DebugTest)
> Test _restart. ... ok
> test_trace_watch (tests.unit.test_debug.DebugTest)
> Exercise _trace and _watch. ... ok
> test_bad_current (tests.unit.test_disk.DiskTest)
> Test bad current device. ... ERROR:root:Invalid current device `b'#'`
> ok
> test_bad_mount (tests.unit.test_disk.DiskTest)
> Test bad mount dict specification. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/devices/disk.py:237: ResourceWarning: unclosed 
> file <_io.BufferedRandom name='/dev/null'>
>   self.letter = letter
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ERROR:root:Invalid device name: `Ä` is not ascii.
> ok
> test_binary (tests.unit.test_disk.DiskTest)
> Save and load in binary format to a file. ... ok
> test_bytes_mount (tests.unit.test_disk.DiskTest)
> Test specifying mount dir as bytes. ... ERROR:root:Invalid device parameter 
> value: `b'A'` must be ascii if given as bytes.
> ok
> test_close_not_open (tests.unit.test_disk.DiskTest)
> Test closing a file number that is not open. ... ok
> test_directory_ops (tests.unit.test_disk.DiskTest)
> Test directory operations. ... ok
> test_disk_data (tests.unit.test_disk.DiskTest)
> Write and read data to a text file. ... ok
> test_disk_data_append (tests.unit.test_disk.DiskTest)
> Append data to a text file. ... ok
> test_disk_data_lf (tests.unit.test_disk.DiskTest)
> Write and read data to a text file, soft and hard linefeed. ... ok
> test_disk_data_utf8 (tests.unit.test_disk.DiskTest)
> Write and read data to a text file, utf-8 encoding. ... ok
> test_disk_random (tests.unit.test_disk.DiskTest)
> Write and read data to a random access file. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:78: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self._rows = [_TextRow(attr, width) for _ in range(height)]
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:78: ResourceWarning: 
> unclosed file <_io.BufferedWriter 
> name='/<<PKGBUILDDIR>>/tests/unit/output/console/printscr.txt'>
>   self._rows = [_TextRow(attr, width) for _ in range(height)]
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_dot_filename (tests.unit.test_disk.DiskTest)
> Test handling of filenames ending in dots. ... ok
> test_file_ops (tests.unit.test_disk.DiskTest)
> Test file operations. ... ok
> test_files (tests.unit.test_disk.DiskTest)
> Test directory listing, current directory and free space report. ... ok
> test_files_cwd (tests.unit.test_disk.DiskTest)
> Test directory listing, not on root. ... ok
> test_files_longname (tests.unit.test_disk.DiskTest)
> Test directory listing with long name. ... ok
> test_files_no_disk (tests.unit.test_disk.DiskTest)
> Test directory listing, non-existing device. ... ok
> test_files_wildcard (tests.unit.test_disk.DiskTest)
> Test directory listing with wildcards. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/statements.py:297: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   tk.WAIT: session.machine.wait_,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_internal_disk_files (tests.unit.test_disk.DiskTest)
> Test directory listing, current directory and free space report on special @: 
> disk. ... ok
> test_internal_disk_unbound_files (tests.unit.test_disk.DiskTest)
> Test directory listing, current directory and free space report on unbound @: 
> disk. ... ok
> test_kill_long_filename (tests.unit.test_disk.DiskTest)
> Test deleting files with long filenames. ... ok
> test_long_filename (tests.unit.test_disk.DiskTest)
> Test handling of long filenames. ... ok
> test_match_name (tests.unit.test_disk.DiskTest)
> Test case-insensitive matching of native file name. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:24: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   self.chars = [b' '] * width
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_match_name_non_ascii (tests.unit.test_disk.DiskTest)
> Test non-matching of names that are not ascii. ... ok
> test_mount_dict_spec (tests.unit.test_disk.DiskTest)
> Test mount dict specification. ... Exception in thread Thread-103:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>     self.run()
>   File "/usr/lib/python3.9/threading.py", line 910, in run
>     self._target(*self._args, **self._kwargs)
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 115, in 
> _process_input
>     instr = stream.read()
>   File "/<<PKGBUILDDIR>>/pcbasic/basic/iostreams.py", line 147, in read
>     s = read_all_available(self._stream)
>   File "/<<PKGBUILDDIR>>/pcbasic/compat/posix_console.py", line 477, in 
> read_all_available
>     fcntl.ioctl(stream, termios.FIONREAD, _sock_size)
> OSError: [Errno 25] Inappropriate ioctl for device
> /<<PKGBUILDDIR>>/pcbasic/basic/display/display.py:219: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   VideoBuffer(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_name_illegal_chars (tests.unit.test_disk.DiskTest)
> Test non-matching of names that are not ascii. ... ok
> test_name_slash (tests.unit.test_disk.DiskTest)
> Test non-matching of names with forward slash. ... ok
> test_open_bad_device (tests.unit.test_disk.DiskTest)
> Test open on a bad device name. ... ok
> test_open_bad_number (tests.unit.test_disk.DiskTest)
> Test opening to a bad file number. ... ok
> test_open_null_device (tests.unit.test_disk.DiskTest)
> Test the NUL device. ... ok
> test_open_reuse_number (tests.unit.test_disk.DiskTest)
> Test opening to a number taht's already in use. ... ok
> test_path (tests.unit.test_disk.DiskTest)
> Test accessing file through path. ... ok
> test_protected (tests.unit.test_disk.DiskTest)
> Save and load in protected format to a file. ... ok
> test_text (tests.unit.test_disk.DiskTest)
> Save and load in plaintext to a file. ... ok
> test_text_letter (tests.unit.test_disk.DiskTest)
> Save and load in plaintext to a file, explicit drive letter. ... ok
> test_unavailable_drive (tests.unit.test_disk.DiskTest)
> Test attempt to access unavailable drive letter. ... ok
> test_characters (tests.unit.test_display.DisplayTest)
> Display all characters. ... ok
> test_pixels (tests.unit.test_display.DisplayTest)
> Display all characters in default font. ... ok
> test_extended_session (tests.unit.test_extensions.ExtensionTest)
> Test extensions accessing the session. ... ok
> test_extension (tests.unit.test_extensions.ExtensionTest)
> Test extension functions. ... ok
> test_extension_function (tests.unit.test_extensions.ExtensionTest)
> Test extension functions. ... ok
> test_extension_function_none (tests.unit.test_extensions.ExtensionTest)
> Test extension functions with disallowed return type. ... ok
> test_extension_module (tests.unit.test_extensions.ExtensionTest)
> Test using a module as extension. ... ok
> test_extension_module_not_found (tests.unit.test_extensions.ExtensionTest)
> Test using a non-existant module name as extension. ... ERROR:root:Could not 
> load extension module `no-sirree`: ModuleNotFoundError("No module named 
> 'no-sirree'")
> ok
> test_extension_module_string (tests.unit.test_extensions.ExtensionTest)
> Test using a module name as extension. ... ok
> test_extension_statement (tests.unit.test_extensions.ExtensionTest)
> Test extension statements. ... ok
> test_no_extension (tests.unit.test_extensions.ExtensionTest)
> Test attempting to access extensions that aren't there. ... ok
> test_no_statement (tests.unit.test_extensions.ExtensionTest)
> Test attempting to access extensions that aren't there. ... ERROR:root:Could 
> not call extension function `b'NOPE'(b'one', 2, 3.0, 4.0)`: KeyError(b'NOPE')
> ok
> test_call (tests.unit.test_not_implemented.NotImplementedTest)
> Exercise CALL statement. ... WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> ok
> test_call_wrong (tests.unit.test_not_implemented.NotImplementedTest)
> Exercise CALL statement with badly-formed arguments. ... ok
> test_calls (tests.unit.test_not_implemented.NotImplementedTest)
> Exercise CALLS statement. ... WARNING:root:CALL/CALLS statement not 
> implemented
> WARNING:root:CALL/CALLS statement not implemented
> WARNING:root:CALL/CALLS statement not implemented
> ok
> test_calls_wrong (tests.unit.test_not_implemented.NotImplementedTest)
> Exercise CALLS statement with badly-formed arguments. ... ok
> test_pickle_session (tests.unit.test_pickle.PickleTest)
> Pickle Session object. ... ok
> test_pickle_session_open_file (tests.unit.test_pickle.PickleTest)
> Pickle Session object with open file. ... ok
> test_pickle_session_running (tests.unit.test_pickle.PickleTest)
> Pickle Session object with running program. ... ok
> test_pickle_tokenisedstream (tests.unit.test_pickle.PickleTest)
> Pickle TokenisedStream object. ... ok
> test_unprotect (tests.unit.test_program.DiskTest)
> Save in protected format to a file, load in plaintext. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:24: ResourceWarning: 
> unclosed file <_io.BufferedWriter 
> name='/<<PKGBUILDDIR>>/tests/unit/output/pickle/TEST'>
>   self.chars = [b' '] * width
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/pcbasic/basic/parser/statements.py:183: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   tk.TIME: self._parse_time_date,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_read_lfcr (tests.unit.test_session.NonBlockingInputWrapperTest)
> Test read() with LF/CR conversion. ... 
> /usr/lib/python3.9/unittest/case.py:550: ResourceWarning: unclosed file 
> <_io.TextIOWrapper 
> name='/<<PKGBUILDDIR>>/tests/unit/output/nonblockinginputwrapper/inp.txt' 
> mode='r' encoding='UTF-8'>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_resume (tests.unit.test_session.SessionTest) ... ok
> test_session (tests.unit.test_session.SessionTest)
> Test basic Session API. ... ok
> test_session_bind_file (tests.unit.test_session.SessionTest)
> test Session.bind_file. ... ok
> test_session_convert (tests.unit.test_session.SessionTest)
> Test Session.convert(variable). ... ok
> test_session_evaluate (tests.unit.test_session.SessionTest)
> Test Session.set_variable and Session.get_variable. ... ok
> test_session_execute (tests.unit.test_session.SessionTest)
> Test Session.execute. ... ok
> test_session_getset_variable (tests.unit.test_session.SessionTest)
> Test Session.set_variable and Session.get_variable. ... ok
> test_session_greeting (tests.unit.test_session.SessionTest)
> Test welcome screen. ... ok
> test_session_iostreams (tests.unit.test_session.SessionTest)
> Test Session with copy to BytesIO. ... ok
> test_session_no_printcopy (tests.unit.test_session.SessionTest)
> Test Session switching off ctrl print-screen copy. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/devices/files.py:146: ResourceWarning: 
> unclosed file <_io.BufferedRandom name='/dev/null'>
>   b'LPT1:': parports.LPTDevice(
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_session_no_streams (tests.unit.test_session.SessionTest)
> Test Session without stream copy. ... ok
> test_session_press_keys (tests.unit.test_session.SessionTest)
> Test Session.press_keys. ... 
> /<<PKGBUILDDIR>>/pcbasic/basic/display/buffers.py:24: ResourceWarning: 
> unclosed file <_io.BufferedWriter 
> name='/<<PKGBUILDDIR>>/tests/unit/output/session/print.txt'>
>   self.chars = [b' '] * width
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> 1
> 
> 1    234
> 
> 1    234
> 
>   1234
> 
>   1234
> 
> Internal error 
> 
> Illegal function call in 10 
> 
> Illegal function call in 10 
> 
> Path not found 
> 
> Path not found 
> 
> Path not found 
> 
> @:\
> 
>         .   <DIR>         ..  <DIR>
> 
>  0 Bytes free
> 
> 
> Input past end 
> 
> Rename across disks 
> 
> File already exists 
> 
> File not found 
> 
> File not found 
> 
> A:\
> 
>         .   <DIR>         ..  <DIR> PROG    .BAS     
> 
>  91241652224 Bytes free
> 
> 
> ##
> 
> A:\
> 
>         .   <DIR>         ..  <DIR> PROG    .BAS     
> 
>  91241652224 Bytes free
> 
> 
> A:\A
> 
>         .   <DIR>         ..  <DIR>
> 
>  91241652224 Bytes free
> 
> 
> A:\A
> 
>         .   <DIR>
> 
>  91241652224 Bytes free
> 
> 
> A:\A
> 
>         .   <DIR>         ..  <DIR> A           <DIR>
> 
>  91241652224 Bytes free
> 
> 
> A:\
> 
>         .   <DIR>         ..  <DIR> very_lo+.ex+     
> 
>  91241656320 Bytes free
> 
> 
> File not found 
> 
> A:\
> 
> AAA     .TXT      AAB     .TXT      ABC     .TXT      aa_long+.txt     
> 
>  91241656320 Bytes free
> 
> 
> A:\
> 
> AAA     .TXT      AAB     .TXT     
> 
>  91241656320 Bytes free
> 
> 
> A:\
> 
> File not found 
> 
> @:\
> 
>         .   <DIR>         ..  <DIR> PROG    .BAS     
> 
>  91241652224 Bytes free
> 
> 
> Path not found 
> 
> @:\
> 
>         .   <DIR>         ..  <DIR>
> 
>  0 Bytes free
> 
> 
> File not found 
> 
> File not found 
> 
> File not found 
> 
> File not found 
> 
> Bad file name 
> 
> File not found 
> 
> Bad file name 
> 
> Bad file name 
> 
> Path not found 
> 
> Bad file number 
> 
> Bad file number 
> 
> File already open 
> 
> Path not found 
> 
> Type mismatch 
> 
> Internal error 
> 
> Syntax error 
> 
> Internal error 
> 
> Type mismatch 
> 
> Syntax error 
> 
> Syntax error 
> 
> Syntax error 
> 
> Syntax error 
> 
> Type mismatch 
> 
> Syntax error 
> 
> Syntax error 
> 
> Syntax error 
> 
> Syntax error 
> 
> abcd
> 
> Syntax error 
> 
>  0 
> 
> Break 
> 
> Syntax error 
> 
> PC-BASIC 2.0.4
> 
> (C) Copyright 2013--2021 Rob Hagemans.
> 
> 60300 Bytes free
> 
> Ok 
> 
> ok
> test_session_printcopy (tests.unit.test_session.SessionTest)
> Test Session with ctrl print-screen copy. ... ok
> test_all_bytes_add (tests.unit.test_single.TestSingle)
> Test adding singles, all first-byte combinations. ... ok
> test_all_bytes_sub (tests.unit.test_single.TestSingle)
> Test subtracting singles, all first-byte combinations. ... ok
> test_bigbytes (tests.unit.test_single.TestSingle)
> Test additions on random generated byte sequences. ... ok
> test_bytes (tests.unit.test_single.TestSingle)
> Test additions on random generated byte sequences. ... ok
> test_exponents (tests.unit.test_single.TestSingle)
> Test adding with various exponents. ... ok
> test_exponents_low (tests.unit.test_single.TestSingle)
> Test adding with various exponents. ... ok
> test_mult (tests.unit.test_single.TestSingle)
> Test multiplications on random generated byte sequences. ... ok
> test_single (tests.unit.test_single.TestSingle)
> Test MBF single representation. ... ok
> test_call_float_function_errors (tests.unit.test_values.ValuesTest)
> Test call_float_function error cases. ... ok
> test_float_error_handler_errors (tests.unit.test_values.ValuesTest)
> Test FloatErrorHandler error cases. ... ok
> test_float_error_handler_soft (tests.unit.test_values.ValuesTest)
> Test FloatErrorHandler. ... ok
> test_float_error_handler_soft_double (tests.unit.test_values.ValuesTest)
> Test FloatErrorHandler. ... ok
> test_from_token_errors (tests.unit.test_values.ValuesTest)
> Test from_token error cases. ... ok
> test_integer_from_token_error (tests.unit.test_values.ValuesTest)
> Test Integer.from_token(). ... ok
> test_match_types_errors (tests.unit.test_values.ValuesTest)
> Test match_types() error cases. ... ok
> test_pass_number (tests.unit.test_values.ValuesTest)
> Test pass_number(). ... ok
> test_pass_string (tests.unit.test_values.ValuesTest)
> Test pass_string(). ... ok
> test_pow_double (tests.unit.test_values.ValuesTest)
> Test a^b with double-precision values. ... ok
> test_pow_single (tests.unit.test_values.ValuesTest)
> Test a^b with double-precision values but -d not set. ... ok
> test_repr (tests.unit.test_values.ValuesTest)
> Test representation. ... ok
> test_to_repr_errors (tests.unit.test_values.ValuesTest)
> Test to_repr() error cases. ... ok
> test_to_type_errors (tests.unit.test_values.ValuesTest)
> Test to_type() error cases. ... ok
> 
> ----------------------------------------------------------------------
> Ran 198 tests in 5.594s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" 
> --test-args=/<<PKGBUILDDIR>> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/pcbasic_2.0.4-1_unstable.log

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