[Bug 269869] Chromium Build fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Feb 2023 05:07:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269869

            Bug ID: 269869
           Summary: Chromium Build fails
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: jnaughto@ee.ryerson.ca
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.