Package: postfix
Version: 3.3.0-1+b1
Severity: normal

Dear Postfix Maintainers,

Looking at the postfix-dbgsym package I noticed that the debug files do
not actually contain any useful information. This is consistent with the
debug-file-with-no-debug-symbols lintian warning that is triggered by
the files in the package. I had a look at d/rules and it seems the
binaries are not compiled with '-g' unless DEB_BUILD_OPTIONS contains
'debug'. This is deprecated, and the Policy ยง10.1 specifies that:

  By default, when a package is being built, any binaries created should
  include debugging information, as well as being compiled with optimization.

I think the problem can be easily solved by always adding '-g' to
CCARGS, or by reverting the existing logic (set 'DEBUG += -g' unless
DEB_BUILD_OPTIONS contains 'nodebug').

Cheers,

Paride

[0] https://lintian.debian.org/maintainer/lam...@debian.org.html#postfix

Reply via email to