Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830988 - media-libs/vulkan-layers-1.2.198-r1 fails to compile: subresource_adapter.h:67:5: error: definition of implicit copy assignment operator for Subresource is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
Summary: media-libs/vulkan-layers-1.2.198-r1 fails to compile: subresource_adapter.h:6...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-01-11 07:41 UTC by Agostino Sarubbo
Modified: 2022-10-09 14:45 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,109.70 KB, text/plain)
2022-01-11 07:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-11 07:41:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/vulkan-layers-1.2.198-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-11 07:41:24 UTC
Created attachment 761844 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-11 07:41:25 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find VulkanRegistry (missing: VulkanRegistry_DIR) 
/var/tmp/portage/media-libs/vulkan-layers-1.2.198-r1/work/Vulkan-ValidationLayers-sdk-1.2.198.0/layers/subresource_adapter.h:67:5: error: definition of implicit copy assignment operator for 'Subresource' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
Comment 3 Matt Turner gentoo-dev 2022-10-09 01:28:11 UTC
I only see this today with 1.3.216:

> cc1: error: command-line option ‘-Wdeprecated-copy’ is valid for C++/ObjC++ but not for C [-Werror]
> cc1: all warnings being treated as errors