[Debian-astro-maintainers] Bug#1046698: pydl: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:08 BST 2023


Source: pydl
Version: 1.0.0~rc2-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
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 pydl
> dpkg-buildpackage: info: source version 1.0.0~rc2-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ole Streicher <olebole at debian.org>
>  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/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated calls
>         or your builds will no longer be supported.
> 
>         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
>         ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> /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.
> /usr/lib/python3/dist-packages/setuptools/dist.py:509: InformationOnly: Normalizing '1.0.0-rc2' to '1.0.0rc2'
>   self.metadata.version = self._normalize_version(
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated calls
>         or your builds will no longer be supported.
> 
>         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
>         ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pydl/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 -rf api
> rm -rf .cache
> rm -f pydl/version.py
> rm -f .travis.yml
> rm -f MANIFEST.in
> rm -f pip-requirements
> rm -rf pydl.egg-info
> rm -rf build
> rm -rf .pybuild
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    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 pydl using existing ./pydl_1.0.0~rc2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file MANIFEST.in, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  pydl-1.0.0~rc2/docs/api/pydl.PydlException.rst
>  pydl-1.0.0~rc2/docs/api/pydl.file_lines.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.astro.airtovac.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.astro.gcirc.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.astro.get_juldate.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.astro.get_juldate_main.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.astro.vactoair.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.math.flegendre.rst
>  pydl-1.0.0~rc2/docs/api/pydl.goddard.misc.cirrange.rst
>  pydl-1.0.0~rc2/docs/api/pydl.median.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pcomp.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.PhotoopException.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.image.sdss_psf_recon.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.photoobj.sdss_calibv.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.photoobj.unwrap_objid.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.filtername.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.filternum.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.sdss_calib.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.sdss_name.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.sdss_path.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.sdssio.sdssflux2ab.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.window.sdss_score.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.window.window_read.rst
>  pydl-1.0.0~rc2/docs/api/pydl.photoop.window.window_score.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.Pydlspec2dException.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.Pydlspec2dUserWarning.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.HMF.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.findspec.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.latest_mjd.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.number_of_fibers.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.pca_solve.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.plot_eig.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.preprocess_spectra.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.readspec.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.skymask.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.spec_append.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.spec_path.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.template_input.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.template_input_main.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.template_metadata.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.template_qso.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.template_star.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec1d.wavevector.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec2d.aesthetics.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec2d.combine1fiber.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlspec2d.spec2d.filter_thru.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.PydlutilsException.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.PydlutilsUserWarning.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.bspline.bspline.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.bspline.cholesky_band.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.bspline.cholesky_solve.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.bspline.iterfit.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.cooling.read_ds_cooling.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.SDSSMuNu.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.current_mjd.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.munu_to_radec.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.radec_to_munu.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.stripe_to_eta.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.coord.stripe_to_incl.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.image.djs_maskinterp.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.image.djs_maskinterp1.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.FITS_polygon.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.ManglePolygon.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.PolygonList.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.angles_to_x.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.cap_distance.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.circle_cap.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.is_cap_used.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.is_in_cap.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.is_in_polygon.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.is_in_window.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.read_fits_polygons.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.read_mangle_polygons.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.set_use_caps.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.mangle.x_to_angles.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.math.computechi2.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.math.djs_median.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.math.djs_reject.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.math.find_contiguous.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.decode_mixed.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.djs_laxisgen.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.djs_laxisnum.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.hogg_iau_name.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.hogg_iau_name_main.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.misc.struct_print.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.rgbcolor.nw_arcsinh.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.rgbcolor.nw_cut_to_box.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.rgbcolor.nw_float_to_byte.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.rgbcolor.nw_scale_rgb.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.default_skyversion.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_astrombad.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_flagexist.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_flagname.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_flagval.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_objid.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_specobjid.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.sdss_sweep_circle.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.set_maskbits.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.sdss.unwrap_specobjid.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.spheregroup.chunks.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.spheregroup.groups.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.spheregroup.spheregroup.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.spheregroup.spherematch.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.TraceSet.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.fchebyshev.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.fchebyshev_split.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.fpoly.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.func_fit.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.traceset2xy.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.trace.xy2traceset.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.yanny.is_yanny.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.yanny.read_table_yanny.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.yanny.write_ndarray_to_yanny.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.yanny.write_table_yanny.rst
>  pydl-1.0.0~rc2/docs/api/pydl.pydlutils.yanny.yanny.rst
>  pydl-1.0.0~rc2/docs/api/pydl.rebin.rst
>  pydl-1.0.0~rc2/docs/api/pydl.smooth.rst
>  pydl-1.0.0~rc2/docs/api/pydl.uniq.rst
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/pydl_1.0.0~rc2-4.diff.FeP5CK
> 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/pydl_1.0.0~rc2-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.



More information about the Debian-astro-maintainers mailing list