Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 05:07:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 269869] Chromium Build fails
Message-ID:  <bug-269869-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269869

            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=
.=20=20
Compile fails with:

FAILED: obj/third_party/wayland/wayland_cursor/os-compatibility.o
./../third_party/wayland/src/cursor/os-compatibility.c:127:7: warning: impl=
icit
declaration of function 'memfd_create' is invalid in C99
[-Wimplicit-function-declaration]
        fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI=
NG);
             ^
../../third_party/wayland/src/cursor/os-compatibility.c:127:38: error: use =
of
undeclared identifier 'MFD_CLOEXEC'
        fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI=
NG);
                                            ^
../../third_party/wayland/src/cursor/os-compatibility.c:127:52: error: use =
of
undeclared identifier 'MFD_ALLOW_SEALING'
        fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI=
NG);
                                                          ^
../../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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269869-28929>