Your message dated Sat, 20 Dec 2025 04:22:22 +0100 with message-id <[email protected]> and subject line Re: Bug#1123652: 1.0 with diff, dpkg-source -x no longer chmod +x debian/rules has caused the Debian Bug report #1123652, regarding 1.0 with diff, dpkg-source -x no longer chmod +x debian/rules to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1123652: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123652 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dpkg-dev Version: 1.23.2 Control: block 1123583 by -1 Severity: important Hi. I think that amongst the random lossage (which I am working to fix) the src:dgit autopkgtests have detected a regression in the new dpkg-source. STEPS $ dget -d http://deb.debian.org/debian/pool/main/v/vtwm/vtwm_5.4.7-9.dsc $ sha256sum * Expect: 3ba3f8245e1b855d81e6969581c3782e2de1a9faadf0b5fdd21d8761e5ff3c4e vtwm_5.4.7-9.diff.gz ae1fc9c819be88dff5cf07e28b674d1696a1a1907d0e03a9e6c0bb1929e01568 vtwm_5.4.7-9.dsc c62f692c42420666920a23cd489633e91789b379fed13561321b44d9ffa8c9e9 vtwm_5.4.7.orig.tar.gz $ dpkg-source -x vtwm_5.4.7-9.dsc $ ls -l vtwm-5.4.7/debian/rules EXPECTED OUTPUT -rwxrwxr-x 1 ian ian 2034 Dec 19 11:57 vtwm-5.4.7/debian/rules* ACTUAL OUTPUT -rw-rw-r-- 1 ian ian 2034 Dec 19 11:57 vtwm-5.4.7/debian/rules DISCUSSION 1.0-with-diff doesn't represent the executability of debian/rules, so dpkg-source must make it executable with an explicit chmod. This is done by 1.22.21, as shipped in trixie, for example. This change to dpkg-source, which I presume wasn't intentional, has the effect of retrospectively changing the meaning of all exissting 1.0-with-diff source packages. For example, if one does apt source && git init && git add -Af . && git commit the resulting tree object is different before and after this change. And I think this change will make some 1.0-with-diff pacckage building approaches no longer work properly. Direct use of debian/rules won't work, and dpkg-buildpackage will dirty the tree (because it also does chmod +x). Ian. -- Ian Jackson <[email protected]> These opinions are my own. Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.
--- End Message ---
--- Begin Message ---Version: 1.23.3 There was a typo in the closure (fixed now in git main). This report was fixed with the following upload: ,--- dpkg (1.23.3) unstable; urgency=medium [ Guillem Jover ] * Perl modules: - Dpkg::Vendor::Debian: Mask PIE on m68k, sh4 and x32. Thanks to Adrian Bunk <[email protected]>. Closes: #1100187 - Dpkg::Version: Add new has_epoch() and has_revision() methods. Closes: #1123630 - Dpkg::Source::Package::V1: Make debian/rules executable on extract if present. Closes: #1123652 -- Guillem Jover <[email protected]> Sat, 20 Dec 2025 02:18:49 +0100 `--- Closing this now. Thanks, Guillem
--- End Message ---

