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

Bug#968525: lintian: breakout-link reported for /usr/lib/$(DEB_HOST_MULTIARCH) -> /lib/$(DEB_HOST_MULTIARCH) symlinks



Hi Daniel,

Sorry about the delayed response on this part.

On Thu, Aug 19, 2021 at 4:30 PM Daniel Kahn Gillmor <dkg@debian.org> wrote:
>
> instead i get a lintian warning
> lacks-unversioned-link-to-shared-library

That is a very simple check. [1] Would you please include the full tag
context and a list of shipped files? The context mentions the expected
filename, which can be easily found in a shipping manifest (or not, in
your case).

There are two possible sources of bugs:

a) The expected file name is wrong. [2]
b) Lintian looks in the wrong folders. [3]

For (b) Lintian looks in the ld-config paths derived here [4] in part
from the multiarch path components found here. [5][6]

Kind regards
Felix Lechner

[1] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/SharedLibs.pm#L307-309
[2] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/SharedLibs.pm#L220-224
[3] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/SharedLibs.pm#L105
[4] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Data/Architectures.pm#L115
[5] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Data/Architectures.pm#L87
[6] https://salsa.debian.org/lintian/lintian/-/blob/master/data/architectures/host.json


Reply to: