Lintian info message "hardening-no-bindnow" with vanilla debian/rules
- To: Debian Python list <debian-python@lists.debian.org>
- Subject: Lintian info message "hardening-no-bindnow" with vanilla debian/rules
- From: Julian Gilbey <jdg@debian.org>
- Date: Tue, 30 Aug 2022 08:54:08 +0100
- Message-id: <Yw3CIBZK8kBBrp/n@d-and-j.net>
Hi!
A package I maintain within the team (python3-pyxdameraulevenshtein)
gives the following lintian message:
I: python3-pyxdameraulevenshtein: hardening-no-bindnow [usr/lib/python3/dist-packages/pyxdameraulevenshtein.cpython-310-x86_64-linux-gnu.so]
The debian/rules file is very bland, essentially:
%:
dh $@ --buildsystem=pybuild
and there is nothing about CFLAGS or the like in the setup.py file.
So if having this hardening flag enabled is a good thing, it should
probably be enabled somewhere within the pybuild system, rather than
every individual package with an extension file doing it.
Or have I missed something?
Best wishes,
Julian
Reply to: