Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2019 21:50:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238085] graphics/glfw doesn't build when WAYLAND option is set
Message-ID:  <bug-238085-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238085

            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@FreeBSD.org
          Reporter: list1@gjunka.com
                CC: neel@neelc.org
                CC: neel@neelc.org
             Flags: maintainer-feedback?(neel@neelc.org)

It builds fine when using default options but when WAYLAND is selected inst=
ead
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=20
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -=
fPIC
  -Wall -fvisibility=3Dhidden -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=20=20
-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=20
-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=3Dhidden -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=20
-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=3Dhidden -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=20
-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=3Dhidden -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.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/glfw
=3D>> Cleaning up wrkdir
=3D=3D=3D>  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 !!!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238085-7788>