multiarch and lintian overrides
Dear Ada packagers...
Gnat uses trampolines to handle exceptions, this sometimes triggers a
lintian warning about executable stack. So an Ada library package may
need a lintian override file like the following.
/usr/share/lintian/overrides/$(package)
--
# GNAT uses trampolines for Ada exceptions.
$(package) binary: shlib-with-executable-stack usr/lib/$(DEB_HOST_MULTIARCH)/$(soname)
--
This is an error because /usr/share/* files should be
architecture-independant. This is recommended, and mandatory for
multiarch. You will want to replace the second line with
$(package) binary: shlib-with-executable-stack usr/lib/*/$(soname)
That is the reason why inside jokers were added to lintian overrides.
See #617991 for more details.
Reply to: