Lintian ReportsBETA

debug-symbols-not-detached

This file is in a location generally used for detached debugging symbols, but it appears to contain a complete copy of the executable or library instead of only the debugging symbols. Files in subdirectories of /usr/lib/debug mirroring the main file system should contain only debugging information generated by objcopy --only-keep-debug. Binaries or shared objects built with extra debugging should be installed directly in /usr/lib/debug or in subdirectories corresponding to the package, not in the directories that mirror the main file system.

If you are using dh_strip with the --dbg-package flag, don't also install the library in /usr/lib/debug. dh_strip does all the work for you.

For more information please consult:

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit ca97c3a. For merge requests, please use the latest version in the Lintian check binaries/debug-symbols/detached.

Visibility: warning

Renamed from:
  • debug-file-should-use-detached-symbols

Found no packages in the archive that triggered the tag.