| Summary: | multimedia/kodi-devel: fails to build with WAYLAND=on | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | tobik, w.schwarzenfeld |
| Priority: | --- | Keywords: | needs-patch |
| Version: | Latest | Flags: | tobik:
maintainer-feedback+
|
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 234930 | ||
|
Description
Jan Beich
2018-10-15 20:28:56 UTC
xbmc/windowing/wayland/WindowDecorator.cpp:16:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
build log: https://ptpb.pw/-utl
(In reply to Jan Beich from comment #1) Hmm, WAYLAND support in kodi-devel is something that I only test in my ports tree fork with an updated v4l_compat that installs more evdev headers too. This probably means that the GBM option is broken too with the vanilla ports tree. I think that this is something that should be fixed in v4l_compat or by finally committing evdev-proto [1]. Otherwise the solution is probably trivial, i.e. change <linux/input-event-codes.h> to <dev/evdev/input-event-codes.h> etc. to use base system evdev headers. [1] https://reviews.freebsd.org/D7588 waylandpp a dependency, tries to pull in libwayland-egl.so and libEGL.so. I think USE_GL=egl should placed under WAYLAND_OFF (or something like that). Ok, no problems with waylandpp with the new revision (builds fine). A commit references this bug: Author: tobik Date: Tue Oct 16 08:22:02 UTC 2018 New revision: 482209 URL: https://svnweb.freebsd.org/changeset/ports/482209 Log: multimedia/kodi-devel: Unbreak GBM and WAYLAND - Disable them on FreeBSD 10 as they are unlikely to work there - Make sure the necessary evdev headers can be found xbmc/windowing/wayland/WindowDecorator.cpp:16:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - Explicitly link with libpthread and librt to get past the configure stage with GBM=on /usr/local/lib/libepoll-shim.so: undefined reference to `timer_settime' /usr/local/lib/libepoll-shim.so: undefined reference to `timer_delete' /usr/local/lib/libepoll-shim.so: undefined reference to `pthread_getthreadid_np' /usr/local/lib/libepoll-shim.so: undefined reference to `pthread_create' /usr/local/lib/libepoll-shim.so: undefined reference to `timer_create' /usr/local/lib/libepoll-shim.so: undefined reference to `timer_getoverrun' PR: 232299 Changes: head/multimedia/kodi-devel/Makefile Should be fixed. Thanks for reporting! |