Hi,

FWIW, compiling the tools under Linux fails (also, see mandoc issue)
because of seccomp "support" in file when it's trying to generate the
magic file.

I don't recommend applying the following patch but it's allowed me to
work today. Probably fixing seccomp support in file is the way to go.

Regards,
 Aymeric

diff --git a/tools/file/Makefile b/tools/file/Makefile
index 9453861f06c7..9c296f4d935e 100644
--- a/tools/file/Makefile
+++ b/tools/file/Makefile
@@ -9,7 +9,7 @@ CONFIGURE_ENV+= CC=${HOST_CC:Q} \
                CXX=${HOST_CXX:Q}
 
 CONFIGURE_ARGS=        --program-prefix=${_TOOL_PREFIX} --disable-shared \
-               --disable-warnings
+               --disable-warnings --disable-libseccomp
 
 .NOTPARALLEL:
 

Reply via email to