Package: src:python-gmpy2
Version: 2.2.1-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/202510/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
# Remove files generated by the build.
rm -rf docs/_build
rm -rf test/__pycache__
rm -rf build
rm -rf gmpy2.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 --with python3,sphinxdoc

[... snipped ...]

writing output... [ 94%] tutorial
writing output... [100%] win_build

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_bits:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_clear:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.xmpz.iter_set:1: WARNING: py:class reference target not found: 
collections.abc.Iterator [ref.class]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_bpsw_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_euler_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_extra_strong_lucas_prp:1: 
WARNING: py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_fermat_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_fibonacci_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_lucas_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_selfridge_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_bpsw_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_lucas_prp:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_prp:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_strong_selfridge_prp:1: 
WARNING: py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_infinite:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_integer:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_integer:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_nan:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_nan:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_regular:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_regular:1: WARNING: py:obj reference target not found: 
False [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_signed:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.context.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.allow_release_gil:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.overflow:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.rational_division:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_erange:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_invalid:7: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_overflow:1: WARNING: 
py:obj reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_overflow:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_underflow:1: WARNING: 
py:obj reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.trap_underflow:1: WARNING: 
py:obj reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.context.underflow:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:151: WARNING: py:mod reference target not 
found: numbers [ref.mod]
/<<PKGBUILDDIR>>/docs/history.rst:200: WARNING: py:mod reference target not 
found: numbers [ref.mod]
/<<PKGBUILDDIR>>/docs/history.rst:268: WARNING: py:func reference target not 
found: sys.getsizeof [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:285: WARNING: py:obj reference target not 
found: fractions.Fraction [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:287: WARNING: py:obj reference target not 
found: decimal.Decimal [ref.obj]
/<<PKGBUILDDIR>>/docs/history.rst:307: WARNING: py:func reference target not 
found: pow [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:323: WARNING: py:meth reference target not 
found: int.bit_length [ref.meth]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.ceil [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.floor [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:346: WARNING: py:func reference target not 
found: math.trunc [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:369: WARNING: py:func reference target not 
found: min [ref.func]
/<<PKGBUILDDIR>>/docs/history.rst:369: WARNING: py:func reference target not 
found: max [ref.func]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_infinite:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_nan:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_nan:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.mpc.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_nan:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_nan:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_zero:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr:4: WARNING: py:obj reference target not found: float.fromhex 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.as_integer_ratio:1: WARNING: py:obj reference target not found: 
float.as_integer_ratio [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_finite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_infinite:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_integer:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_integer:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_nan:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_nan:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_regular:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_regular:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_signed:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpfr.is_zero:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_finite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_infinite:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_regular:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_regular:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_signed:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_unordered:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.set_sign:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.can_round:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq:1: WARNING: py:obj reference target not found: numbers.Rational 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq:1: WARNING: py:obj reference target not found: fractions.Fraction 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpq.from_decimal:1: WARNING: py:obj reference target not found: 
decimal.Decimal [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.from_bytes:9: WARNING: py:obj reference target not found: 
sys.byteorder [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_congruent:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_congruent:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_divisible:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_divisible:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_even:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_even:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_odd:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_odd:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_power:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_power:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_prime:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_prime:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_square:1: WARNING: py:obj reference target not found: True 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.is_square:1: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.to_bytes:7: WARNING: py:obj reference target not found: 
sys.byteorder [ref.obj]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build/gmpy2/__init__.py:docstring 
of gmpy2.mpz.to_bytes:13: WARNING: py:obj reference target not found: False 
[ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.iroot:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_congruent:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_congruent:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_divisible:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_divisible:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_even:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_even:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_odd:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_odd:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_power:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_power:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_prime:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_prime:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_square:1: WARNING: py:obj 
reference target not found: True [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.is_square:1: WARNING: py:obj 
reference target not found: False [ref.obj]
/<<PKGBUILDDIR>>/docs/docstring of gmpy2.gmpy2.powmod:1: WARNING: py:obj 
reference target not found: pow [ref.obj]
/<<PKGBUILDDIR>>/docs/overview.rst:6: WARNING: py:obj reference target not 
found: fractions.Fraction [ref.obj]
/<<PKGBUILDDIR>>/docs/tutorial.rst:120: WARNING: unknown keyword: 'with' 
[ref.keyword]
/<<PKGBUILDDIR>>/docs/tutorial.rst:149: WARNING: py:meth reference target not 
found: str.format [ref.meth]
generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 132 warnings.

The HTML pages are in _build/html.

Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build; 
python3.13 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.13.8, pytest-8.4.2, pluggy-1.6.0

  Mutliple-precision library:     GMP 6.3.0
  Floating-point library:         MPFR 4.2.2
  Complex library:                MPC 1.3.1

rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build
configfile: pyproject.toml
plugins: hypothesis-6.140.2, typeguard-4.4.4
collected 346 items

test/test_consts.py ....                                                 [  1%]
test/test_context.py ..........                                          [  4%]
test/test_functions.py ................................................. [ 18%]
........................................................................ [ 39%]
..................                                                       [ 44%]
test/test_generic.py .......                                             [ 46%]
test/test_misc.py ..                                                     [ 46%]
test/test_mpc.py ...................                                     [ 52%]
test/test_mpfr.py ...........s....................                       [ 61%]
test/test_mpq.py ................................                        [ 70%]
test/test_mpz.py .F..................................................... [ 86%]
...........................                                              [ 94%]
test/test_xmpz.py ...................                                    [100%]

=================================== FAILURES ===================================
______________________________ test_mpz_to_bytes _______________________________

x = -1, length = 0, byteorder = 'big', signed = True

    @settings(max_examples=1000)
    @given(integers(), integers(min_value=0, max_value=10000),
           sampled_from(['big', 'little']), booleans())
    @example(0, 0, 'big', False)
    @example(0, 0, 'little', False)
    @example(0, 1, 'big', False)
    @example(128, 1, 'big', True)
    @example(128, 1, 'little', True)
    @example(-129, 1, 'big', True)
    @example(-129, 1, 'little', True)
    @example(-1, 0, 'big', True)
    @example(-2, 0, 'big', True)
    @example(-2, 0, 'little', True)
    @example(42, 1, 'big', False)
    @example(42, 1, 'little', False)
    @example(42, 3, 'big', False)
    @example(42, 3, 'little', False)
    @example(1000, 2, 'big', False)
    @example(1000, 4, 'big', False)
    @example(-2049, 1, 'big', True)
    @example(-65281, 3, 'big', True)
    @example(-65281, 3, 'little', True)
    def test_mpz_to_bytes(x, length, byteorder, signed):
        try:
>           rx = x.to_bytes(length, byteorder, signed=signed)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           OverflowError: int too big to convert

test/test_mpz.py:71: OverflowError

During handling of the above exception, another exception occurred:

    @settings(max_examples=1000)
>   @given(integers(), integers(min_value=0, max_value=10000),
                   ^^^
           sampled_from(['big', 'little']), booleans())

test/test_mpz.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/hypothesis/core.py:1613: in _raise_to_user
    raise the_error_hypothesis_found
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

x = -1, length = 0, byteorder = 'big', signed = True

    @settings(max_examples=1000)
    @given(integers(), integers(min_value=0, max_value=10000),
           sampled_from(['big', 'little']), booleans())
    @example(0, 0, 'big', False)
    @example(0, 0, 'little', False)
    @example(0, 1, 'big', False)
    @example(128, 1, 'big', True)
    @example(128, 1, 'little', True)
    @example(-129, 1, 'big', True)
    @example(-129, 1, 'little', True)
    @example(-1, 0, 'big', True)
    @example(-2, 0, 'big', True)
    @example(-2, 0, 'little', True)
    @example(42, 1, 'big', False)
    @example(42, 1, 'little', False)
    @example(42, 3, 'big', False)
    @example(42, 3, 'little', False)
    @example(1000, 2, 'big', False)
    @example(1000, 4, 'big', False)
    @example(-2049, 1, 'big', True)
    @example(-65281, 3, 'big', True)
    @example(-65281, 3, 'little', True)
    def test_mpz_to_bytes(x, length, byteorder, signed):
        try:
            rx = x.to_bytes(length, byteorder, signed=signed)
        except OverflowError:
>           with raises(OverflowError):
                 ^^^^^^^^^^^^^^^^^^^^^
E           Failed: DID NOT RAISE <class 'OverflowError'>
E           Falsifying explicit example: test_mpz_to_bytes(
E               x=-1,
E               length=0,
E               byteorder='big',
E               signed=True,
E           )

test/test_mpz.py:73: Failed
============================= slowest 10 durations =============================
0.69s call     test/test_mpq.py::test_mpq_hash
0.69s call     test/test_mpz.py::test_mpz_from_bytes
0.56s call     test/test_mpz.py::test_mpz_is_probab_prime
0.33s call     test/test_mpc.py::test_mpc_hash
0.32s call     test/test_mpz.py::test_mpz_arithmetics
0.31s call     test/test_mpq.py::test_mpq_to_from_binary
0.31s call     test/test_mpz.py::test_mpz_pack_unpack_bulk
0.29s call     test/test_mpz.py::test_mpz_hash
0.26s call     test/test_mpfr.py::test_mpfr_hash
0.21s call     test/test_xmpz.py::test_xmpz_to_from_binary
=========================== short test summary info ============================
FAILED test/test_mpz.py::test_mpz_to_bytes - Failed: DID NOT RAISE <class 'Ov...
=================== 1 failed, 344 passed, 1 skipped in 5.90s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build; python3.13 -m pytest test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to