Trying to install gnome-light package but libsdl2 fails to build with vulkan flag enabled A part of build.log ibtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/li> libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> /var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL2-2.0.10/src/video/SDL_vulkan_utils.c: In function ‘SDL_Vulkan_GetResultString’: /var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL2-2.0.10/src/video/SDL_vulkan_utils.c:88:10: error: ‘VK_RESULT_RANGE_SIZE’ undeclared (first use in this f> 88 | case VK_RESULT_RANGE_SIZE: | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL2-2.0.10/src/video/SDL_vulkan_utils.c:88:10: note: each undeclared identifier is reported only once for ea> make: *** [Makefile:554: build/SDL_vulkan_utils.lo] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL> * ERROR: media-libs/libsdl2-2.0.10-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/libsdl2-2.0.10-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/libsdl2-2.0.10-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL2-2.0.10-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/libsdl2-2.0.10-r1/work/SDL2-2.0.10'
*** This bug has been marked as a duplicate of bug 721954 ***