Package: src:loguru
Version: 0.7.3-3
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:loguru, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p "3.14 3.13"
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-loguru.substvars debian/files
        rm -fr -- debian/python3-loguru/ debian/tmp/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 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
        pybuild --configure -i python{version} -p "3.14 3.13"
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.14 3.13"
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_loguru  
* Building wheel...
Successfully built loguru-0.7.3-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_loguru  
* Building wheel...
Successfully built loguru-0.7.3-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p "3.14 3.13"
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build
configfile: pyproject.toml
plugins: cov-5.0.0, mypy-plugins-3.2.0
collected 1592 items

tests/test_activation.py .................................               [  2%]
tests/test_add_option_backtrace.py .                                     [  2%]
tests/test_add_option_catch.py ...........                               [  2%]
tests/test_add_option_colorize.py .................                      [  3%]
tests/test_add_option_context.py ...........                             [  4%]
tests/test_add_option_diagnose.py .                                      [  4%]
tests/test_add_option_enqueue.py ...............                         [  5%]
tests/test_add_option_filter.py ........................................ [  8%]
.............................                                            [  9%]
tests/test_add_option_format.py ....................                     [ 11%]
tests/test_add_option_kwargs.py ..s.....                                 [ 11%]
tests/test_add_option_level.py ..........                                [ 12%]
tests/test_add_option_serialize.py .........                             [ 12%]
tests/test_add_sinks.py ................................................ [ 15%]
....                                                                     [ 16%]
tests/test_ansimarkup_basic.py ......................................... [ 18%]
......................................................                   [ 22%]
tests/test_ansimarkup_extended.py ...................................... [ 24%]
......................................................                   [ 27%]
tests/test_bind.py .........                                             [ 28%]
tests/test_colorama.py ssss..............sssss...............sssssssssss [ 31%]
ssss                                                                     [ 31%]
tests/test_configure.py ................                                 [ 32%]
tests/test_contextualize.py ..............                               [ 33%]
tests/test_coroutine_sink.py .................................           [ 35%]
tests/test_datetime.py .........................................         [ 38%]
tests/test_deepcopy.py ....                                              [ 38%]
tests/test_defaults.py ..............                                    [ 39%]
tests/test_exceptions_catch.py ......................................... [ 42%]
.................                                                        [ 43%]
tests/test_exceptions_formatting.py .................................... [ 45%]
............................................F............s...            [ 49%]
tests/test_filesink_compression.py ..................................... [ 51%]
.................                                                        [ 52%]
tests/test_filesink_delay.py ..........                                  [ 53%]
tests/test_filesink_permissions.py ..........                            [ 53%]
tests/test_filesink_retention.py ....................................... [ 56%]
..........                                                               [ 56%]
tests/test_filesink_rotation.py ........................................ [ 59%]
................................................ss....sss............... [ 63%]
...........................                                              [ 65%]
tests/test_filesink_watch.py ..............                              [ 66%]
tests/test_formatting.py ............................................... [ 69%]
.................................                                        [ 71%]
tests/test_get_frame.py ...                                              [ 71%]
tests/test_interception.py ............                                  [ 72%]
tests/test_levels.py ..................................................  [ 75%]
tests/test_locks.py .....                                                [ 75%]
tests/test_multiprocessing.py ............................               [ 77%]
tests/test_opt.py ...................................................... [ 81%]
........................................................................ [ 85%]
..........................                                               [ 87%]
tests/test_parse.py .........................                            [ 88%]
tests/test_patch.py ........                                             [ 89%]
tests/test_pickling.py ................................................. [ 92%]
....                                                                     [ 92%]
tests/test_propagation.py ......                                         [ 93%]
tests/test_recattr.py .........                                          [ 93%]
tests/test_remove.py ...........                                         [ 94%]
tests/test_repr.py ....................                                  [ 95%]
tests/test_standard_handler.py ...................                       [ 96%]
tests/test_threading.py .......                                          [ 97%]
tests/test_type_hinting.py .                                             [ 97%]
tests/typesafety/test_logger.yml ....................................... [ 99%]
.....                                                                    [100%]

=================================== FAILURES ===================================
__________ test_exception_modern[type_hints-minimum_python_version0] ___________

filename = 'type_hints', minimum_python_version = (3, 6)

>   ???

filename   = 'type_hints'
minimum_python_version = (3, 6)

tests/test_exceptions_formatting.py:262: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirname = 'modern', filename = 'type_hints'

    def compare_exception(dirname, filename):
        cwd = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
        python = sys.executable or "python"
        filepath = os.path.join("tests", "exceptions", "source", dirname, 
filename + ".py")
        outpath = os.path.join(cwd, "tests", "exceptions", "output", dirname, 
filename + ".txt")
    
        with subprocess.Popen(
            [python, filepath],
            shell=False,
            cwd=cwd,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            universal_newlines=True,
            env=dict(os.environ, PYTHONPATH=cwd, PYTHONIOENCODING="utf8"),
        ) as proc:
            stdout, stderr = proc.communicate()
            print(stderr, file=sys.stderr)
            assert proc.returncode == 0
            assert stdout == ""
            assert stderr != ""
    
        stderr = normalize(stderr)
    
        # generate(stderr, outpath)
    
        with open(outpath, "r") as file:
>           assert stderr == file.read()
E           AssertionError: assert '\n\x1b[33m\x...zero\x1b[0m\n' == 
'\n\x1b[33m\x...zero\x1b[0m\n'
E             
E             Skipping 1251 identical leading characters in diff, use -v to show
E             - mtyping.Union
E             + m<class 'typing.Union'>
E             ?           ++++++++            ++
E                       │   │       └ 2
E                       │   └ 1...
E             
E             ...Full output truncated (3 lines hidden), use '-vv' to show

cwd        = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build'
dirname    = 'modern'
file       = <_io.TextIOWrapper 
name='/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build/tests/exceptions/output/modern/type_hints.txt'
 mode='r' encoding='UTF-8'>
filename   = 'type_hints'
filepath   = 'tests/exceptions/source/modern/type_hints.py'
outpath    = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build/tests/exceptions/output/modern/type_hints.txt'
proc       = <Popen: returncode: 0 args: ['/usr/bin/python3.14', 
'tests/exceptions/source...>
python     = '/usr/bin/python3.14'
stderr     = '\n\x1b[33m\x1b[1mTraceback (most recent call last):\x1b[0m\n\n  
File "\x1b[32mtests/exceptions/source/modern/\x1b[0m\...x1b[1m<function foo at 
0xDEADBEEF>\x1b[0m\n\n\x1b[31m\x1b[1mZeroDivisionError\x1b[0m:\x1b[1m division 
by zero\x1b[0m\n'
stdout     = ''

tests/test_exceptions_formatting.py:118: AssertionError
----------------------------- Captured stderr call -----------------------------

Traceback (most recent call last):

  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build/tests/exceptions/source/modern/type_hints.py",
 line 23, in <module>
    main()
    └ <function main at 0x7f6ae816fed0>

  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build/tests/exceptions/source/modern/type_hints.py",
 line 19, in main
    bar: Name = 
foo(1, 2, 
3)
                └ <function foo at 0x7f6ae816fe20>

  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build/tests/exceptions/source/modern/type_hints.py",
 line 15, in foo
    def foo(a: 
int, b: 
Union[Name, float], 
c: "Name") -> T: 
1 / 0
        │   │       │  │     │             │             └ 
~T
        │   │       │  │     │             └ 3
        │   │       │  │     └ <class 'str'>
        │   │       │  └ <class 'typing.Union'>
        │   │       └ 2
        │   └ 1
        └ <function foo at 0x7f6ae816fe20>

ZeroDivisionError: division by zero

=========================== short test summary info ============================
FAILED 
tests/test_exceptions_formatting.py::test_exception_modern[type_hints-minimum_python_version0]
============ 1 failed, 1560 passed, 31 skipped in 76.27s (0:01:16) =============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_loguru/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loguru/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_loguru/build
configfile: pyproject.toml
plugins: cov-5.0.0, mypy-plugins-3.2.0
collected 1592 items

tests/test_activation.py .................................               [  2%]
tests/test_add_option_backtrace.py .                                     [  2%]
tests/test_add_option_catch.py ...........                               [  2%]
tests/test_add_option_colorize.py .................                      [  3%]
tests/test_add_option_context.py ...........                             [  4%]
tests/test_add_option_diagnose.py .                                      [  4%]
tests/test_add_option_enqueue.py ...............                         [  5%]
tests/test_add_option_filter.py ........................................ [  8%]
.............................                                            [  9%]
tests/test_add_option_format.py ....................                     [ 11%]
tests/test_add_option_kwargs.py ........                                 [ 11%]
tests/test_add_option_level.py ..........                                [ 12%]
tests/test_add_option_serialize.py .........                             [ 12%]
tests/test_add_sinks.py ................................................ [ 15%]
....                                                                     [ 16%]
tests/test_ansimarkup_basic.py ......................................... [ 18%]
......................................................                   [ 22%]
tests/test_ansimarkup_extended.py ...................................... [ 24%]
......................................................                   [ 27%]
tests/test_bind.py .........                                             [ 28%]
tests/test_colorama.py ssss..............sssss...............sssssssssss [ 31%]
ssss                                                                     [ 31%]
tests/test_configure.py ................                                 [ 32%]
tests/test_contextualize.py ..............                               [ 33%]
tests/test_coroutine_sink.py .................................           [ 35%]
tests/test_datetime.py .........................................         [ 38%]
tests/test_deepcopy.py ....                                              [ 38%]
tests/test_defaults.py ..............                                    [ 39%]
tests/test_exceptions_catch.py ......................................... [ 42%]
.................                                                        [ 43%]
tests/test_exceptions_formatting.py .................................... [ 45%]
.........................................................s...            [ 49%]
tests/test_filesink_compression.py ..................................... [ 51%]
.................                                                        [ 52%]
tests/test_filesink_delay.py ..........                                  [ 53%]
tests/test_filesink_permissions.py ..........                            [ 53%]
tests/test_filesink_retention.py ....................................... [ 56%]
..........                                                               [ 56%]
tests/test_filesink_rotation.py ........................................ [ 59%]
................................................ss....sss............... [ 63%]
...........................                                              [ 65%]
tests/test_filesink_watch.py ..............                              [ 66%]
tests/test_formatting.py ............................................... [ 69%]
.................................                                        [ 71%]
tests/test_get_frame.py ...                                              [ 71%]
tests/test_interception.py ............                                  [ 72%]
tests/test_levels.py ..................................................  [ 75%]
tests/test_locks.py .....                                                [ 75%]
tests/test_multiprocessing.py ............................               [ 77%]
tests/test_opt.py ...................................................... [ 81%]
........................................................................ [ 85%]
..........................                                               [ 87%]
tests/test_parse.py .........................                            [ 88%]
tests/test_patch.py ........                                             [ 89%]
tests/test_pickling.py ................................................. [ 92%]
....                                                                     [ 92%]
tests/test_propagation.py ......                                         [ 93%]
tests/test_recattr.py .........                                          [ 93%]
tests/test_remove.py ...........                                         [ 94%]
tests/test_repr.py ....................                                  [ 95%]
tests/test_standard_handler.py ...................                       [ 96%]
tests/test_threading.py .......                                          [ 97%]
tests/test_type_hinting.py .                                             [ 97%]
tests/typesafety/test_logger.yml ....................................... [ 99%]
.....                                                                    [100%]

================= 1562 passed, 30 skipped in 74.40s (0:01:14) ==================
        rm -fr -- /tmp/dh-xdg-rundir-1GyAuOE7
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to