[File] Build error with most recent git
Michał Górny
mgorny at gentoo.org
Sun Jun 16 14:27:49 UTC 2024
Hi,
The most recent git version doesn't seem to build for me anymore:
$ make
make all-recursive
make[1]: Entering directory '/home/mgorny/git/file'
Making all in src
make[2]: Entering directory '/home/mgorny/git/file/src'
make all-am
make[3]: Entering directory '/home/mgorny/git/file/src'
CC seccomp.o
seccomp.c: In function ‘enable_sandbox_basic’:
seccomp.c:160:9: error: ‘memory’ undeclared (first use in this function)
160 | memory
| ^~~~~~
seccomp.c:160:9: note: each undeclared identifier is reported only once for each function it appears in
seccomp.c:160:15: error: expected ‘;’ before ‘if’
160 | memory
| ^
| ;
161 | // applying filter...
162 | if (seccomp_load(ctx) == -1)
| ~~
make[3]: *** [Makefile:558: seccomp.o] Error 1
make[3]: Leaving directory '/home/mgorny/git/file/src'
make[2]: *** [Makefile:383: all] Error 2
make[2]: Leaving directory '/home/mgorny/git/file/src'
make[1]: *** [Makefile:465: all-recursive] Error 1
make[1]: Leaving directory '/home/mgorny/git/file'
make: *** [Makefile:374: all] Error 2
It seems to have been introduced in:
+FILE_RCSID("@(#)$File: seccomp.c,v 1.27 2024/05/14 13:46:09 christos Exp $")
...and the bare "memory" statement (no semicolon) looks weird.
--
Best regards,
Michał Górny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 512 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.astron.com/pipermail/file/attachments/20240616/8be20697/attachment.asc>
More information about the File
mailing list