[DRE-maint] Bug#1047127: ruby-browser: Fails to build source after successful build

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


Source: ruby-browser
Version: 5.3.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 ruby-browser
> dpkg-buildpackage: info: source version 5.3.1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mohammed Bilal <mdbilal at disroot.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --buildsystem=ruby --with ruby
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if [ -e Gemfile.lock ]; then\
>    	rm Gemfile.lock; \
> fi
> if [ -e log/* ]; then \
> 	rm log/*; \
> fi
> dh_auto_clean
> 	dh_ruby --clean
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=ruby
>    dh_clean -O--buildsystem=ruby
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ruby-browser using existing ./ruby-browser_5.3.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: newly created empty file 'coverage/.resultset.json.lock' will not be represented in diff
> dpkg-source: error: cannot represent change to coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.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 coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.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 coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.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 coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.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 coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-browser-5.3.1/coverage/assets/0.12.3/application.css has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to coverage/assets/0.12.3/colorbox/border.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/colorbox/border.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 coverage/assets/0.12.3/colorbox/controls.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/colorbox/controls.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 coverage/assets/0.12.3/colorbox/loading.gif: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/colorbox/loading.gif in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to coverage/assets/0.12.3/colorbox/loading_background.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/colorbox/loading_background.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 coverage/assets/0.12.3/favicon_green.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/favicon_green.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 coverage/assets/0.12.3/favicon_red.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/favicon_red.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 coverage/assets/0.12.3/favicon_yellow.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/favicon_yellow.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 coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.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 coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.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 coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.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 coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.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 coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.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 coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.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 coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.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 coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.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 coverage/assets/0.12.3/images/ui-icons_222222_256x240.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-icons_222222_256x240.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 coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.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 coverage/assets/0.12.3/images/ui-icons_454545_256x240.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-icons_454545_256x240.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 coverage/assets/0.12.3/images/ui-icons_888888_256x240.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-icons_888888_256x240.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 coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.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 coverage/assets/0.12.3/loading.gif: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/loading.gif in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to coverage/assets/0.12.3/magnify.png: binary file contents changed
> dpkg-source: error: add coverage/assets/0.12.3/magnify.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> 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/ruby-browser_5.3.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 Pkg-ruby-extras-maintainers mailing list