From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: Build failure: 'seccomp-filter' Date: Sun, 11 Apr 2021 08:50:48 +0100 Message-ID: <87wnt9qmxz.fsf@yandex.com> References: <871rbhs4jk.fsf@yandex.com> <83mtu546b0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33059"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 11 09:51:40 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVUsd-0008VQ-N9 for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 09:51:39 +0200 Original-Received: from localhost ([::1]:33674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVUsc-0005k7-Nn for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 03:51:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVUs0-0005Fn-4x for emacs-devel@gnu.org; Sun, 11 Apr 2021 03:51:00 -0400 Original-Received: from forward104j.mail.yandex.net ([5.45.198.247]:51309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVUrv-0007EV-6s; Sun, 11 Apr 2021 03:50:59 -0400 Original-Received: from myt5-c20b1afdad56.qloud-c.yandex.net (myt5-c20b1afdad56.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4325:0:640:c20b:1afd]) by forward104j.mail.yandex.net (Yandex) with ESMTP id D351D4A0C59; Sun, 11 Apr 2021 10:50:50 +0300 (MSK) Original-Received: from myt3-07a4bd8655f2.qloud-c.yandex.net (myt3-07a4bd8655f2.qloud-c.yandex.net [2a02:6b8:c12:693:0:640:7a4:bd86]) by myt5-c20b1afdad56.qloud-c.yandex.net (mxback/Yandex) with ESMTP id cEWjK9bgr1-ooIG45VF; Sun, 11 Apr 2021 10:50:50 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1618127450; bh=2jaCHvX8yQxLWkB+dNtw7AVBYpMY0mcxO/mNYFWuKE8=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=D5Jv1n5+EjnIc/od/L5jFtfL7iGCGk7/ZiVZeedD5UU6kCr/w6CzH78zd512N9Pdp QnIiF3I0F1VWGMfEIeo+X949EuBNj6RZVFfFJ4aEyAAwHqvQtcVNxo62ZCtX8NKOhN ppMsG9H6/fZL2o4JsLn/n4+Tx02CIu1Bj90aGtJQ= Authentication-Results: myt5-c20b1afdad56.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by myt3-07a4bd8655f2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id maLhbretMS-onKCleb0; Sun, 11 Apr 2021 10:50:49 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <83mtu546b0.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Apr 2021 10:41:07 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=5.45.198.247; envelope-from=m43cap@yandex.com; helo=forward104j.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267861 Archived-At: >>>>> Eli Zaretskii writes: >> From: Colin Baxter Cc: Date: Sun, 11 Apr 2021 >> 07:45:19 +0100 >>=20 >> I get a build with the latest pull of emacs: >>=20 >> Makefile:415: recipe for target 'seccomp-filter' failed make[1]: >> *** [seccomp-filter] Error 1 make[1]: Leaving directory >> '/home/redknight/git/emacs/lib-src' Makefile:396: recipe for >> target 'lib-src' failed make: *** [lib-src] Error 2 > Are there no error or warning messages before the "Makefile:415" > one? If there are, please show all the messages. Yes, sorry, I missed the earlier errors. Here is the full list beginning after the attempt to compile seccomp-filter: ---------- Begin error list ------------ CCLD seccomp-filter seccomp-filter.c: In function =E2=80=98main=E2=80=99: seccomp-filter.c:142:23: error: =E2=80=98SCMP_ACT_KILL_PROCESS=E2=80=99 und= eclared (first use in this function) ctx =3D seccomp_init (SCMP_ACT_KILL_PROCESS); ^~~~~~~~~~~~~~~~~~~~~ seccomp-filter.c:142:23: note: each undeclared identifier is reported only = once for each function it appears in seccomp-filter.c:151:18: error: =E2=80=98SCMP_FLTATR_CTL_LOG=E2=80=99 undec= lared (first use in this function) set_attribute (SCMP_FLTATR_CTL_LOG, 0); ^~~~~~~~~~~~~~~~~~~ In file included from seccomp-filter.c:55:0: ../lib/verify.h:213:41: error: static assertion failed: "verify (sizeof (vo= id *) =3D=3D 8)" # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC) ^ ../lib/verify.h:273:20: note: in expansion of macro =E2=80=98_GL_VERIFY=E2= =80=99 # define verify(R) _GL_VERIFY (R, "verify (" #R ")", -) ^~~~~~~~~~ seccomp-filter.c:156:3: note: in expansion of macro =E2=80=98verify=E2=80=99 verify (sizeof (void *) =3D=3D 8); ^~~~~~ seccomp-filter.c:169:9: warning: implicit declaration of function =E2=80=98= SCMP_A2_32=E2=80=99 [-Wimplicit-function-declaration] SCMP_A2_32 (SCMP_CMP_MASKED_EQ, ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A2_32=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:168:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:174:9: warning: implicit declaration of function =E2=80=98= SCMP_A3_32=E2=80=99 [-Wimplicit-function-declaration] SCMP_A3_32 (SCMP_CMP_MASKED_EQ, ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A3_32=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:168:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:168:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:168:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:179:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:179:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mmap), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:189:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mprotect), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:189:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (mprotect), ^~~~ seccomp-filter.c:196:9: warning: implicit declaration of function =E2=80=98= SCMP_A1_32=E2=80=99 [-Wimplicit-function-declaration] SCMP_A1_32 (SCMP_CMP_EQ, FUTEX_WAKE_PRIVATE)); ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A1_32=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:195:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (futex), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:195:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (futex), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:195:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (futex), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:238:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (open), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:238:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (open), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:243:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (openat), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:243:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (openat), ^~~~ seccomp-filter.c:251:9: warning: implicit declaration of function =E2=80=98= SCMP_A0_32=E2=80=99 [-Wimplicit-function-declaration] SCMP_A0_32 (SCMP_CMP_EQ, STDIN_FILENO), ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A0_32=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:250:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (ioctl), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:250:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (ioctl), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:250:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (ioctl), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:255:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (fcntl), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:255:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (fcntl), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:257:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (fcntl64), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:257:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (fcntl64), ^~~~ seccomp-filter.c:274:9: warning: implicit declaration of function =E2=80=98= SCMP_A2_64=E2=80=99 [-Wimplicit-function-declaration] SCMP_A2_64 (SCMP_CMP_EQ, 0) /* new_limit =3D=3D NULL */); ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A2_64=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:272:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (prlimit64), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:272:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (prlimit64), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:272:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (prlimit64), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:277:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ERRNO (EPERM), SCMP_SYS (prlimit64), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:277:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ERRNO (EPERM), SCMP_SYS (prlimit64), ^~~~ seccomp-filter.c:294:9: warning: implicit declaration of function =E2=80=98= SCMP_A0_64=E2=80=99 [-Wimplicit-function-declaration] SCMP_A0_64 (SCMP_CMP_MASKED_EQ, ^ seccomp-filter.c:105:48: note: in definition of macro =E2=80=98RULE=E2=80=99 const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^~~~~~~~~~~ seccomp-filter.c:105:20: warning: nested extern declaration of =E2=80=98SCM= P_A0_64=E2=80=99 [-Wnested-externs] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:293:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (clone), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:293:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (clone), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:293:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (clone), ^~~~ seccomp-filter.c:105:47: warning: missing braces around initializer [-Wmiss= ing-braces] const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:306:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (prctl), ^~~~ seccomp-filter.c:105:47: note: (near initialization for =E2=80=98arg_array= =E2=80=99) const struct scmp_arg_cmp arg_array[] =3D {__VA_ARGS__}; \ ^ seccomp-filter.c:306:3: note: in expansion of macro =E2=80=98RULE=E2=80=99 RULE (SCMP_ACT_ALLOW, SCMP_SYS (prctl), ^~~~ Makefile:415: recipe for target 'seccomp-filter' failed make[1]: *** [seccomp-filter] Error 1 make[1]: Leaving directory '/home/redknight/git/emacs/lib-src' Makefile:396: recipe for target 'lib-src' failed make: *** [lib-src] Error 2 --------------- End error list --------- Best wishes,