Skip to contentSkip to conversation

solarus build failure not detected in the autobuilders

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Aug 29, 2025

lore
Share & tools
lore
#0 lore raw

Hello Romain,

Today I worked on updating OpenAL which is a dependency of Solarus, so I tried to verify Solarus would still build with the updated OpenAL, but Solarus doesn't build on current master.

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set BR2_PACKAGE_SOLARUS=y
BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_XORG7=y
BR2_PACKAGE_LUAJIT=y
# BR2_TARGET_ROOTFS_TAR is not set

fails with:

In file included from /home/thomas/projets/buildroot/output/build/solarus-1.6.5/src/graphics/sdlrenderer/SDLShader.cpp:32:
/home/thomas/projets/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/glm/gtx/transform.hpp:23:9: error: #error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."

   23 | #       error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~
In file included from /home/thomas/projets/buildroot/output/build/solarus-1.6.5/src/graphics/sdlrenderer/SDLShader.cpp:33:
/home/thomas/projets/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
   21 | #       error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~
[ 56%] Building CXX object CMakeFiles/solarus.dir/src/graphics/Surface.cpp.o
In file included from /home/thomas/projets/buildroot/output/build/solarus-1.6.5/src/graphics/Shader.cpp:30:
/home/thomas/projets/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/glm/gtx/transform.hpp:23:9: error: #error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
   23 | #       error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~
In file included from /home/thomas/projets/buildroot/output/build/solarus-1.6.5/src/graphics/Shader.cpp:31:
/home/thomas/projets/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
   21 | #       error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~

make[3]: *** [CMakeFiles/solarus.dir/build.make:1476: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlTexture.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/solarus.dir/build.make:1448: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlRenderer.cpp.o] Error 1 make[3]: *** [CMakeFiles/solarus.dir/build.make:1462: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlShader.cpp.o] Error 1 make[3]: *** [CMakeFiles/solarus.dir/build.make:1602: CMakeFiles/solarus.dir/src/graphics/Shader.cpp.o] Error 1 make[3]: *** [CMakeFiles/solarus.dir/build.make:1574: CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLShader.cpp.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/solarus.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/home/thomas/projets/buildroot/output/build/solarus-1.6.5'
make: *** [package/pkg-generic.mk:273: /home/thomas/projets/buildroot/output/build/solarus-1.6.5/.stamp_built] Error 2

Could you have a look when you have some time?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot