Åke Sandgren <ake.sandg...@umu.se> writes:

> Which OS is this?

CentOS 7.9

> I see no problems on Ubuntu 20.04 or 22.04
>
> ________________________________________
> From: easybuild-requ...@lists.ugent.be <easybuild-requ...@lists.ugent.be> on 
> behalf of Loris Bennett <loris.benn...@fu-berlin.de>
> Sent: Wednesday, May 24, 2023 8:24
> To: easybuild
> Subject: [easybuild] file-5.43-GCCcore-11.3.0.eb failure: __NR_statx 
> undeclared
>
> Hi,
>
> The following
>
>   eb file-5.43-GCCcore-11.3.0.eb
>
> fails with
>
>   In file included from seccomp.c:34:
>   seccomp.c: In function enable_sandbox_full:
>   seccomp.c:50:52: error: __NR_statx undeclared (first use in this function); 
> did you mean __lxstat?
>      50 |         if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 
> 0) == -1) \
>         |                                                    ^~~~~~~~
>   seccomp.c:230:9: note: in expansion of macro ALLOW_RULE
>     230 |         ALLOW_RULE(statx);
>         |         ^~~~~~~~~~
>   seccomp.c:50:52: note: each undeclared identifier is reported only once for 
> each function it appears in
>      50 |         if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 
> 0) == -1) \
>         |                                                    ^~~~~~~~
>   seccomp.c:230:9: note: in expansion of macro ALLOW_RULE
>     230 |         ALLOW_RULE(statx);
>         |         ^~~~~~~~~~
>   make[3]: *** [seccomp.o] Error 1
>
> Any ideas what might be going wrong?
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Herr/Mr)
> ZEDAT, Freie Universität Berlin
-- 
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin

Reply via email to