Bug#1047884: python-hdf5plugin: Fails to build source after successful build

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


Source: python-hdf5plugin
Version: 4.0.1-3
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 python-hdf5plugin
> dpkg-buildpackage: info: source version 4.0.1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Enrico Zini <enrico at debian.org>
>  dpkg-source --before-build .
> dpkg-source: info: using options from python-hdf5plugin-4.0.1/debian/source/options: --extend-diff-ignore=^[^/]+\.egg-info/
>  debian/rules clean
> dh clean --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3.11 setup.py clean 
> /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:root:WARNING: The wheel package is not available.
> INFO:root:running clean
> INFO:root:creating /tmp/tmpdio95fi9/tmp
> INFO:root:creating /tmp/tmpdio95fi9/tmp/tmpdio95fi9
> INFO:root:x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/tmpdio95fi9/source.cc -o /tmp/tmpdio95fi9/tmp/tmpdio95fi9/source.o -std=c++11
> INFO:root:creating /tmp/tmp21bfdr87/tmp
> INFO:root:creating /tmp/tmp21bfdr87/tmp/tmp21bfdr87
> INFO:root:x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/tmp21bfdr87/source.c -o /tmp/tmp21bfdr87/tmp/tmp21bfdr87/source.o -msse2
> INFO:root:creating /tmp/tmph_g0nl5q/tmp
> INFO:root:creating /tmp/tmph_g0nl5q/tmp/tmph_g0nl5q
> INFO:root:x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/tmph_g0nl5q/source.c -o /tmp/tmph_g0nl5q/tmp/tmph_g0nl5q/source.o -mavx2
> INFO:root:creating /tmp/tmpry3dw8yg/tmp
> INFO:root:creating /tmp/tmpry3dw8yg/tmp/tmpry3dw8yg
> INFO:root:x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/tmpry3dw8yg/source.c -o /tmp/tmpry3dw8yg/tmp/tmpry3dw8yg/source.o -fopenmp
> INFO:root:creating /tmp/tmpfq_jp4sv/tmp
> INFO:root:creating /tmp/tmpfq_jp4sv/tmp/tmpfq_jp4sv
> INFO:root:x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/tmpfq_jp4sv/source.c -o /tmp/tmpfq_jp4sv/tmp/tmpfq_jp4sv/source.o -march=native
> INFO:__main__:Build configuration: from collections import namedtuple
> 
> HDF5PluginBuildConfig = namedtuple('HDF5PluginBuildConfig', ('openmp', 'native', 'sse2', 'avx2', 'cpp11', 'filter_file_extension', 'embedded_filters'))
> build_config = HDF5PluginBuildConfig(**{'openmp': True, 'native': True, 'sse2': True, 'avx2': True, 'cpp11': True, 'filter_file_extension': '.so', 'embedded_filters': ()})
> 
> INFO:root:removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build' (and everything under it)
> WARNING:root:'build/bdist.linux-x86_64' does not exist -- can't clean it
> WARNING:root:'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 options from python-hdf5plugin-4.0.1/debian/source/options: --extend-diff-ignore=^[^/]+\.egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-hdf5plugin using existing ./python-hdf5plugin_4.0.1.orig.tar.gz
> dpkg-source: error: cannot represent change to doc/_build/doctrees/changelog.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/changelog.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/contribute.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/contribute.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/environment.pickle: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/environment.pickle in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/hdf5plugin_EuropeanHUG2021.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/hdf5plugin_EuropeanHUG2021.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/hdf5plugin_EuropeanHUG2022.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/hdf5plugin_EuropeanHUG2022.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/index.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/information.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/information.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/install.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/install.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_14_1.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_14_1.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_23_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_23_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_7_1.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2021_7_1.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_17_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_17_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_26_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_26_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_9_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/nbsphinx/hdf5plugin_EuropeanHUG2022_9_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/doctrees/usage.doctree: binary file contents changed
> dpkg-source: error: add doc/_build/doctrees/usage.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_14_1.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_14_1.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_23_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_23_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_7_1.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2021_7_1.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_17_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_17_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_26_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_26_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_9_0.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_images/hdf5plugin_EuropeanHUG2022_9_0.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/_sources/changelog.rst.txt has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/_static/basic.css has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/_static/documentation_options.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to doc/_build/html/_static/file.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/file.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Bold.ttf: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Bold.ttf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Bold.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Bold.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-BoldItalic.ttf: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-BoldItalic.ttf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-BoldItalic.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-BoldItalic.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Italic.ttf: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Italic.ttf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Italic.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Italic.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Regular.ttf: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Regular.ttf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/Lato-Regular.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/Lato-Regular.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/RobotoSlab-Bold.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/RobotoSlab-Bold.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/RobotoSlab-Regular.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/RobotoSlab-Regular.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/fontawesome-webfont.eot: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/fontawesome-webfont.eot in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/fontawesome-webfont.ttf: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/fontawesome-webfont.ttf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/fontawesome-webfont.woff: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/fontawesome-webfont.woff in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/fonts/fontawesome-webfont.woff2: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/fonts/fontawesome-webfont.woff2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/minus.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/minus.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/_build/html/_static/plus.png: binary file contents changed
> dpkg-source: error: add doc/_build/html/_static/plus.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/_static/pygments.css has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/changelog.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/contribute.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/genindex.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/hdf5plugin_EuropeanHUG2021.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/hdf5plugin_EuropeanHUG2022.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/information.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/install.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to doc/_build/html/objects.inv: binary file contents changed
> dpkg-source: error: add doc/_build/html/objects.inv in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/search.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/searchindex.js has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/doc/_build/html/usage.html has no final newline (either original or modified version)
> dpkg-source: warning: file python-hdf5plugin-4.0.1/src/hdf5plugin.egg-info/SOURCES.txt has no final newline (either original or modified version)
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/python-hdf5plugin_4.0.1-3_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-science-maintainers mailing list