[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    tools build broken on linux
From:       Aymeric Vincent <aymericvincent () free ! fr>
Date:       2018-08-15 7:49:41
Message-ID: 8736vgysq2.fsf () free ! fr
[Download RAW message or body]


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:
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic