Bug 62055

Summary: Support NetBSD
Product: Wayland Reporter: lolbugzilla
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: 1.0.5   
Hardware: x86-64 (AMD64)   
OS: NetBSD   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 91799    
Bug Blocks:    
Attachments: Wayland build log (without modifying wayland-os.c)

Description lolbugzilla 2013-03-09 11:33:07 UTC
Created attachment 76214 [details]
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
Comment 1 lolbugzilla 2013-03-09 11:35:34 UTC
Also, when adding publican as a build dependency, it is not detected by Wayland:

=> Full dependency p5-Publican-[0-9]*: found p5-Publican-3.1.1
[...]
checking for publican... no
[...]
Comment 2 Kristian Høgsberg 2013-04-03 21:05:32 UTC
Editing title, changing from blocker to enhancement.

This is not a bug, we currently don't support NetBSD and use Linux interfaces where it makes sense.
Comment 3 GitLab Migration User 2018-06-08 23:50:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/wayland/issues/39.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.