Subject: Bug#1043861: astroquery: Fails to build source after successful build

From: Lucas Nussbaum <[email-masked]>
Date: Sun, 13 Aug 2023 15:17:54 +0200

Source: astroquery
Version: 0.4.6+dfsg-4
Severity: minor
Tags: trixie sid ftbfs
User: [email-masked]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email-masked]
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 astroquery
> dpkg-buildpackage: info: source version 0.4.6+dfsg-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Vincent Prat <[email-masked]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3,sphinxdoc --buildsystem=pybuild
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> I: pybuild base:275: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:81: 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/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)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astroquery/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
> rm -f astroquery/version.py
> rm -rf api
> rm -rf .cache
> rm -rf astroquery.egg-info
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: warning: upstream signing key but no upstream tarball signature
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building astroquery using existing ./astroquery_0.4.6+dfsg.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file astroquery/version.py, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alfalfa.AlfalfaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alma.AlmaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alma.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alma.utils.approximate_primary_beam_sizes.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alma.utils.footprint_to_reg.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.alma.utils.parse_frequency_support.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.astrometry_net.AstrometryNetClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.atomic.AtomicLineListClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.atomic.Transition.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.besancon.BesanconClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.besancon.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.besancon.parse_besancon_model_file.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.besancon.parse_besancon_model_string.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.cadc.CadcClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.casda.CasdaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.cds.CdsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.cds.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.cosmosim.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.cosmosim.CosmoSimClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.dace.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.dace.DaceClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.hubble.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.hubble.ESAHubbleClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.iso.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.iso.ISOClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.jwst.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.jwst.JwstClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.jwst.JwstDataHandler.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.xmm_newton.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esa.xmm_newton.XMMNewtonClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esasky.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.esasky.ESASkyClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.eso.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.eso.EsoClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.exoplanet_orbit_database.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.exoplanet_orbit_database.ExoplanetOrbitDatabaseClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.fermi.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.fermi.FermiLATClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.fermi.GetFermilatDatafile.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.gaia.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.gaia.GaiaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.gama.GAMAClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.gemini.ObservationsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.heasarc.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.heasarc.HeasarcClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.hips2fits.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.hips2fits.hips2fitsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.hitran.HitranClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.image_cutouts.first.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.image_cutouts.first.FirstClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.imcce.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.imcce.MiriadeClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.imcce.SkybotClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.IrsaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.ibe.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.ibe.IbeClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.irsa_dust.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.irsa_dust.IrsaDustClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.sha.get_file.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.sha.query.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.irsa.sha.save_file.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.ned.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.ned.NedClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.nexsci.nasa_exoplanet_archive.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ipac.nexsci.nasa_exoplanet_archive.NasaExoplanetArchiveClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplhorizons.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplhorizons.HorizonsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplsbdb.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplsbdb.SBDBClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplspec.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.jplspec.JPLSpecClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.lamda.parse_lamda_datafile.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.lamda.write_lamda_datafile.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.linelists.cdms.CDMSClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.linelists.cdms.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.magpis.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.magpis.MagpisClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.CatalogsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.MastClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.MastMissionsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.ObservationsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.TesscutClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mast.ZcutClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.mpc.MPCClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nasa_ads.ADSClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nasa_ads.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nist.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nist.NistClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.noirlab.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.noirlab.NoirlabClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nrao.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nrao.NraoClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nvas.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.nvas.NvasClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.oac.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.oac.OACClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ogle.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ogle.OgleClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.open_exoplanet_catalogue.findvalue.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.open_exoplanet_catalogue.get_catalogue.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.open_exoplanet_catalogue.xml_element_to_dict.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.query.BaseQuery.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.query.QueryWithLogin.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.sdss.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.sdss.SDSSClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.simbad.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.simbad.SimbadBaseQuery.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.simbad.SimbadClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.skyview.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.skyview.SkyViewClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.splatalogue.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.splatalogue.SplatalogueClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.svo_fps.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.svo_fps.SvoFpsClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ukidss.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.ukidss.UkidssClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.TableList.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.async_to_sync.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.chunk_read.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.chunk_report.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.class_or_instance.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.download_list_of_fitsfiles.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.parse_coordinates.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.prepend_docstr_nosections.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.send_request.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.suppress_vo_warnings.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.tap.Tap.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.tap.TapColumn.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.tap.TapPlus.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.tap.TapTableMeta.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.timer.RunTimePredictor.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.timer.timefunc.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.utils.validate_email.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vamdc.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vamdc.VamdcClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vizier.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vizier.VizierClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.AsyncConeSearch.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.AsyncSearchAll.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.conesearch.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.conesearch_timer.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.list_catalogs.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.predict_search.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.conesearch.search_all.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.core.ConeSearchClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.BaseVOError.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.ConeSearchError.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.DuplicateCatalogName.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.DuplicateCatalogURL.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.InvalidAccessURL.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.MissingCatalog.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.exceptions.VOSError.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.validator.exceptions.BaseVOValidationError.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.validator.exceptions.ValidationMultiprocessingError.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.validator.inspect.ConeSearchResults.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.validator.validate.check_conesearch_sites.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vo_async.AsyncBase.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.VOSBase.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.VOSCatalog.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.VOSDatabase.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.call_vo_service.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.get_remote_catalog_db.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vo_conesearch.vos_catalog.list_catalogs.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vsa.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.vsa.VsaClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.wfau.BaseWFAUClass.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.wfau.clean_catalog.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.xmatch.Conf.rst
>  astroquery-0.4.6+dfsg/docs/api/astroquery.xmatch.XMatchClass.rst
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/astroquery_0.4.6+dfsg-4.diff.ED8MO5
> 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/astroquery_0.4.6+dfsg-4_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.