Source: xphyle
Version: 4.4.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lu...@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.

Reply via email to