This is necessary to get things building again after libselinux changes. A proper fix is under discussion upstream: diff --git a/nss/makedb.c b/nss/makedb.c index 8e389a1683747cf1..9d81aed57d384a22 100644 --- a/nss/makedb.c +++ b/nss/makedb.c @@ -17,6 +17,10 @@ License along with the GNU C Library; if not, see . */ +/* This file uses deprecated declarations from libselinux. */ +#include +DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdeprecated-declarations"); + #include #include #include