@arighi I created another bug for this because it is a general issue, not only for this `is_rust_module.sh` script. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2045562
The command `rm -f` should stay because in v6.5 the script is still there, and in debian 1.0 we don't properly represent removed files in .diff.gz tarball. The problem is with the `chmod -x` command. First, chmod commands should be generated in the reconstruct script before any rm command. And second, if a file has been deleted, rm -f is more than enough, no need for chmod command. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2038611 Title: drop all references to is_rust_module.sh in kernels >= 6.5 Status in linux package in Ubuntu: Incomplete Status in linux source package in Mantic: Fix Committed Bug description: [Impact] The script tools/is_rust_module.sh has been dropped by this commit: 079c66bbe2f8 ("UBUNTU: SAUCE: btf, scripts: rust: drop is_rust_module.sh") And upstream as well (in 6.6): 41bdc6decda0 ("btf, scripts: rust: drop is_rust_module.sh") But we still have a reference of it in debian.master/reconstruct and that generates the following warning during the build: chmod: cannot access 'scripts/is_rust_module.sh': No such file or directory [Fix] Drop the reference to is_rust_module.sh from reconstruct to prevent unnecessary warnings during the build. [Test case] The following command ran from the kernel source directory is enough to trigger the warning: $ fakeroot debian/rules clean [Regression potential] This change is affecting only our packaging. The change is trivial but it might affect our kernel build process in case of regressions. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038611/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp