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:   maintainer-feedback requested: [Bug 269869] Chromium Build fails
Message-ID:  <bug-269869-28929-jnKvhpAumM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269869-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269869-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-chromium (Nobo=
dy)
<chromium@FreeBSD.org> for maintainer-feedback:
Bug 269869: Chromium Build fails
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269869



--- Description ---
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_SEALING);
	     ^
../../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_SEALING);
					    ^
../../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_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



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