• Bug#1067258: xphyle: FTBFS: dh_auto_test: error: pybuild --test --test-

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:10:01 2024
    Source: xphyle
    Version: 4.4.4-2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    # Somehow use_scm_version=False breaks setup.py
    sed -i~ '/use_scm_version/d' setup.py
    dh_auto_configure
    pybuild --configure -i python{version} -p "3.12 3.11"
    I: pybuild base:305: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    I: pybuild base:305: python3.11 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build -O--buildsystem=pybuild
    pybuild --build -i python{version} -p "3.12 3.11"
    I: pybuild base:305: /usr/bin/python3.12 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/formats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/progress.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    copying xphyle/paths.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle
    I: pybuild base:305: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/formats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/progress.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    copying xphyle/paths.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle
    dh_auto_test -O--buildsystem=pybuild
    pybuild --test --test-pytest -i python{version} -p "3.12 3.11"
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build; python3.12 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/tests configfile: pytest.ini
    collected 147 items

    tests/test_formats.py .s.....s....sss..........s....... [ 22%]
    tests/test_paths.py .................................... [ 46%]
    tests/test_performance.py s. [ 48%]
    tests/test_progress.py ... [ 50%]
    tests/test_types.py ..... [ 53%]
    tests/test_urls.py .... [ 56%]
    tests/test_utils.py ...................................... [ 82%]
    tests/test_xphyle.py .........................s [100%]

    =============================== warnings summary ===============================
    xphyle/__init__.py:34
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_xphyle/build/xphyle/__init__.py:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============ 139 passed, 8 skipped, 1 warning in 322.91s (0:05:22) =============
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build; python3.11 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/tests configfile: pytest.ini
    collected 147 items

    tests/test_formats.py .s.....s....sss..........s....... [ 22%]
    tests/test_paths.py .................................... [ 46%]
    tests/test_performance.py s. [ 48%]
    tests/test_progress.py ... [ 50%]
    tests/test_types.py ..... [ 53%]
    tests/test_urls.py .... [ 56%]
    tests/test_utils.py ...................................... [ 82%]
    tests/test_xphyle.py ....................F....s [100%]

    =================================== FAILURES ===================================
    _________________________ XphyleTests.test_xopen_file __________________________

    self = <tests.test_xphyle.XphyleTests testMethod=test_xopen_file>

    def test_xopen_file(self):
    with self.assertRaises(IOError):
    xopen("foobar", "r")
    path = self.root.make_file(suffix=".gz")
    with xopen(path, "rU", context_wrapper=True) as i:

    tests/test_xphyle.py:197:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    xphyle/__init__.py:191: in __exit__
    self.close()
    xphyle/__init__.py:241: in close
    self._close()
    xphyle/__init__.py:248: in _close
    self._fileobj.close()
    xphyle/formats.py:188: in close
    self._raise_if_error()
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = <xphyle.formats.SystemReader object at 0x7f39c5e4fdd0>

    def _raise_if_error(self) -> None:
    """Raise EOFError if process is not running anymore and the
    exit code is nonzero.
    """
    retcode = self.process.poll()
    if retcode is not None and retcode != 0: # pragma: no-cover
    raise EOFError(
    f"{self.executable_name} process returned non-zero exit code "
    f"{retcode}. Is the input file truncated or corrupt?"
    )
    E EOFError: gzip process returned non-zero exit code 1. Is the input file truncated or corrupt?

    xphyle/formats.py:201: EOFError
    ----------------------------- Captured stderr call -----------------------------

    gzip: /tmp/tmpjbg1rfwk/mzmu8lha.gz: unexpected end of file =============================== warnings summary ===============================
    xphyle/__init__.py:34
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build/xphyle/__init__.py:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED tests/test_xphyle.py::XphyleTests::test_xopen_file - EOFError: gzip pr...
    ======= 1 failed, 138 passed, 8 skipped, 1 warning in 309.22s (0:05:09) ========
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_xphyle/build; python3.11 -m pytest tests
    rm -fr -- /tmp/dh-xdg-rundir-j6wgrBsy
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/xphyle_4.4.4-2_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Apr 18 11:30:03 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 18 Apr 2024 09:23:38 +0000
    with message-id <E1rxNzW-000uij-Ve@fasolo.debian.org>
    and subject line Bug#1067258: fixed in xphyle 4.4.4-3
    has caused the Debian Bug report #1067258,
    regarding xphyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    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 owner@bugs.debian.org
    immediately.)


    --
    1067258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067258
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 20 Mar 2024 21:06:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 42; hammy, 150; neutral, 385; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.o