[Bug 267765] multimedia/mpv: fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Nov 2022 18:19:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267765

--- Comment #1 from Dmitry Marakasov <amdmi3@FreeBSD.org> ---
Error:

meson.build:979:0: ERROR: C header 'linux/input-event-codes.h' not usable

```
A full log can be found at
/usr/work/usr/ports/multimedia/mpv/work/mpv-0.35.0/_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.
```

meson-log.txt excerpt:

```
Running compile:
Working directory: 
/usr/work/usr/ports/multimedia/mpv/work/mpv-0.35.0/_build/meson-private/tmpp0ixyf3v
Command line:  cc
/usr/work/usr/ports/multimedia/mpv/work/mpv-0.35.0/_build/meson-private/tmpp0ixyf3v/testfile.c
-o
/usr/work/usr/ports/multimedia/mpv/work/mpv-0.35.0/_build/meson-private/tmpp0ixyf3v/output.obj
-c -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing
-DLIBICONV_PLUG -D_FILE_OFFSET_BITS=64 -O0
-Werror=implicit-function-declaration -Werror=unknown-warning-option
-Werror=unused-command-line-argument -Werror=ignored-optimization-argument
-std=c11 

Code:

        #include <linux/input-event-codes.h>
Compiler stdout:

Compiler stderr:

/usr/work/usr/ports/multimedia/mpv/work/mpv-0.35.0/_build/meson-private/tmpp0ixyf3v/testfile.c:2:18:
fatal error: 'linux/input-event-codes.h' file not found
        #include <linux/input-event-codes.h>
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


meson.build:979:0: ERROR: C header 'linux/input-event-codes.h' not usable
```

-- 
You are receiving this mail because:
You are the assignee for the bug.