Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-chromium (Nobody)
<chrom...@freebsd.org> for maintainer-feedback:
Bug 269869: Chromium Build fails
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269869



--- Description ---
Running FreeBSD 12.4 on an amd64 system, and attempting to compile Chromium.  
Compile fails with:

FAILED: obj/third_party/wayland/wayland_cursor/os-compatibility.o
./../third_party/wayland/src/cursor/os-compatibility.c:127:7: warning: implicit
declaration of function 'memfd_create' is invalid in C99
[-Wimplicit-function-declaration]
        fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING);
             ^
../../third_party/wayland/src/cursor/os-compatibility.c:127:38: error: use of
undeclared identifier 'MFD_CLOEXEC'
        fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING);
                                            ^
../../third_party/wayland/src/cursor/os-compatibility.c:127:52: error: use of
undeclared identifier 'MFD_ALLOW_SEALING'
        fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING);
                                                          ^
../../third_party/wayland/src/cursor/os-compatibility.c:135:13: error: use of
undeclared identifier 'F_ADD_SEALS'
                fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL);
                          ^
../../third_party/wayland/src/cursor/os-compatibility.c:135:26: error: use of
undeclared identifier 'F_SEAL_SHRINK'
                fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL);
                                       ^
../../third_party/wayland/src/cursor/os-compatibility.c:135:42: error: use of
undeclared identifier 'F_SEAL_SEAL'
                fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL);
                                                       ^
1 warning and 5 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Reply via email to