Package: src:python-py-vapid
Version: 1.9.2-2
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:python-py-vapid, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
creating build/lib/py_vapid
copying py_vapid/main.py -> build/lib/py_vapid
copying py_vapid/__main__.py -> build/lib/py_vapid
copying py_vapid/utils.py -> build/lib/py_vapid
copying py_vapid/jwt.py -> build/lib/py_vapid
copying py_vapid/__init__.py -> build/lib/py_vapid
creating build/lib/py_vapid/tests
copying py_vapid/tests/test_vapid.py -> build/lib/py_vapid/tests
running egg_info
creating py_vapid.egg-info
writing py_vapid.egg-info/PKG-INFO
writing dependency_links to py_vapid.egg-info/dependency_links.txt
writing entry points to py_vapid.egg-info/entry_points.txt
writing requirements to py_vapid.egg-info/requires.txt
writing top-level names to py_vapid.egg-info/top_level.txt
writing manifest file 'py_vapid.egg-info/SOURCES.txt'
reading manifest file 'py_vapid.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'py_vapid.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/py_vapid
copying build/lib/py_vapid/main.py -> build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/__main__.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/utils.py -> build/bdist.linux-x86_64/wheel/./py_vapid
creating build/bdist.linux-x86_64/wheel/py_vapid/tests
copying build/lib/py_vapid/tests/test_vapid.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid/tests
copying build/lib/py_vapid/jwt.py -> build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/__init__.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid
running install_egg_info
Copying py_vapid.egg-info to 
build/bdist.linux-x86_64/wheel/./py_vapid-1.9.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/py_vapid-1.9.2.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/.tmp-z1xo2t53/py_vapid-1.9.2-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'py_vapid/__init__.py'
adding 'py_vapid/__main__.py'
adding 'py_vapid/jwt.py'
adding 'py_vapid/main.py'
adding 'py_vapid/utils.py'
adding 'py_vapid/tests/test_vapid.py'
adding 'py_vapid-1.9.2.dist-info/licenses/LICENSE'
adding 'py_vapid-1.9.2.dist-info/METADATA'
adding 'py_vapid-1.9.2.dist-info/WHEEL'
adding 'py_vapid-1.9.2.dist-info/entry_points.txt'
adding 'py_vapid-1.9.2.dist-info/top_level.txt'
adding 'py_vapid-1.9.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built py_vapid-1.9.2-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
running egg_info
writing py_vapid.egg-info/PKG-INFO
writing dependency_links to py_vapid.egg-info/dependency_links.txt
writing entry points to py_vapid.egg-info/entry_points.txt
writing requirements to py_vapid.egg-info/requires.txt
writing top-level names to py_vapid.egg-info/top_level.txt
reading manifest file 'py_vapid.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'py_vapid.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/py_vapid
copying build/lib/py_vapid/main.py -> build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/__main__.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/utils.py -> build/bdist.linux-x86_64/wheel/./py_vapid
creating build/bdist.linux-x86_64/wheel/py_vapid/tests
copying build/lib/py_vapid/tests/test_vapid.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid/tests
copying build/lib/py_vapid/jwt.py -> build/bdist.linux-x86_64/wheel/./py_vapid
copying build/lib/py_vapid/__init__.py -> 
build/bdist.linux-x86_64/wheel/./py_vapid
running install_egg_info
Copying py_vapid.egg-info to 
build/bdist.linux-x86_64/wheel/./py_vapid-1.9.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/py_vapid-1.9.2.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-efboc0kn/py_vapid-1.9.2-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'py_vapid/__init__.py'
adding 'py_vapid/__main__.py'
adding 'py_vapid/jwt.py'
adding 'py_vapid/main.py'
adding 'py_vapid/utils.py'
adding 'py_vapid/tests/test_vapid.py'
adding 'py_vapid-1.9.2.dist-info/licenses/LICENSE'
adding 'py_vapid-1.9.2.dist-info/METADATA'
adding 'py_vapid-1.9.2.dist-info/WHEEL'
adding 'py_vapid-1.9.2.dist-info/entry_points.txt'
adding 'py_vapid-1.9.2.dist-info/top_level.txt'
adding 'py_vapid-1.9.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built py_vapid-1.9.2-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 18 items

py_vapid/tests/test_vapid.py ....F.F.....FF....                          [100%]

=================================== FAILURES ===================================
__________________________ VapidTestCase.test_gen_key __________________________

self = <test_vapid.VapidTestCase testMethod=test_gen_key>

    def test_gen_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7f00ece71370>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
___________________________ VapidTestCase.test_init ____________________________

self = <test_vapid.VapidTestCase testMethod=test_init>

    def test_init(self):
        v1 = Vapid01.from_file("/tmp/private")
        self.check_keys(v1)
        v2 = Vapid01.from_pem(TEST_KEY_PRIVATE_PEM.encode())
        self.check_keys(v2)
        v3 = Vapid01.from_der(TEST_KEY_PRIVATE_DER.encode())
        self.check_keys(v3)
        v4 = Vapid01.from_file("/tmp/private.der")
        self.check_keys(v4)
        no_exist = '/tmp/not_exist'
>       Vapid01.from_file(no_exist)

py_vapid/tests/test_vapid.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
py_vapid/__init__.py:118: in from_file
    vapid.generate_keys()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7f00ecee6990>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
______________________ VapidTestCase.test_same_public_key ______________________

self = <test_vapid.VapidTestCase testMethod=test_same_public_key>

    def test_same_public_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:118: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7f00eda968d0>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
_________________________ VapidTestCase.test_save_key __________________________

self = <test_vapid.VapidTestCase testMethod=test_save_key>

    def test_save_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:112: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7f00ecec3a10>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
=========================== short test summary info ============================
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_gen_key - TypeError:...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_init - TypeError: cu...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_same_public_key - Ty...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_save_key - TypeError...
========================= 4 failed, 14 passed in 0.08s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 18 items

py_vapid/tests/test_vapid.py ....F.F.....FF....                          [100%]

=================================== FAILURES ===================================
__________________________ VapidTestCase.test_gen_key __________________________

self = <test_vapid.VapidTestCase testMethod=test_gen_key>

    def test_gen_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7fccf85559d0>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
___________________________ VapidTestCase.test_init ____________________________

self = <test_vapid.VapidTestCase testMethod=test_init>

    def test_init(self):
        v1 = Vapid01.from_file("/tmp/private")
        self.check_keys(v1)
        v2 = Vapid01.from_pem(TEST_KEY_PRIVATE_PEM.encode())
        self.check_keys(v2)
        v3 = Vapid01.from_der(TEST_KEY_PRIVATE_DER.encode())
        self.check_keys(v3)
        v4 = Vapid01.from_file("/tmp/private.der")
        self.check_keys(v4)
        no_exist = '/tmp/not_exist'
>       Vapid01.from_file(no_exist)

py_vapid/tests/test_vapid.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
py_vapid/__init__.py:118: in from_file
    vapid.generate_keys()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7fccf8498410>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
______________________ VapidTestCase.test_same_public_key ______________________

self = <test_vapid.VapidTestCase testMethod=test_same_public_key>

    def test_same_public_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:118: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7fccf8435490>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
_________________________ VapidTestCase.test_save_key __________________________

self = <test_vapid.VapidTestCase testMethod=test_save_key>

    def test_save_key(self):
        v = Vapid01()
>       v.generate_keys()

py_vapid/tests/test_vapid.py:112: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <py_vapid.Vapid01 object at 0x7fccf84c83c0>

    def generate_keys(self):
        """Generate a valid ECDSA Key Pair."""
>       self.private_key = ec.generate_private_key(ec.SECP256R1,
                                                   default_backend())
E       TypeError: curve must be an EllipticCurve instance

py_vapid/__init__.py:200: TypeError
=========================== short test summary info ============================
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_gen_key - TypeError:...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_init - TypeError: cu...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_same_public_key - Ty...
FAILED py_vapid/tests/test_vapid.py::VapidTestCase::test_save_key - TypeError...
========================= 4 failed, 14 passed in 0.07s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to