[pkg-go] Bug#1045037: goiardi: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 17:56:57 BST 2023


Source: goiardi
Version: 0.11.10-1
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 goiardi
> dpkg-buildpackage: info: source version 0.11.10-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jordi Mallach <jordi at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --buildsystem=golang --with=golang
>    dh_auto_clean -O--buildsystem=golang
>    dh_autoreconf_clean -O--buildsystem=golang
>    dh_clean -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building goiardi using existing ./goiardi_0.11.10.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to docs/_build/doctrees/changelog.doctree: binary file contents changed
> dpkg-source: error: add docs/_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 docs/_build/doctrees/dependencies.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/dependencies.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 docs/_build/doctrees/environment.pickle: binary file contents changed
> dpkg-source: error: add docs/_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 docs/_build/doctrees/features/authentication.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/authentication.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 docs/_build/doctrees/features/berks.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/berks.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 docs/_build/doctrees/features/data.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/data.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 docs/_build/doctrees/features/event_logging.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/event_logging.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 docs/_build/doctrees/features/logging.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/logging.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 docs/_build/doctrees/features/metrics.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/metrics.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 docs/_build/doctrees/features/persistence.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/persistence.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 docs/_build/doctrees/features/reporting.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/reporting.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 docs/_build/doctrees/features/s3.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/s3.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 docs/_build/doctrees/features/search.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/search.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 docs/_build/doctrees/features/secrets.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/secrets.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 docs/_build/doctrees/features/serf_and_shovey.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/serf_and_shovey.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 docs/_build/doctrees/features/shovey_api.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/shovey_api.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 docs/_build/doctrees/features/webui.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/features/webui.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 docs/_build/doctrees/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_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 docs/_build/doctrees/installation.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/installation.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 docs/_build/doctrees/platforms.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/platforms.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 docs/_build/doctrees/upgrading.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/upgrading.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/_static/basic.css has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/_static/classic.css has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/_static/documentation_options.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to docs/_build/html/_static/file.png: binary file contents changed
> dpkg-source: error: add docs/_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 docs/_build/html/_static/minus.png: binary file contents changed
> dpkg-source: error: add docs/_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 docs/_build/html/_static/plus.png: binary file contents changed
> dpkg-source: error: add docs/_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 goiardi-0.11.10/docs/_build/html/_static/pygments.css has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/_static/sidebar.js has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/changelog.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/dependencies.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/authentication.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/berks.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/data.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/event_logging.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/logging.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/metrics.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/persistence.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/reporting.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/s3.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/search.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/secrets.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/serf_and_shovey.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/shovey_api.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/features/webui.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/genindex.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/installation.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to docs/_build/html/objects.inv: binary file contents changed
> dpkg-source: error: add docs/_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 goiardi-0.11.10/docs/_build/html/platforms.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/search.html has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/searchindex.js has no final newline (either original or modified version)
> dpkg-source: warning: file goiardi-0.11.10/docs/_build/html/upgrading.html 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/goiardi_0.11.10-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.



More information about the Pkg-go-maintainers mailing list