[Bug 238085] graphics/glfw doesn't build when WAYLAND option is set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 23 21:50:20 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238085

            Bug ID: 238085
           Summary: graphics/glfw doesn't build when WAYLAND option is set
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: list1 at gjunka.com
                CC: neel at neelc.org
                CC: neel at neelc.org
             Flags: maintainer-feedback?(neel at neelc.org)

It builds fine when using default options but when WAYLAND is selected instead
of X11 then it fails with:

/usr/local/libexec/ccache/cc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS -Iinclude
-Isrc -I/usr/local/include/libepoll-shim -O2 -pipe  -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC
  -Wall -fvisibility=hidden -MD -MT src/CMakeFiles/glfw.dir/wl_init.c.o -MF
src/CMakeFiles/glfw.dir/wl_init.c.o.d -o src/CMakeFiles/glfw.dir/wl_init.c.o  
-c src/wl_init.c
src/wl_init.c:32:10: fatal error: 'linux/input.h' file not found
#include <linux/input.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[21/135] /usr/local/libexec/ccache/cc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS
-Iinclude -Isrc -I/usr/local/include/libepoll-shim -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIC   -Wall -fvisibility=hidden -MD -MT
src/CMakeFiles/glfw.dir/posix_time.c.o -MF
src/CMakeFiles/glfw.dir/posix_time.c.o.d -o
src/CMakeFiles/glfw.dir/posix_time.c.o   -c src/posix_time.c
[22/135] /usr/local/libexec/ccache/cc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS
-Iinclude -Isrc -I/usr/local/include/libepoll-shim -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIC   -Wall -fvisibility=hidden -MD -MT
src/CMakeFiles/glfw.dir/wl_monitor.c.o -MF
src/CMakeFiles/glfw.dir/wl_monitor.c.o.d -o
src/CMakeFiles/glfw.dir/wl_monitor.c.o   -c src/wl_monitor.c
[23/135] /usr/local/libexec/ccache/cc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS
-Iinclude -Isrc -I/usr/local/include/libepoll-shim -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIC   -Wall -fvisibility=hidden -MD -MT
src/CMakeFiles/glfw.dir/wl_window.c.o -MF
src/CMakeFiles/glfw.dir/wl_window.c.o.d -o
src/CMakeFiles/glfw.dir/wl_window.c.o   -c src/wl_window.c
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/glfw
=>> Cleaning up wrkdir
===>  Cleaning for glfw-3.3
build of graphics/glfw | glfw-3.3 ended at Thu May 23 19:38:26 UTC 2019
build time: 00:00:12
!!! build failure encountered !!!

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


More information about the freebsd-ports-bugs mailing list