Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732120 - libsdl2-2.0.10-r1 fails to build with vulkan flag
Summary: libsdl2-2.0.10-r1 fails to build with vulkan flag
Status: RESOLVED DUPLICATE of bug 721954
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-10 17:55 UTC by Cihan Özakça
Modified: 2020-07-10 17:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cihan Özakça 2020-07-10 17:55:23 UTC
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'
Comment 1 Andreas Sturmlechner gentoo-dev 2020-07-10 17:57:53 UTC

*** This bug has been marked as a duplicate of bug 721954 ***