#1013416 lintian: broken embedded-library

Package:
lintian
Source:
lintian
Submitter:
Andreas Beckmann
Date:
2025-11-17 23:23:01 UTC
Severity:
important
Tags:
#1013416#5
Date:
2022-06-23 08:43:57 UTC
From:
To:
Hi,

I think embedded-library was recently broken.

After upgrading to lintian 2.115.0 I got
  "mismatched-override embedded-library"
reports. I commented them in order to get the new syntax, but the tag
was no longer emitted. Later I experimented with adding '[]' around the
filename and I'm no longer getting the mismatched-override, but also no
unused-override. And --show-overrides doesn't list them either. There is
something fishy here ...

src:nvidia-graphics-drivers-legacy-390xx 390.151-1 has the "old"
overrides (i.e. without [] around the file name) emitting
mismatched-override (but doesn't emit a correct embedded-library tag,
while it emits the correct tags for all other mismatched-override tags)

src:nvidia-graphics-drivers-legacy-390xx 390.151-2 has the overrides
removed completely

(I've not yet uploaded a package with the new overrides.)

BTW, that happens on lintian -i -I -E -v --pedantic *.changes

Andreas

#1013416#14
Date:
2022-06-23 09:18:02 UTC
From:
To:
Verified that this is a regression in 2.115.0 (I vaguely
remembered earlier problems with embedded-library, too):

2.114.0
# lintian nvidia-legacy-390xx-driver-bin_390.151-2_amd64.deb
running with root privileges is not recommended!
E: nvidia-legacy-390xx-driver-bin: embedded-library zlib usr/lib/nvidia/legacy-390xx/nvidia-debugdump
N: 4 hints overridden (2 warnings, 2 info); 0 unused overrides

2.115.0
# lintian nvidia-legacy-390xx-driver-bin_390.151-2_amd64.deb
running with root privileges is not recommended!

Perhaps that helps with bisecting to find the faulty commit?


Andreas

#1013416#19
Date:
2025-11-17 23:18:46 UTC
From:
To:
Hello,

This regression appears to have been fixed -- at least, the embedded-library
detection rule works again in v2.127.0 of lintian.

I don't know precisely when it was repaired, so I am not adding a 'fixed'
label/version or closing this bug yet.

To confirm the fix, I downloaded zsync 0.6.2-8 -- reported as affected on the
UDD lintian webpage for the tag[1] - and tested as follows:

  $ sudo apt install --download-only zsync
  Installing:
    zsync

  Summary:
    Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
    Download size: 0 B / 77.5 kB
    Space needed: 232 kB / 438 GB available

  Download complete and in download only mode
  $ lintian --version
  Lintian v2.127.0
  $ lintian /var/cache/apt/archives/zsync_0.6.2-8_amd64.deb
  E: zsync: embedded-library zlib [usr/bin/zsync]
  E: zsync: embedded-library zlib [usr/bin/zsyncmake]

Regards,
James

[1] - https://udd.debian.org/lintian-tag/embedded-library?affected=yes