Package: src:pyjvcprojector
Version: 1.1.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

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 cannot 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 add an affects on src:pyjvcprojector, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf pyjvcprojector.egg-info/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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

[... snipped ...]


    @pytest.mark.asyncio
    async def test_get_state(dev: AsyncMock):
        """Test get_state succeeds."""
        p = JvcProjector(IP)
>       await p.connect()

tests/test_projector.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fe4ca5897f0>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
=========================== short test summary info ============================
FAILED tests/test_projector.py::test_connect - AttributeError: 'Channel' obje...
FAILED tests/test_projector.py::test_connect_host - AttributeError: 'Channel'...
FAILED tests/test_projector.py::test_unknown_model[dev0] - AttributeError: 'C...
FAILED tests/test_projector.py::test_unknown_mac[dev0] - AttributeError: 'Cha...
FAILED tests/test_projector.py::test_get_info - AttributeError: 'Channel' obj...
FAILED tests/test_projector.py::test_get_state - AttributeError: 'Channel' ob...
========================= 6 failed, 11 passed in 4.14s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyjvcprojector/build; python3.14 -m 
pytest tests
I: pybuild base:384: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyjvcprojector/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyjvcprojector/build
configfile: pyproject.toml
plugins: asyncio-1.2.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 17 items

tests/test_device.py ..........                                          [ 58%]
tests/test_projector.py .FFFFFF                                          [100%]

=================================== FAILURES ===================================
_________________________________ test_connect _________________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518082188960'>

    @pytest.mark.asyncio
    async def test_connect(dev: AsyncMock):
        """Test connect succeeds."""
        p = JvcProjector(IP, port=PORT)
>       await p.connect()

tests/test_projector.py:32: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea624d70>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
______________________________ test_connect_host _______________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518082185936'>

    @pytest.mark.asyncio
    async def test_connect_host(dev: AsyncMock):
        """Test connect succeeds."""
        p = JvcProjector(HOST, port=PORT)
>       await p.connect()

tests/test_projector.py:42: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea6a0550>, host = 'localhost'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
___________________________ test_unknown_model[dev0] ___________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518082375904'>

    @pytest.mark.asyncio
    @pytest.mark.parametrize("dev", [{command.MODEL: None}], indirect=True)
    async def test_unknown_model(dev: AsyncMock):
        """Test projector with unknown model succeeds."""
        p = JvcProjector(IP)
>       await p.connect()

tests/test_projector.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea6a07d0>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
____________________________ test_unknown_mac[dev0] ____________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518084864256'>

    @pytest.mark.asyncio
    @pytest.mark.parametrize("dev", [{command.MAC: None}], indirect=True)
    async def test_unknown_mac(dev: AsyncMock):
        """Test projector with unknown mac uses model succeeds."""
        p = JvcProjector(IP)
>       await p.connect()

tests/test_projector.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea700510>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
________________________________ test_get_info _________________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518084272416'>

    @pytest.mark.asyncio
    async def test_get_info(dev: AsyncMock):
        """Test get_info succeeds."""
        p = JvcProjector(IP)
>       await p.connect()

tests/test_projector.py:73: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea843360>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
________________________________ test_get_state ________________________________

dev = <NonCallableMagicMock name='JvcDevice()' spec='JvcDevice' 
id='140518084270736'>

    @pytest.mark.asyncio
    async def test_get_state(dev: AsyncMock):
        """Test get_state succeeds."""
        p = JvcProjector(IP)
>       await p.connect()

tests/test_projector.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jvcprojector/projector.py:86: in connect
    self._ip = await resolve(self._host)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
jvcprojector/connection.py:71: in resolve
    res = await aiodns.DNSResolver().gethostbyname(host, socket.AF_INET)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aiodns.DNSResolver object at 0x7fccea74b770>, host = '127.0.0.1'
family = <AddressFamily.AF_INET: 2>

    def gethostbyname(
        self, host: str, family: socket.AddressFamily
    ) -> asyncio.Future['pycares.ares_host_result']:
        fut: asyncio.Future[Any]
        fut, cb = self._get_future_callback()
>       self._channel.gethostbyname(host, family, cb)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AttributeError: 'Channel' object has no attribute 'gethostbyname'. Did 
you mean: 'gethostbyaddr'?

/usr/lib/python3/dist-packages/aiodns/__init__.py:229: AttributeError
------------------------------ Captured log setup ------------------------------
DEBUG    asyncio:selector_events.py:64 Using selector: EpollSelector
=========================== short test summary info ============================
FAILED tests/test_projector.py::test_connect - AttributeError: 'Channel' obje...
FAILED tests/test_projector.py::test_connect_host - AttributeError: 'Channel'...
FAILED tests/test_projector.py::test_unknown_model[dev0] - AttributeError: 'C...
FAILED tests/test_projector.py::test_unknown_mac[dev0] - AttributeError: 'Cha...
FAILED tests/test_projector.py::test_get_info - AttributeError: 'Channel' obj...
FAILED tests/test_projector.py::test_get_state - AttributeError: 'Channel' ob...
========================= 6 failed, 11 passed in 4.12s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyjvcprojector/build; python3.13 -m 
pytest tests
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to