<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Build fails - needs sys/epoll and then SO_PEERCRED."
href="https://bugs.freedesktop.org/show_bug.cgi?id=62055">62055</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Build fails - needs sys/epoll and then SO_PEERCRED.
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>NetBSD
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lolbugzilla@mailinator.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.0.5
</td>
</tr>
<tr>
<th>Component</th>
<td>wayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=76214" name="attach_76214" title="Wayland build log (without modifying wayland-os.c)">attachment 76214</a> <a href="attachment.cgi?id=76214&action=edit" title="Wayland build log (without modifying wayland-os.c)">[details]</a></span>
Wayland build log (without modifying wayland-os.c)
Needs sys/epoll.h, which seems a Linuxism. When changed to use just poll.h, the
build continues and further fails with:
Making all in src
CC wayland-os.lo
wayland-os.c: In function 'wl_os_epoll_create_cloexec':
wayland-os.c:145:2: warning: implicit declaration of function 'epoll_create'
CCLD libwayland-util.la
CCLD wayland-scanner
/usr/pkg/bin/bmake all-am
CC wayland-protocol.lo
CC wayland-server.lo
wayland-server.c:78:15: error: field 'ucred' has incomplete type
wayland-server.c: In function 'wl_client_create':
wayland-server.c:350:33: error: 'SO_PEERCRED' undeclared (first use in this
function)
wayland-server.c:350:33: note: each undeclared identifier is reported only once
for each function it appears in
*** Error code 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>