Bug#1046160: lxcfs: Fails to build source after successful build

2023-08-18 Thread Mathias Gibbens
Control: tags -1 + pending
  Fix pushed to salsa, and will be included in the next upload.

Mathias


signature.asc
Description: This is a digitally signed message part


Bug#1046160: lxcfs: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: lxcfs
Version: 5.0.3-1
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@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 /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> -
> 
> dpkg-buildpackage: info: source package lxcfs
> dpkg-buildpackage: info: source version 5.0.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mathias Gibbens 
>  dpkg-source --before-build .
>  debian/rules clean
> dh_autoreconf_clean
> dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./lxcfs_5.0.3.orig.tar.gz.asc
> dpkg-source: info: building lxcfs using existing ./lxcfs_5.0.3.orig.tar.gz
> dpkg-source: info: building lxcfs using existing ./lxcfs_5.0.3.orig.tar.gz.asc
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/.ninja_deps: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/.ninja_deps in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> lxcfs-5.0.3/obj-x86_64-linux-gnu/config/init/lxcfs.service has no final 
> newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/liblxcfs.so in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 
> 'obj-x86_64-linux-gnu/liblxcfs.so' will not be represented in diff
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_bindings.c.o: binary file contents 
> changed
> dpkg-source: error: add obj-x86_64-linux-gnu/liblxcfs.so.p/src_bindings.c.o 
> in debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroup_fuse.c.o: binary file contents 
> changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroup_fuse.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgfsng.c.o: binary file 
> contents changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgfsng.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup.c.o: binary file 
> contents changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup2_devices.c.o: binary 
> file contents changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup2_devices.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup_utils.c.o: binary file 
> contents changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cgroups_cgroup_utils.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cpuset_parse.c.o: binary file contents 
> changed
> dpkg-source: error: add 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_cpuset_parse.c.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> obj-x86_64-linux-gnu/liblxcfs.so.p/src_lxcfs.c.o: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/liblxcfs.so.p/src_lxcfs.c.o in 
> debian/source/include-binaries if you want to store