[DRE-maint] Bug#1047736: ruby-sprockets-rails: Fails to build source after successful build

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


Source: ruby-sprockets-rails
Version: 3.4.1-2
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-sprockets-rails
> dpkg-buildpackage: info: source version 3.4.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pirate Praveen <praveen at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --buildsystem=ruby --with ruby
>    dh_auto_clean -O--buildsystem=ruby
> 	dh_ruby --clean
> W: XS-Ruby-Versions is deprecated, and will be ignored
>    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-sprockets-rails using existing ./ruby-sprockets-rails_3.4.1.orig.tar.gz
> dpkg-source: warning: newly created empty file 'tmp/app/app/assets/config/manifest.js' will not be represented in diff
> dpkg-source: warning: newly created empty file 'tmp/app/log/test.log' will not be represented in diff
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/1K/1K7ecXx18rMHpG1yPwnycGvMQS6LYAgOnMFWGDQTvCs.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/1L/1LeUuOkjww0kgVAKxCUoa2ozeFuVSAuJ3NqUh-3vZ2w.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/36/36t9Irv9N6WeYnj6nM0ovHk1pOxxPDiVi2WeuFIQpxE.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/5n/5nL1MgEOYNzJot65nekNUhUgUXRg1zUSJj0fs6G0FoM.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/6m/6meJBULtnH_850NLTw9Zl1xeNOErIbo3TroPeNVRzvA.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/82/82mKHzhWUMvgxW9afkKPvle9yzG_xtFocXbrP2-WJUw.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/Cq/CqZZkFuhEus7DkVHVTZN68moCphqzxyTSCHADN2D8Kc.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/E-/E-FMCVO2FfmwgW9jyP5dzTZPgTmdNKbhy0YAmIRZdUY.cache has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to tmp/app/tmp/cache/assets/sprockets/v3.0/GM/GMdSVnsolTQ9xkZPBSK9-eDipNESAV1Lk4Mk6UmxIC0.cache: binary file contents changed
> dpkg-source: error: add tmp/app/tmp/cache/assets/sprockets/v3.0/GM/GMdSVnsolTQ9xkZPBSK9-eDipNESAV1Lk4Mk6UmxIC0.cache in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/Im/ImFa_7c2zEeupdDuffRaryNgc8Zz_N6I7rrm9x6aUP4.cache has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to tmp/app/tmp/cache/assets/sprockets/v3.0/KM/KMJPjmKGQYsGzFnA17PeokyTPb5vN29RQSHwxIa67VE.cache: binary file contents changed
> dpkg-source: error: add tmp/app/tmp/cache/assets/sprockets/v3.0/KM/KMJPjmKGQYsGzFnA17PeokyTPb5vN29RQSHwxIa67VE.cache in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/NZ/NZ1k3c1vabbETNEXBLpNgjEFvLCsWKaMUZYU6Xzn4gM.cache has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to tmp/app/tmp/cache/assets/sprockets/v3.0/V_/V_d0iZHNlZUGtS6oMITooKEnnDa8sLSeWAy3w3fVHTI.cache: binary file contents changed
> dpkg-source: error: add tmp/app/tmp/cache/assets/sprockets/v3.0/V_/V_d0iZHNlZUGtS6oMITooKEnnDa8sLSeWAy3w3fVHTI.cache in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/Wf/WfEJYBzpXjGyytSz9GXEtt-8eOWC6vq54OFxFiAGzW4.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/eo/eoNpsTTzh8s_c1j78YNMGx0gCwrnl1Pm3RhwMjN7MYk.cache has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to tmp/app/tmp/cache/assets/sprockets/v3.0/hD/hD5mEH0imeCM0rpENDQU5y4i5UfbaA_eb2Tq-IJxhfQ.cache: binary file contents changed
> dpkg-source: error: add tmp/app/tmp/cache/assets/sprockets/v3.0/hD/hD5mEH0imeCM0rpENDQU5y4i5UfbaA_eb2Tq-IJxhfQ.cache in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/n4/n4jft4dQQBNDELXO8vDB9yzQFjkHR8467aO9GCHXEV0.cache has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to tmp/app/tmp/cache/assets/sprockets/v3.0/ur/urSwmjEQVeSnfWo6QR2DI4a2mFmkXUyeXlDozn9IoyQ.cache: binary file contents changed
> dpkg-source: error: add tmp/app/tmp/cache/assets/sprockets/v3.0/ur/urSwmjEQVeSnfWo6QR2DI4a2mFmkXUyeXlDozn9IoyQ.cache in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/vX/vX9HPAppRmrg1Pe95wvsJSToE5raui22gjfjuWdYGyw.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/x7/x7MvcwquWDAr7Y7EhQbqxoHzkVjo7_6eLZnlcLoadf8.cache has no final newline (either original or modified version)
> dpkg-source: warning: file ruby-sprockets-rails-3.4.1/tmp/app/tmp/cache/assets/sprockets/v3.0/zp/zpIefU0dE8SWnGgu2IDFW_FsmLgq3R4Vy5qsbWdvJF8.cache 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/ruby-sprockets-rails_3.4.1-2_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