../libplacebo-v2.43.0/src/vulkan/context.c: In function pl_vulkan_choose_device: ../libplacebo-v2.43.0/src/vulkan/context.c:627:10: error: VK_PHYSICAL_DEVICE_TYPE_END_RANGE undeclared (first use in this function); did you mean VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM? 627 | [VK_PHYSICAL_DEVICE_TYPE_END_RANGE+1] = {0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-libressl-20200605-232830 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.1 [2] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.44.0 * [2] rust-1.44.0 The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-8] *) IcedTea JDK 3.16.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri 12 Jun 2020 11:05:19 PM UTC /var/db/repos/libressl Tue 02 Jun 2020 02:35:03 AM UTC emerge -qpvO media-libs/libplacebo [ebuild N ] media-libs/libplacebo-2.43.0 USE="lcms opengl shaderc vulkan -glslang -test" ABI_X86="(64) -32 (-x32)"
Created attachment 644654 [details] emerge-info.txt
Created attachment 644656 [details] emerge-history.txt
Created attachment 644658 [details] environment
Created attachment 644660 [details] etc.portage.tbz2
Created attachment 644662 [details] media-libs:libplacebo-2.43.0:20200613-000019.log
Created attachment 644664 [details] temp.tbz2
This is an issue of combining a too-new version of vulkan-headers with a too-old version of libplacebo. You can fix it by either upgrading to libplacebo 2.72 (the ebuild for which is unfortunately still sitting in a PR on github), or by downgrading vulkan-headers to a version before v1.2.140. I'll fix this issue by making the dependency on vulkan-headers more restrictive.
(In reply to Niklas Haas from comment #7) > I'll fix this issue by making the dependency on vulkan-headers more > restrictive. Changed my mind, the fix is easy to backport.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60bf2b4609439e1b3d96059102a57d2e7163ea9b commit 60bf2b4609439e1b3d96059102a57d2e7163ea9b Author: Niklas Haas <gentoo@haasn.xyz> AuthorDate: 2020-06-17 01:41:43 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-06-18 09:13:19 +0000 media-libs/libplacebo: backport vulkan-headers compatibility patch This patch is needed to compile older versions of libplacebo against versions of vulkan-headers newer than 1.2.140. It doesn't break anything retroactively, and doesn't change behaviour, nor installed headers, so we don't need to bump the revision number. Closes: https://bugs.gentoo.org/728248 Signed-off-by: Niklas Haas <gentoo@haasn.xyz> Closes: https://github.com/gentoo/gentoo/pull/16243 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...43.0-vulkan-headers-1.2.140-compatibility.patch | 59 ++++++++++++++++++++++ media-libs/libplacebo/libplacebo-2.43.0.ebuild | 4 ++ 2 files changed, 63 insertions(+)
Any practical reasons not to cleanup? (See PR)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65124aa2f3dae5f5266053134ceeda3e01064bee commit 65124aa2f3dae5f5266053134ceeda3e01064bee Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-02 08:28:47 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-19 16:41:19 +0000 media-libs/libplacebo: Drop 1.21.0-r1 and 1.29.1 Bug: https://bugs.gentoo.org/728248 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-libs/libplacebo/Manifest | 2 - media-libs/libplacebo/libplacebo-1.21.0-r1.ebuild | 55 ----------------------- media-libs/libplacebo/libplacebo-1.29.1.ebuild | 55 ----------------------- 3 files changed, 112 deletions(-)