# The binary is musl-static by design, which trips three lintian checks
# that all assume a normal dynamically-linked Debian binary.
#
# unstripped-binary-or-object: the build passes --no-strip on purpose.
# cargo-deb's default `strip --strip-all` corrupts musl-static binaries
# and they SIGSEGV at startup; rustc has already dropped debuginfo at
# link time, so there is nothing left worth stripping anyway.
lblogd: unstripped-binary-or-object [usr/bin/lblogd]

# shared-library-lacks-prerequisites: lintian reads the static PIE as a
# shared library. It is an executable, and having no dynamic
# prerequisites is the entire point — these packages install on any
# Debian >= 9 regardless of host glibc.
lblogd: shared-library-lacks-prerequisites [usr/bin/lblogd]

# statically-linked-binary: the tag names the design decision itself.
# Policy reserves static linking for cases with a reason; the reason is
# the line above — one binary that runs on any host glibc. Emitted as an
# error by lintian >= 2.122, which is when it joined these overrides.
lblogd: statically-linked-binary [usr/bin/lblogd]
