revery-ui/esy-sdl2

Build fails with Wayland 1.20

Jaakkonen opened this issue · 0 comments

      CC     build/SDL_virtualjoystick.lo
      CC     build/SDL_dummysensor.lo
      LTLINK build/libSDL2.la
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_receive':
    SDL_waylanddatamanager.c:(.text+0x54): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_destroy':
    SDL_waylanddatamanager.c:(.text+0x9f): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_offer':
    SDL_waylanddatamanager.c:(.text+0xf1): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_destroy':
    SDL_waylanddatamanager.c:(.text+0x138): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_device_set_selection':
    SDL_waylanddatamanager.c:(.text+0x193): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylandevents.o:SDL_waylandevents.c:(.text+0xb1): more undefined references to `wl_proxy_marshal_flags' follow
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:154: build/libSDL2.la] Error 1
    error: command failed: 'bash' '-c' './build-scripts/esybuild.sh --os=linux' (exited with 2)
    esy-build-package: exiting with errors above...

  building esy-sdl2@2.0.14000
esy: exiting due to errors above

Upstream bug and fixing commit:
libsdl-org/SDL#5088
libsdl-org/SDL@e2ade2b
The fix will probably be included in next release 2.0.19 where this project is still in version 2.0.14