reopen 1048141
thanks

On Sun, Mar 08, 2026 at 10:33:47AM +0000, Debian FTP Masters wrote:
>    * d/rules: fix clean target (Closes: #1048141)

Hi. Thanks a lot for looking at this.

Unfortunately, the issue is still here (maybe because of changes in
the new upstream release). This is what happens now when trying to
build source after binary build:

dpkg-source: info: local changes detected, the modified files are:
 src/tools/clippy/clippy_test_deps/Cargo.lock
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/rustc_1.92.0+dfsg1-1.diff.hVbRcJ

Notes: The file is automatically generated, so in theory it would be a
candidate to be added to debian/clean. However, I have seen cases of
files which are modified during the build and are also required to be
present during the build (for example package.json in some nodejs
packages), so I can't tell if that's the right fix.

If the file is really needed and we can't use debian/clean here,
using this in debian/source/options would probably work as plan B:

extend-diff-ignore = "^src/tools/clippy/clippy_test_deps/Cargo\.lock$"

Thanks.

Reply via email to