[Bug 264978] graphics/wayland: MSG_CMSG_CLOEXEC is broken
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 264978] graphics/wayland: MSG_CMSG_CLOEXEC is broken"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264978] graphics/wayland: MSG_CMSG_CLOEXEC is broken"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264978] graphics/wayland: MSG_CMSG_CLOEXEC is broken"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Jul 2022 15:28:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264978
Bug ID: 264978
Summary: graphics/wayland: MSG_CMSG_CLOEXEC is broken
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: x11@FreeBSD.org
Reporter: thierry@FreeBSD.org
Flags: maintainer-feedback?(x11@FreeBSD.org)
Assignee: x11@FreeBSD.org
Trying to build graphics/wayland on poudriere FreeBSD-13 / amd64, it fails with
the following error:
[ 7% 7/88] cc -Isrc/libwayland-private.a.p -Isrc -I../src
-I/usr/local/include/libepoll-shim -I/usr/local/include -fno-color-diagnostics
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MQ
src/libwayland-private.a.p/wayland-os.c.o -MF
src/libwayland-private.a.p/wayland-os.c.o.d -o
src/libwayland-private.a.p/wayland-os.c.o -c ../src/wayland-os.c
FAILED: src/libwayland-private.a.p/wayland-os.c.o
cc -Isrc/libwayland-private.a.p -Isrc -I../src
-I/usr/local/include/libepoll-shim -I/usr/local/include -fno-color-diagnostics
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MQ
src/libwayland-private.a.p/wayland-os.c.o -MF
src/libwayland-private.a.p/wayland-os.c.o.d -o
src/libwayland-private.a.p/wayland-os.c.o -c ../src/wayland-os.c
../src/wayland-os.c:90:25: error: use of undeclared identifier 'SOL_LOCAL'
if (getsockopt(sockfd, SOL_LOCAL, LOCAL_PEERCRED, &ucred, &len) < 0 ||
^
../src/wayland-os.c:178:9: warning: Using fallback directly since
MSG_CMSG_CLOEXEC is broken. [-W#pragma-messages]
#pragma message("Using fallback directly since MSG_CMSG_CLOEXEC is broken.")
^
1 warning and 1 error generated.
ninja: build stopped: subcommand failed.
Previously, during configure, there is this message:
Checking if "MSG_CMSG_CLOEXEC works correctly" compiles: NO
Any idea of a possible cause?
--
You are receiving this mail because:
You are the assignee for the bug.