Source: pyvo
Version: 1.2.1-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package pyvo
> dpkg-buildpackage: info: source version 1.2.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ole Streicher <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:161: 
> AstropyDeprecationWarning: The package argument to generate_version_py has 
> been deprecated and will be removed in future. Specify the package name in 
> setup.cfg instead
>   warnings.warn('The package argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:166: 
> AstropyDeprecationWarning: The version argument to generate_version_py has 
> been deprecated and will be removed in future. Specify the version number in 
> setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:171: 
> AstropyDeprecationWarning: The release argument to generate_version_py has 
> been deprecated and will be removed in future. We now use the presence of the 
> "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:186: 
> AstropyDeprecationWarning: Specifying the package name using the 
> "package_name" option in setup.cfg is deprecated - use the "name" option 
> instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:239: 
> AstropyDeprecationWarning: The packagename argument to generate_version_py 
> has been deprecated and will be removed in future. Specify the package name 
> in setup.cfg instead
>   warnings.warn('The packagename argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:244: 
> AstropyDeprecationWarning: The version argument to generate_version_py has 
> been deprecated and will be removed in future. Specify the version number in 
> setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:249: 
> AstropyDeprecationWarning: The release argument to generate_version_py has 
> been deprecated and will be removed in future. We now use the presence of the 
> "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:264: 
> AstropyDeprecationWarning: Specifying the package name using the 
> "package_name" option in setup.cfg is deprecated - use the "name" option 
> instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:411: 
> SetuptoolsDeprecationWarning: Deprecated API usage.
> !!
> 
>         
> ********************************************************************************
>         As setuptools moves its configuration towards `pyproject.toml`,
>         `setuptools.config.read_configuration` became deprecated.
> 
>         For the time being, you can use the `setuptools.config.setupcfg` 
> module
>         to access a backward compatible API, but this module is provisional
>         and might be removed in the future.
> 
>         To read project metadata, consider using
>         ``build.util.project_wheel_metadata`` 
> (https://pypi.org/project/build/).
>         For simple scenarios, you can also try parsing the file directly
>         with the help of ``configparser``.
>         
> ********************************************************************************
> 
> !!
>   conf = read_configuration(setup_cfg)
> /usr/lib/python3/dist-packages/setuptools/dist.py:945: 
> DistDeprecationWarning: use_2to3 is ignored.
>   ep.load()(self, ep.name, value)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyvo/build' (and everything 
> under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.11' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building pyvo using existing ./pyvo_1.2.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: file pyvo-1.2.1/pyvo.egg-info/SOURCES.txt has no final 
> newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  pyvo-1.2.1/pyvo.egg-info/PKG-INFO
>  pyvo-1.2.1/pyvo.egg-info/SOURCES.txt
>  pyvo-1.2.1/pyvo.egg-info/dependency_links.txt
>  pyvo-1.2.1/pyvo.egg-info/not-zip-safe
>  pyvo-1.2.1/pyvo.egg-info/requires.txt
>  pyvo-1.2.1/pyvo.egg-info/top_level.txt
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/pyvo_1.2.1-1.diff.6p5bmZ
> dpkg-source: info: Hint: make sure the version in debian/changelog matches 
> the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source 
> --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/pyvo_1.2.1-1_unstable.log

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