From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Build failure: 'seccomp-filter'
Date: Sun, 11 Apr 2021 12:12:49 +0200
Message-ID:
References: <871rbhs4jk.fsf@yandex.com> <83mtu546b0.fsf@gnu.org>
<87wnt9qmxz.fsf@yandex.com>
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="20184"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Eli Zaretskii , Emacs developers
To: Colin Baxter
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 11 12:13:43 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 1lVX67-0005A5-Aw
for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 12:13:43 +0200
Original-Received: from localhost ([::1]:48012 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lVX66-00050k-DR
for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 06:13:42 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57210)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lVX5T-0004c4-75
for emacs-devel@gnu.org; Sun, 11 Apr 2021 06:13:03 -0400
Original-Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]:42709)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1lVX5R-0002Mq-KP; Sun, 11 Apr 2021 06:13:02 -0400
Original-Received: by mail-ot1-x329.google.com with SMTP id
101-20020a9d0d6e0000b02902816815ff62so4124297oti.9;
Sun, 11 Apr 2021 03:13:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc:content-transfer-encoding;
bh=ncFob/Q0joY9C5Ftw2MppiTYxtwwhuwS3CoyIN8O0jg=;
b=qAwAdLcFu846xDpJGriQwauKKFoCrIH4W5h+YuqS5ayPfWswvcUUt/FA9A5f6mKQjI
4euRbk+DoTcRCkfZIhlb6hiuatw4DuhiDj+qScQGggfBft9qL8RB9g9IGBvnNybvPhXP
yMxVNJ9kCk3zgTl9WNPVHNwVqCmK/BXEs0Mt6j5MK7YXwkWMTaZjAYed4Gtzny3aITMf
k4AFv7LnF/4FktuBK24b9KpZIYT/jcqRpCU3ISkIC8bq5gfMbvGn0EaVw+Y66hHUZQFr
0ANgQLmMgn3PmFIGEIGn6Ionb8hZLtcZ2pzlY48ItM9+AX2/E5KAe8A4u6Cx5qCqf6V6
G3IA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=ncFob/Q0joY9C5Ftw2MppiTYxtwwhuwS3CoyIN8O0jg=;
b=ls26nqEdVj+EIeyKiFEoPBNiUbjEIjN4ysEZs1CExLpQrZeerL1z++ElJE9rNSl220
IRidYXQN3RJWk2oAE7a8Y/YKf1CKvCcPNu5h0X30KL2ZwttMoFJS8KtyyiAXtI2KDj57
GpAPlD5cnrV1OiQf2ckyIzPI68Ta3hbPIren90NEwUNFycOvk8FfY/SUbgurKHsutibr
4zF9k8YyjNhCq6AF/6PzlyImmFT8nR/Sc/U9bzvWLRxzSNeRGCH2FvgZtcckZVjOiBxv
9rOJ2MX5GzNH+MvJ+PnZ/os7gPopt9SESwrpVG/8P5tdxe6M06FdFgCi5//gjDMQb2Zl
hjjA==
X-Gm-Message-State: AOAM531NFFzlPBYDDgFsdvGO8xnyBJ/N3CPG92/HeSwrmbvwxD1U+96X
6P0QCMHQp5vg9PTa6raLncyKgUCCEA8Inlt9Dog=
X-Google-Smtp-Source: ABdhPJwbihk996RycT6Cg3WpfoGrKF1+hUAHslOM+1kSIOmKKrE0OU0sgPS4rfPEDl8L2lA46rlrzs+ucsTmoeABq8g=
X-Received: by 2002:a05:6830:1046:: with SMTP id
b6mr19398191otp.156.1618135980160;
Sun, 11 Apr 2021 03:13:00 -0700 (PDT)
In-Reply-To: <87wnt9qmxz.fsf@yandex.com>
Received-SPF: pass client-ip=2607:f8b0:4864:20::329;
envelope-from=p.stephani2@gmail.com; helo=mail-ot1-x329.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, 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:267863
Archived-At:
Am So., 11. Apr. 2021 um 09:51 Uhr schrieb Colin Baxter =
:
>
> >>>>> Eli Zaretskii writes:
>
> >> From: Colin Baxter Cc: Date: Sun, 11 Apr 2021
> >> 07:45:19 +0100
> >>
> >> I get a build with the latest pull of emacs:
> >>
> >> 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 u=
ndeclared (first use in this function)
> ctx =3D seccomp_init (SCMP_ACT_KILL_PROCESS);
> ^~~~~~~~~~~~~~~~~~~~~
This is an interesting failure. Looks like seccomp.h exists on your
system, but doesn't contain the right definitions?
What does your config.log say about seccomp.h (not linux/seccomp.h)
and seccomp_init?