On 2024-08-18 7 h 38 p.m., Thorsten Glaser wrote:
Package: lintian Version: 2.118.0 lintian reports now, after dh_movetousr: X: mksh: bin-sbin-mismatch bin/mksh -> usr/bin/mksh [usr/share/doc/mksh/examples/uhr] I can only assume that this is due to the #!/bin/mksh shebang in that file. If so, please carry a list of interpreters in lintian whose canonical path is in /bin/ (or /sbin/) instead of the /usr/-moved locations, so that people won’t mistakenly change the canonical #!/bin/mksh shebang to the unportable, broken #!/usr/bin/mksh[sic!].
Agreed, this is pretty bad.Happy to work on the Lintian code if someone can provide me with the aforementioned list (or a way to find it?).
I'm CCing Helmut as he's worked on usr-merge and might already have one! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org ⠈⠳⣄