[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1078706: lintian: report an error when a package installs a file into an aliased location (merged-/usr, /usr-move, DEP17)



On Wed, 14 Aug 2024 16:53:43 +0200 Helmut Grohne <helmut@subdivi.de> wrote:
Source: lintian
Version: 2.118.0
Tags: patch
User: helmutg@debian.org
Usertags: dep17m2

Hi lintian maintainers,

I am proposing the addition of a new lintian-tag "aliased-location" that
is to be emitted for the inclusion of any file below one of the
locations /bin, /lib* or /sbin as only base-files should carry the
relevant aliasing links and all other packages should move their files
as part of the /usr-move transition. At this time, we're below 100
offending source package all of which have a bug report at rc severity.
We have a pending policy change making this mandatory. Consequently, I
am proposing a check for lintian and attaching a patch.

I note that I cannot currently test the patch as lintian fails to build
from source. I have filed a separate bug about that. Also note that I am
removing the subdir-in-bin tag, because any affected file emits
aliased-location with my patch and subdirectories are allowed in
/usr/bin, so this tag can no longer be emitted.

Please let me know if you have any questions regarding the transition or
the patch.

Helmut

Hi,

Thanks for your contribution.

Would it be possible to open a Merge Request on Salsa instead? It's much less work for us to do code review there, especially since salsa-ci runs the testsuite automatically.

https://salsa.debian.org/lintian/lintian

Cheers,

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄


Reply to: