[Debian-astro-maintainers] Bug#1052884: drms: FTBFS: E FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/CITATION.rst'

Lucas Nussbaum lucas at debian.org
Tue Sep 26 14:32:34 BST 2023


Source: drms
Version: 0.6.4-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py config 
> /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)
> WARNING: The wheel package is not available.
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> /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)
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_kis_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_series_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_query.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_export.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_to_datetime.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_email.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> running egg_info
> creating drms.egg-info
> writing drms.egg-info/PKG-INFO
> writing dependency_links to drms.egg-info/dependency_links.txt
> writing entry points to drms.egg-info/entry_points.txt
> writing requirements to drms.egg-info/requires.txt
> writing top-level names to drms.egg-info/top_level.txt
> writing manifest file 'drms.egg-info/SOURCES.txt'
> reading manifest file 'drms.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'paper'
> no previously-included directories found matching 'drms/_dev'
> adding license file 'LICENSE.rst'
> writing manifest file 'drms.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build; python3.11 -m pytest --pyargs drms --remote-data=none
> ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests/conftest.py'.
> drms/__init__.py:49: in <module>
>     __citation__ = __bibtex__ = _get_bibtex()
> drms/__init__.py:39: in _get_bibtex
>     with open(citation_file, encoding="utf-8") as citation:
> E   FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/CITATION.rst'
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build; python3.11 -m pytest --pyargs drms --remote-data=none
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/drms_0.6.4-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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.



More information about the Debian-astro-maintainers mailing list