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

#1122777#5
Date:
2025-12-12 13:52:17 UTC
From:
To:
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

#1122777#10
Date:
2026-07-05 16:47:35 UTC
From:
To:
Hi

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

#1122777#17
Date:
2026-08-06 16:08:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
openkim-models, 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 1122777@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gladk@debian.org> (supplier of updated openkim-models 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: Thu, 06 Aug 2026 16:08:44 +0200
Source: openkim-models
Architecture: source
Version: 1:2021.08.11-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Closes: 1122777 1143798
Changes:
 openkim-models (1:2021.08.11-5) unstable; urgency=medium
 .
   * Force the unversioned /usr/bin/gfortran via
     KIM_API_CMAKE_Fortran_COMPILER; libkim-api-dev hardcodes
     /usr/bin/gfortran-15, which no longer exists in a minimal chroot.
     (Closes: #1143798)
   * Drop Build-Depends on dh-sequence-movetousr; the build system
     already installs everything under /usr. Thanks to Michael Biebl for
     the patch. (Closes: #1122777)
   * Refresh packaging:
     - Bump Standards-Version to 4.7.4, drop redundant Priority field.
     - Switch to debhelper compat level 14 and add the now-required
       dh-sequence-single-binary to Build-Depends.
     - debian/watch: convert to version 5 format and add uversionmangle
       so that the dashed upstream version (2021-08-11) is compared
       against the packaged one (2021.08.11); fixes the salsa-ci
       watch_file check.
     - debian/copyright: record the LGPL-3, LGPL-2.1(+), GPL-2, GPL,
       Expat, MPL-2.0 and dual-licensed items shipped in the collection;
       lrc is now clean.
     - Add debian/salsa-ci.yml with license reconciliation enabled,
       replacing debian/.gitlab-ci.yml.
     - Drop obsolete library-not-linked-against-libc override; the tag no
       longer exists in lintian.
     - Add debian/source/lintian-overrides for the two remaining tags
       that cannot be fixed without breaking licenserecon or changing the
       orig tarball.
     - Add debian/upstream/metadata.
     - Add Forwarded field to 10_Use_higher_cmake_ver.patch.
Checksums-Sha1:
 2465dd1b44a2f799d18236c3dd8b3a4513cbb0d2 2486 openkim-models_2021.08.11-5.dsc
 610b761bf6a8a0d91a52d833c5f358d837399849 22700 openkim-models_2021.08.11-5.debian.tar.xz
 889dbfc8d3bcda1a647fddd1b66dcbf633061dd4 79629488 openkim-models_2021.08.11-5.git.tar.xz
 e6de9be2fb9050d5881ea8fd97f8b164261fc6f5 17602 openkim-models_2021.08.11-5_source.buildinfo
Checksums-Sha256:
 c9e239d8e0bf43cb277829df1ea9d73086cd4f1f2ed0b40c10f20f28e9543130 2486 openkim-models_2021.08.11-5.dsc
 7897720986a91c26f80749bf6630486260bb5a697b2a904587043a71f27a7b71 22700 openkim-models_2021.08.11-5.debian.tar.xz
 1b4cd8b9f75758e4742a1c37e76fc66d1d36b2d0ab038986436856ffc03fe80d 79629488 openkim-models_2021.08.11-5.git.tar.xz
 031fb8a6492ad40084fe5d71942c8c64f0f94472e820696942a6fab775537b85 17602 openkim-models_2021.08.11-5_source.buildinfo
Files:
 cf71eb22dee4b50f73d16af2db65e48a 2486 libs optional openkim-models_2021.08.11-5.dsc
 ef720ecf729c529e9b2e3d9fafc70187 22700 libs optional openkim-models_2021.08.11-5.debian.tar.xz
 a047b62b3e240ced29ccd24ff9c5b352 79629488 libs None openkim-models_2021.08.11-5.git.tar.xz
 525dd2a85124e563df4c788e378024c8 17602 libs optional openkim-models_2021.08.11-5_source.buildinfo
Git-Tag-Info: tag=c9a807a030dd95df54b5e2247852c458c8bf0185 fp=bbbd45ea818ab86ff67e7285d3e17383cfa7ff06
Git-Tag-Tagger: Anton Gladky <gladk@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmp0rIIACgkQYG0ITkaD
wHml6RAArgd4CHpwV3EtsEg6pZH8f8g1U/AifBIK+mhXiKoAXbwUpcNnfc/pcV9D
mkGBSKU19HjZ1MFcA/5v8GnhPqsFu1iQV/gKAsKY4Mk0hxflsRmOKOtq98YOVlkE
mr8AVzyhV1fw8ZGfoMikvZvIFpyCajvXbOIMd3zWSMA56mtNBQD1HhGcn5YqVOnu
9KaeaEmnuzSOmYZ+LJSusapf0ZGU7LuSrYyOm/r/HD8UIW+SwWNQFe1QsxkMwMBt
nwtN7BDkxnG4AOricba3rWxCpFBs1dRuLHWH+Kt79toukNIpq7HlJAHGznKFjGQT
fToywbfYCI1mWYPPqocee+HMYEPlnN5mK/xmahdo2b4y1pqQRFcajai9KIkEzOo4
2vfSL29AbWMC5wzackJOQ9/5GpKXUDVA3vaBZzoqldZhpBpwPzeWqO9WRbQ2JXYM
er3ex6WM9xM66vz5n6+a6UnH8r+CMDRUCBL1w5YKDIfySsKokmdp2GQk4Qyb93L0
DGBMKVqUc4P+jcfr2oP9Y9+BImXW1O18KzWWQQRTYGgTOK/3DuHxGzNkdn36BX+/
EEmbht35wh/0VSB3YwfI6lHypMPw7uYJEy7ujXeFL4ZSeoMSO0+PVoSMMYXv9alN
ggqzREYrjkZaon3rXdb7p3bSMPI9f4lnOfydb4kG7dtWwZ1gs3E=
=dyNY
-----END PGP SIGNATURE-----