Summary: | media-libs/vulkan-layers-1.3.231 - /.../parameter_validation.cpp: error: unused variable AllVkFormatFeatureFlagBits [-Werror,-Wunu | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sam, sarnex |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 media-libs:vulkan-layers-1.3.231:20221124-114442.log temp.tar.bz2 var.tmp.clang.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 836349 [details]
emerge-info.txt
Created attachment 836351 [details]
emerge-history.txt
Created attachment 836353 [details]
environment
Created attachment 836355 [details]
etc.clang.tar.bz2
Created attachment 836357 [details]
etc.portage.tar.bz2
Created attachment 836359 [details]
logs.tar.bz2
Created attachment 836361 [details]
media-libs:vulkan-layers-1.3.231:20221124-114442.log
Created attachment 836363 [details]
temp.tar.bz2
Created attachment 836365 [details]
var.tmp.clang.tar.bz2
I can't reproduce this even with same compiler version, and USE, compiler flags. Strange. I didn't try much but I couldn't either, that's why I didn't block anything else like clang tracker. But should prevent passing -Werror either way. Oh right, actually this may be a side of effect of the bashrc hook, aka: * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T00:04)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. It has a tendency to confuse build systems. (In reply to Ionen Wolkens from comment #12) > It has a tendency to confuse build systems. Yeah, I couldn't reproduce without it, but the bashrc + this works: CC=clang CXX=clang++ PORTAGE_USE_CLANG_HOOK_GCC=1 emerge vulkan-layers CC sam@ just for information The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8294ca17a1822030a1bb22e80fafe32e0d0b212 commit f8294ca17a1822030a1bb22e80fafe32e0d0b212 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2022-11-24 15:26:05 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2022-11-24 15:26:59 +0000 media-libs/vulkan-layers: Disable -Werror Closes: https://bugs.gentoo.org/882727 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> media-libs/vulkan-layers/vulkan-layers-1.3.231.ebuild | 1 + media-libs/vulkan-layers/vulkan-layers-9999.ebuild | 1 + 2 files changed, 2 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5255d01d4eda811fd26e1be4124b06c34bff33 commit 8a5255d01d4eda811fd26e1be4124b06c34bff33 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2022-11-24 15:48:40 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2022-11-24 15:49:43 +0000 media-libs/vulkan-layers: You have got to be kidding me Bug: https://bugs.gentoo.org/882727 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> ...yers-1.3.231-Make-BUILD_WERROR-actually-work.patch | 19 +++++++++++++++++++ media-libs/vulkan-layers/vulkan-layers-1.3.231.ebuild | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) |