Bug#1122777: openkim-models: Please remove/replace usage of dh_movetousr

Michael Biebl biebl at debian.org
Sun Jul 5 17:47:35 BST 2026


Control: tags -1 + patch

Hi

On Fri, 12 Dec 2025 14:52:17 +0100 biebl at debian.org wrote:
> Source: openkim-models
> Version: 2021.08.11-4
> Severity: normal
> User: helmutg at debian.org
> Usertags: dh_movetousr_removal
> 
> Hi,
> 
> your package openkim-models 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
> 
> 

I looked into this issue and noticed, that in unstable, the 
dh-sequence-movetousr Build-Depends is no longer necessary. The upstream 
build system now installs the files directly into /usr.

The dh-sequence-movetousr can therefor be dropped safely.

Please find attached a patch which does just that.
Would be great if you can include that in one of your next uploads.

Regards,
Michael
-------------- next part --------------
diff -Nru openkim-models-2021.08.11/debian/changelog openkim-models-2021.08.11/debian/changelog
--- openkim-models-2021.08.11/debian/changelog	2025-10-11 11:46:38.000000000 +0200
+++ openkim-models-2021.08.11/debian/changelog	2026-07-05 18:03:37.000000000 +0200
@@ -1,3 +1,11 @@
+openkim-models (1:2021.08.11-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop Build-Depends on dh-sequence-movetousr, not needed anymore
+    (Closes: #1122777)
+
+ -- Michael Biebl <biebl at debian.org>  Sun, 05 Jul 2026 18:03:37 +0200
+
 openkim-models (1:2021.08.11-4) unstable; urgency=medium
 
   * [5ee6fe4] Increase minimal cmake version. (Closes: #1113358)
diff -Nru openkim-models-2021.08.11/debian/control openkim-models-2021.08.11/debian/control
--- openkim-models-2021.08.11/debian/control	2025-10-11 11:46:38.000000000 +0200
+++ openkim-models-2021.08.11/debian/control	2026-07-05 18:03:33.000000000 +0200
@@ -9,7 +9,6 @@
  cmake,
  libkim-api-dev (>= 2.4.1),
  debhelper-compat (= 13),
- dh-sequence-movetousr,
  gfortran,
  xxd,
 Vcs-Browser: https://salsa.debian.org/science-team/openkim-models
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260705/cefcb6fe/attachment-0001.sig>


More information about the debian-science-maintainers mailing list