Your message dated Sun, 12 Jul 2026 23:19:06 +0200
with message-id <[email protected]>
and subject line python-ecdsa: FTBFS in trixie
has caused the Debian Bug report #1137040,
regarding python-ecdsa: FTBFS in trixie
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1137040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-ecdsa
Version: 0.19.1-1
Severity: serious
Control: fixed -1 0.19.2-1
Tags: ftbfs trixie

Dear maintainer:

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

[ Note: The bug is marked as fixed with the version in forky/sid, but
  packages in trixie must still build in trixie ].

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/trixie/

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-ecdsa, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
============================= test session starts ==============================
platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: hypothesis-6.130.5, typeguard-4.4.2
collected 2020 items

ecdsa/test_curves.py ................................................... [  2%]
........................................................................ [  6%]
........                                                                 [  6%]
ecdsa/test_der.py ...................................................... [  9%]
....................................                                     [ 10%]
ecdsa/test_ecdh.py .................ss.................................. [ 13%]
...............ss.......                                                 [ 14%]
ecdsa/test_ecdsa.py .................................................... [ 17%]
.....                                                                    [ 17%]
ecdsa/test_eddsa.py .................................................... [ 20%]
...................................                                      [ 21%]
ecdsa/test_ellipticcurve.py ..........................................   [ 23%]
ecdsa/test_jacobi.py ................................................... [ 26%]
..........................                                               [ 27%]
ecdsa/test_keys.py ..................................................... [ 30%]
........................................................................ [ 33%]
....................................................F                    [ 36%]
ecdsa/test_malformed_sigs.py ........................................... [ 38%]
........................................................................ [ 42%]
........................................................................ [ 45%]
..................                                                       [ 46%]
ecdsa/test_numbertheory.py ............................................. [ 48%]
........................................................................ [ 52%]
........................................................................ [ 56%]
....................................................................     [ 59%]
ecdsa/test_pyecdsa.py .................................................. [ 61%]
........................................................................ [ 65%]
........................................................................ [ 69%]
........................................................................ [ 72%]
........................................................................ [ 76%]
........................................................................ [ 79%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
........................................................................ [ 94%]
........................................................................ [ 97%]
..............................                                           [ 99%]
ecdsa/test_sha3.py ......s............                                   [100%]

=================================== FAILURES ===================================
____________________ test_SigningKey_from_pem_pkcs8v2_EdDSA ____________________

    def test_SigningKey_from_pem_pkcs8v2_EdDSA():
        pem = """-----BEGIN PRIVATE KEY-----
        MFMCAQEwBQYDK2VwBCIEICc2F2ag1n1QP0jY+g9qWx5sDkx0s/HdNi3cSRHw+zsI
        oSMDIQA+HQ2xCif8a/LMWR2m5HaCm5I2pKe/cc8OiRANMHxjKQ==
        -----END PRIVATE KEY-----"""
    
>       sk = SigningKey.from_pem(pem)

ecdsa/test_keys.py:1137: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ecdsa/keys.py:976: in from_pem
    der.unpem(string[private_key_index:]),
ecdsa/der.py:469: in unpem
    return base64.b64decode(d)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

s = 
b'MFMCAQEwBQYDK2VwBCIEICc2F2ag1n1QP0jY+g9qWx5sDkx0s/HdNi3cSRHw+zsIoSMDIQA+HQ2xCif8a/LMWR2m5HaCm5I2pKe/cc8OiRANMHxjKQ==-----END
 PRIVATE KEY-----'
altchars = None, validate = False

    def b64decode(s, altchars=None, validate=False):
        """Decode the Base64 encoded bytes-like object or ASCII string s.
    
        Optional altchars must be a bytes-like object or ASCII string of length 
2
        which specifies the alternative alphabet used instead of the '+' and '/'
        characters.
    
        The result is returned as a bytes object.  A binascii.Error is raised if
        s is incorrectly padded.
    
        If validate is False (the default), characters that are neither in the
        normal base-64 alphabet nor the alternative alphabet are discarded prior
        to the padding check.  If validate is True, these non-alphabet 
characters
        in the input result in a binascii.Error.
        For more information about the strict base64 check, see:
    
        https://docs.python.org/3.11/library/binascii.html#binascii.a2b_base64
        """
        s = _bytes_from_decode_data(s)
        if altchars is not None:
            altchars = _bytes_from_decode_data(altchars)
            assert len(altchars) == 2, repr(altchars)
            s = s.translate(bytes.maketrans(altchars, b'+/'))
>       return binascii.a2b_base64(s, strict_mode=validate)
E       binascii.Error: Incorrect padding

/usr/lib/python3.13/base64.py:88: Error
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_ecdsa/build/ecdsa/test_malformed_sigs.py::test_fuzzed_der_signatures
  /usr/lib/python3/dist-packages/hypothesis/strategies/_internal/lazy.py:169: 
HypothesisWarning: Generating overly large repr. This is an expensive 
operation, and with a length of 97 kB is unlikely to be useful. Use -Wignore to 
ignore the warning, or -Werror to get a traceback.
    self.__representation = repr_call(

.pybuild/cpython3_3.13_ecdsa/build/ecdsa/test_malformed_sigs.py::test_fuzzed_string_signatures
  /usr/lib/python3/dist-packages/hypothesis/strategies/_internal/lazy.py:169: 
HypothesisWarning: Generating overly large repr. This is an expensive 
operation, and with a length of 94 kB is unlikely to be useful. Use -Wignore to 
ignore the warning, or -Werror to get a traceback.
    self.__representation = repr_call(

.pybuild/cpython3_3.13_ecdsa/build/ecdsa/test_numbertheory.py::TestNumbertheory::test_gcd_with_com_factor
  /usr/lib/python3.13/contextlib.py:148: HypothesisDeprecationWarning: Do not 
use the `random` module inside strategies; instead consider  `st.randoms()`, 
`st.sampled_from()`, etc.  from numbers=st_comp_with_com_fac()
    next(self.gen)

.pybuild/cpython3_3.13_ecdsa/build/ecdsa/test_numbertheory.py::TestNumbertheory::test_gcd_with_uncom_factor
  /usr/lib/python3.13/contextlib.py:148: HypothesisDeprecationWarning: Do not 
use the `random` module inside strategies; instead consider  `st.randoms()`, 
`st.sampled_from()`, etc.  from numbers=st_comp_no_com_fac()
    next(self.gen)

.pybuild/cpython3_3.13_ecdsa/build/ecdsa/test_numbertheory.py::TestNumbertheory::test_square_root_mod_prime
  /usr/lib/python3.13/contextlib.py:148: HypothesisDeprecationWarning: Do not 
use the `random` module inside strategies; instead consider  `st.randoms()`, 
`st.sampled_from()`, etc.  from vals=st_num_square_prime()
    next(self.gen)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED ecdsa/test_keys.py::test_SigningKey_from_pem_pkcs8v2_EdDSA - binascii....
============ 1 failed, 2014 passed, 5 skipped, 5 warnings in 8.12s =============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ecdsa/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Version: python-ecdsa/0.19.1-1+deb13u1

--- End Message ---

Reply via email to