#1122780 syncthing: Please remove/replace usage of dh_movetousr

#1122780#5
Date:
2025-12-12 13:52:17 UTC
From:
To:
Hi,

your package syncthing either Build-Depends on dh-sequence-movetousr
or uses dh_movetousr conditionally to move files from aliased
locations like /sbin, /bin or /lib to the canonical location in /usr.

Eventually, we would like to get rid of this debhelper addon.
Packages should use the canonical paths without any postprocessing.

This means, files are installed directly into /usr.

Please note, that such a change must not be backported to bookworm or
older. If you intend to provide such backports, these changes must be
reverted for those releases. If this means an undue burden on your
workflow our recommendation is to postpone this cleanup.

The motivation for this bug report is, to inform maintainers, that
installing files into the canonical location explicitly, is now the
preferred approach and dh_movetousr is now a deprecated tool.

The goal is, to have dh_movetousr removed after forky is released. We
can revise this plan, if needed. Please keep this timeline in mind
and let us know if this doesn't work for you.

For more information see [1].

If you have further questions, there is an IRC channel named
#debian-usrmerge on OFTC.

Regards,

Michael

[1] https://lists.debian.org/debian-devel/2025/11/msg00245.html

#1122780#10
Date:
2026-07-04 21:04:02 UTC
From:
To:
Control: tags -1 + patch

Please find attached a patch which implements this change.

Regards,
Michael

#1122780#17
Date:
2026-11-11 20:27:28 UTC
From:
To:
Hi Simon, hi Tobias,


in the interest of moving this issue along, I'm CCing you directly since
you made the last uploads.
Is there anything I can do to have this patch applied?
I can offer to NMU, propose a MR via salsa, just let me know.


Regards,
Michael

#1122780#22
Date:
2026-11-11 21:01:17 UTC
From:
To:
Feel free to do a team-upload or NMU upload!  Looks good to me.

/Simon

Michael Biebl <biebl@debian.org> writes:

#1122780#27
Date:
2026-11-11 21:08:23 UTC
From:
To:
Hi Simon,

thanks for your reply!
I'm not a member of go-team, so I can't really make a team upload.
I can do an NMU though.
Should I submit a MR with the changes or is the debdiff suficient?

Regards,
Michael



Am 11.11.26 um 22:01 schrieb Simon Josefsson:

#1122780#32
Date:
2026-11-11 21:31:05 UTC
From:
To:
I've uploaded the changes to DELAYED/7 as NMU,
debdiff is attached.

Please let me know if an MR via salsa would be appreciated as well.

Michael

Am 11.11.26 um 22:08 schrieb Michael Biebl:

#1122780#39
Date:
2026-11-11 21:31:26 UTC
From:
To:
I don't have cycles to look at syncthing right now, and I'm not familiar
with the package to speak authoratively anyway, but FWIW you have my
support to do NMU.  No need to go through DELAYED either, IMHO.  The
package looks a bit abandonded to me.

/Simon

Michael Biebl <biebl@debian.org> writes:

#1122780#44
Date:
2026-11-12 06:10:19 UTC
From:
To:
11.11.2026 22:31:42 Simon Josefsson <simon@josefsson.org>:

Hi Micheal,

thanks for your work. I agree with Simon, please move the package out of DELAYED and upload straight away. An MR on salsa would be much appreciated, but the debdiff works as well.

Regards,
Tobias

#1122780#49
Date:
2026-11-12 15:11:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
syncthing, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1122780@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated syncthing package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 11 Nov 2026 22:21:05 +0100
Source: syncthing
Architecture: source
Version: 1.29.5~ds1-5.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Closes: 1122780
Changes:
 syncthing (1.29.5~ds1-5.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Avoid usage of dh_movetousr (Closes: #1122780)
Checksums-Sha1:
 15089d8ca0961f4eb6f7e742b7ff8e2c1ba35bb9 4167 syncthing_1.29.5~ds1-5.1.dsc
 86c6d2f9e3ce48d30eb0a1cbe04ab54f8c538e13 30380 syncthing_1.29.5~ds1-5.1.debian.tar.xz
 d1c3585c58d024b4c4b607a1c4a0c8dc21a4dea2 20161 syncthing_1.29.5~ds1-5.1_amd64.buildinfo
Checksums-Sha256:
 4b34e46959110f63c6fae2e0b01519f5503f024316ec820ee2669fd1017ba321 4167 syncthing_1.29.5~ds1-5.1.dsc
 a3dc2a5bfb55c968508f93459b0c8383958dcbd53f345dc40187cf7336d36c6b 30380 syncthing_1.29.5~ds1-5.1.debian.tar.xz
 9720cd95441933bf4d6a8ee983b2d8b3490922fe98737aa7051869a5db3ca308 20161 syncthing_1.29.5~ds1-5.1_amd64.buildinfo
Files:
 f4ba8146b5846fe7f5ffc5230bec0dce 4167 utils optional syncthing_1.29.5~ds1-5.1.dsc
 812b4be8200aae1e9e79cea69ed5f3dd 30380 utils optional syncthing_1.29.5~ds1-5.1.debian.tar.xz
 0efa92c394881d71bef366a77f901e10 20161 utils optional syncthing_1.29.5~ds1-5.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmr03dUACgkQauHfDWCP
ItytQhAAgZF80CEDRbFMewIC4hM+enSMurxBFYlMmbHS4NS3XLqvXdDJ5uCnw2Iy
b7dCyQInUV2IY6nF0/sx78Or0tPyWuXoKAUqXbQzlOCXYxvOVSQQ6nswGTmcFqCZ
PUUN+w2i+c/3ns7hoI+0L0+BstcRtqTqnwj1c2NfseVmQGtE4OmpNX/AXATCtn1s
30bsBwmTmT1LyY+6GtQozeMS+6cxOcmQJhyIhMmaWjrMUk4YMsWUBGp2s9kq94pz
gUvRGgGCRX1fyZyDSiNmhcUy+c7AUYkWPmz2Uuxynd57Zg0fQeyHGczzWlu5O8EM
R6paI9kHh5JJeVhMp5x3vhZz2YK3/Ut6NJfNrClhElKiz4dCVvT8FWweXuKCknSq
HUFcQhFXmx2lxWXXF8loOYBXhhiUP074JOeVgYCVV890bNo9lQkJSoqb6hp5W04A
VWXxvliqPOV3SnCVQEQ/UK/NzCUJh/nJ7cmEdp4inu8EWoq2BPXC3Wmnzxmt2Kuk
bNTW9sKuosmy+VoJLdqhbno1vhkR3VI+3GRdorwvotOoJ5fDWLWiNh6WHZtuHzwg
R6suEesJQ5X75EgXlauJHI9wMsiGuJ9YX8dWhfppteP4s9z/e30Pkrtjek6hHevV
/aNTTtfVx4hlSLlMWyU7AvpjEdvwoYwtaMg/zhvyr+933Q6wWVs=
=TucN
-----END PGP SIGNATURE-----

#1122780#54
Date:
2026-11-12 21:41:19 UTC
From:
To:
Thank you both for your replies.

I've (re-)uploaded the NMU without delay and created a MR at

https://salsa.debian.org/go-team/packages/syncthing/-/merge_requests/8


Regards,
Michael

#1122780#59
Date:
2026-11-12 21:50:39 UTC
From:
To:
Thank you!  I've set it to auto-merge.  If you have the git tag for the
upload, feel free to push it into the repository.

/Simon

tor 2026-11-12 klockan 22:41 +0100 skrev Michael Biebl:

#1122780#64
Date:
2026-11-12 21:55:56 UTC
From:
To:
Am 12.11.26 um 22:50 schrieb Simon Josefsson:
I've pushed the tag to my fork.

Regards,
Michael

#1122780#69
Date:
2026-11-12 21:58:59 UTC
From:
To:
Thank you!  I pushed the tag and merged the MR now.

/Simon

tor 2026-11-12 klockan 22:55 +0100 skrev Michael Biebl: