Bug 11501 - compile sdl2 with enable wayland
Summary: compile sdl2 with enable wayland
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.02.3
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 08:05 UTC by hertz
Modified: 2019-02-15 22:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hertz 2018-11-12 08:05:59 UTC
compile sdl2 with enable wayland will get error, show below:

/bin/bash: /usr/bin/wayland-scanner: No such file or directory
/bin/bash: /usr/bin/wayland-scanner: No such file or directory
  GEN    gen/pointer-constraints-unstable-v1-protocol.c
/bin/bash: /usr/bin/wayland-scanner: No such file or directory
  CC     build/SDL_waylandevents.lo
/bin/bash: /usr/bin/wayland-scanner: No such file or directory
  GEN    gen/relative-pointer-unstable-v1-protocol.c
/bin/bash: /usr/bin/wayland-scanner: No such file or directory
Makefile:674: recipe for target 'gen/wayland-client-protocol.h' failed
make[2]: *** [gen/wayland-client-protocol.h] Error 127
make[2]: *** Waiting for unfinished jobs....
Makefile:681: recipe for target 'gen/relative-pointer-unstable-v1-client-protocol.h' failed
make[2]: *** [gen/relative-pointer-unstable-v1-client-protocol.h] Error 127
Makefile:670: recipe for target 'gen/wayland-protocol.c' failed
make[2]: *** [gen/wayland-protocol.c] Error 127
Makefile:693: recipe for target 'gen/pointer-constraints-unstable-v1-protocol.c' failed
make[2]: *** [gen/pointer-constraints-unstable-v1-protocol.c] Error 127
Makefile:685: recipe for target 'gen/pointer-constraints-unstable-v1-client-protocol.h' failed
make[2]: *** [gen/pointer-constraints-unstable-v1-client-protocol.h] Error 127
/bin/bash: /usr/bin/wayland-scanner: No such file or directory
Makefile:689: recipe for target 'gen/relative-pointer-unstable-v1-protocol.c' failed
make[2]: *** [gen/relative-pointer-unstable-v1-protocol.c] Error 127
/home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/src/video/wayland/SDL_waylandevents.c:41:61: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory
 #include "pointer-constraints-unstable-v1-client-protocol.h"
                                                             ^
compilation terminated.
Makefile:563: recipe for target 'build/SDL_waylandevents.lo' failed
make[2]: *** [build/SDL_waylandevents.lo] Error 1
package/pkg-generic.mk:247: recipe for target '/home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/.stamp_built' failed
make[1]: *** [/home/wh/3399/buildroot/output/rockchip_rk3399/build/sdl2-2.0.7/.stamp_built] Error 2
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Comment 1 Thomas Petazzoni 2018-12-03 12:41:34 UTC
package/sdl2/sdl2.mk currently contains --disable-video-wayland, so we don't support building againt Wayland. Therefore, I guess you got this error after making some changes to Buildroot to add Wayland support to the SDL2 package ?
Comment 2 Thomas Petazzoni 2019-02-15 22:18:20 UTC
No feedback for several months, and Wayland support in SDL2 is disabled in the current Buildroot.