emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure: 'seccomp-filter'


From: Andreas Schwab
Subject: Re: Build failure: 'seccomp-filter'
Date: Mon, 12 Apr 2021 00:31:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

There are now different failures:

<https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/15.2/x86_64>

seccomp-filter.c: In function ‘main’:
seccomp-filter.c:356:34: error: ‘SECCOMP_SET_MODE_FILTER’ undeclared (first use 
in this function); did you mean ‘HAVE_DECL_SECCOMP_SET_MODE_FILTER’?
         SCMP_A0_32 (SCMP_CMP_EQ, SECCOMP_SET_MODE_FILTER),
                                  ^
seccomp-filter.c:112:48: note: in definition of macro ‘RULE’
       const struct scmp_arg_cmp arg_array[] = {__VA_ARGS__};         \
                                                ^~~~~~~~~~~
/usr/include/libseccomp/seccomp.h:211:2: note: in expansion of macro 
‘SCMP_CMP64’
  SCMP_CMP64(x, y, (uint32_t)(z))
  ^~~~~~~~~~
/usr/include/libseccomp/seccomp.h:209:2: note: in expansion of macro 
‘_SCMP_CMP32_1’
  func ## nargs
  ^~~~
/usr/include/libseccomp/seccomp.h:244:28: note: in expansion of macro 
‘SCMP_CMP32’
 #define SCMP_A0_32(x, ...) SCMP_CMP32(0, x, __VA_ARGS__)
                            ^~~~~~~~~~
seccomp-filter.c:356:9: note: in expansion of macro ‘SCMP_A0_32’
         SCMP_A0_32 (SCMP_CMP_EQ, SECCOMP_SET_MODE_FILTER),
         ^~~~~~~~~~
seccomp-filter.c:356:34: note: each undeclared identifier is reported only once 
for each function it appears in
         SCMP_A0_32 (SCMP_CMP_EQ, SECCOMP_SET_MODE_FILTER),
                                  ^
seccomp-filter.c:112:48: note: in definition of macro ‘RULE’
       const struct scmp_arg_cmp arg_array[] = {__VA_ARGS__};         \
                                                ^~~~~~~~~~~
/usr/include/libseccomp/seccomp.h:211:2: note: in expansion of macro 
‘SCMP_CMP64’
  SCMP_CMP64(x, y, (uint32_t)(z))
  ^~~~~~~~~~
/usr/include/libseccomp/seccomp.h:209:2: note: in expansion of macro 
‘_SCMP_CMP32_1’
  func ## nargs
  ^~~~
/usr/include/libseccomp/seccomp.h:244:28: note: in expansion of macro 
‘SCMP_CMP32’
 #define SCMP_A0_32(x, ...) SCMP_CMP32(0, x, __VA_ARGS__)
                            ^~~~~~~~~~
seccomp-filter.c:356:9: note: in expansion of macro ‘SCMP_A0_32’
         SCMP_A0_32 (SCMP_CMP_EQ, SECCOMP_SET_MODE_FILTER),
         ^~~~~~~~~~
seccomp-filter.c:357:34: error: ‘SECCOMP_FILTER_FLAG_TSYNC’ undeclared (first 
use in this function); did you mean ‘SCMP_FLTATR_CTL_TSYNC’?
         SCMP_A1_32 (SCMP_CMP_EQ, SECCOMP_FILTER_FLAG_TSYNC));
                                  ^
seccomp-filter.c:112:48: note: in definition of macro ‘RULE’
       const struct scmp_arg_cmp arg_array[] = {__VA_ARGS__};         \
                                                ^~~~~~~~~~~
/usr/include/libseccomp/seccomp.h:211:2: note: in expansion of macro 
‘SCMP_CMP64’
  SCMP_CMP64(x, y, (uint32_t)(z))
  ^~~~~~~~~~
/usr/include/libseccomp/seccomp.h:209:2: note: in expansion of macro 
‘_SCMP_CMP32_1’
  func ## nargs
  ^~~~
/usr/include/libseccomp/seccomp.h:255:28: note: in expansion of macro 
‘SCMP_CMP32’
 #define SCMP_A1_32(x, ...) SCMP_CMP32(1, x, __VA_ARGS__)
                            ^~~~~~~~~~
seccomp-filter.c:357:9: note: in expansion of macro ‘SCMP_A1_32’
         SCMP_A1_32 (SCMP_CMP_EQ, SECCOMP_FILTER_FLAG_TSYNC));
         ^~~~~~~~~~


Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]