Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jul 2022 15:28:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264978] graphics/wayland: MSG_CMSG_CLOEXEC is broken
Message-ID:  <bug-264978-7788@https.bugs.freebsd.org/bugzilla/>

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

            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-diagnost=
ics
-D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parame=
ter
-Wstrict-prototypes -Wmissing-prototypes -fvisibility=3Dhidden -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=20
cc -Isrc/libwayland-private.a.p -Isrc -I../src
-I/usr/local/include/libepoll-shim -I/usr/local/include -fno-color-diagnost=
ics
-D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parame=
ter
-Wstrict-prototypes -Wmissing-prototypes -fvisibility=3Dhidden -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?

--=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-264978-7788>