[pkg-go] Bug#1048956: restic: Fails to build source after successful build

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


Source: restic
Version: 0.14.0-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 restic
> dpkg-buildpackage: info: source version 0.14.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Félix Sipma <felix at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --buildsystem=golang --with=golang,sphinxdoc
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> rm -rf debian/doctrees
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    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: verifying ./restic_0.14.0.orig.tar.gz.asc
> dpkg-source: info: building restic using existing ./restic_0.14.0.orig.tar.gz
> dpkg-source: info: building restic using existing ./restic_0.14.0.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: file restic-0.14.0/build/html/010_introduction.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/020_installation.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/030_preparing_a_new_repo.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/040_backup.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/045_working_with_repos.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/047_tuning_backup_parameters.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/050_restore.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/060_forget.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/070_encryption.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/075_scripting.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/080_examples.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/090_participating.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/100_references.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/110_talks.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/REST_backend.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/html/_images/01_aws_start.png: binary file contents changed
> dpkg-source: error: add build/html/_images/01_aws_start.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 build/html/_images/02_aws_menu.png: binary file contents changed
> dpkg-source: error: add build/html/_images/02_aws_menu.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 build/html/_images/03_buckets_list_before.png: binary file contents changed
> dpkg-source: error: add build/html/_images/03_buckets_list_before.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 build/html/_images/04_bucket_create_start.png: binary file contents changed
> dpkg-source: error: add build/html/_images/04_bucket_create_start.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 build/html/_images/05_bucket_create_review.png: binary file contents changed
> dpkg-source: error: add build/html/_images/05_bucket_create_review.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 build/html/_images/06_buckets_list_after.png: binary file contents changed
> dpkg-source: error: add build/html/_images/06_buckets_list_after.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 build/html/_images/07_iam_start.png: binary file contents changed
> dpkg-source: error: add build/html/_images/07_iam_start.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 build/html/_images/08_user_list.png: binary file contents changed
> dpkg-source: error: add build/html/_images/08_user_list.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 build/html/_images/09_user_name.png: binary file contents changed
> dpkg-source: error: add build/html/_images/09_user_name.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 build/html/_images/10_user_pre_policy.png: binary file contents changed
> dpkg-source: error: add build/html/_images/10_user_pre_policy.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 build/html/_images/11_policy_start.png: binary file contents changed
> dpkg-source: error: add build/html/_images/11_policy_start.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 build/html/_images/13_policy_review.png: binary file contents changed
> dpkg-source: error: add build/html/_images/13_policy_review.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 build/html/_images/14_user_attach_policy.png: binary file contents changed
> dpkg-source: error: add build/html/_images/14_user_attach_policy.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 build/html/_images/15_user_review.png: binary file contents changed
> dpkg-source: error: add build/html/_images/15_user_review.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 build/html/_images/16_user_created.png: binary file contents changed
> dpkg-source: error: add build/html/_images/16_user_created.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file restic-0.14.0/build/html/_static/basic.css has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/_static/documentation_options.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/html/_static/favicon.ico: binary file contents changed
> dpkg-source: error: add build/html/_static/favicon.ico in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/html/_static/file.png: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Bold.ttf: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Bold.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-BoldItalic.ttf: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-BoldItalic.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Italic.ttf: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Italic.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Regular.ttf: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/Lato-Regular.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/RobotoSlab-Bold.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/RobotoSlab-Regular.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/fontawesome-webfont.eot: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/fontawesome-webfont.ttf: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/fontawesome-webfont.woff: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/fonts/fontawesome-webfont.woff2: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/logo.png: binary file contents changed
> dpkg-source: error: add build/html/_static/logo.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 build/html/_static/minus.png: binary file contents changed
> dpkg-source: error: add 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 build/html/_static/plus.png: binary file contents changed
> dpkg-source: error: add 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 restic-0.14.0/build/html/_static/pygments.css has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/cache.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/design.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/developer_information.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/faq.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/genindex.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/manual_rest.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to build/html/objects.inv: binary file contents changed
> dpkg-source: error: add 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 restic-0.14.0/build/html/search.html has no final newline (either original or modified version)
> dpkg-source: warning: file restic-0.14.0/build/html/searchindex.js 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/restic_0.14.0-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