RetroPie/RetroPie-Setup

retroarch failing to build on clean ubuntu noble install

theofficialgman opened this issue · 7 comments

input/drivers/udev_input.c:3855:14: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘binds + (sizetype)((long unsigned int)port * 4272)’ must not be NULL [-Waddress]
 3855 |          if (binds[port])
      |              ^~~~~
CC gfx/drivers_context/gfx_null_ctx.c
CC gfx/common/gl_common.c
CC gfx/drivers/gl2.c
CC libretro-common/gfx/gl_capabilities.c
CC libretro-common/glsym/rglgen.c
CC gfx/drivers/gl1.c
CC gfx/drivers_context/vc_egl_ctx.c
gfx/drivers_context/vc_egl_ctx.c:24:10: fatal error: VG/openvg.h: No such file or directory
   24 | #include <VG/openvg.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:209: obj-unix/release/gfx/drivers_context/vc_egl_ctx.o] Error 1
make: *** Waiting for unfinished jobs....
Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/runner/RetroPie-Setup/tmp/build/retroarch/retroarch not found).

vc_egl shouldn't be even attempted to be built on non-raspberry pi systems. this is probably a mistake in the configuration parameters.

full buildlog https://github.com/cobalt2727/L4T-Megascript/actions/runs/8923983609/job/24509379849#step:3:2716

cmitu commented

We don't set any configuration parameters for OpenVG, compilation is set to auto in the configure scripts. I don't think this is a RetroPie build issue, you may want to open this upstream or explicitely disable the openvg support in your scripts.