Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 921687

Summary: kde-apps/gwenview-23.08.4: fails to build with LTO: lib/../lib/sorting.h:37:6: error: type ‘Gwenview::Sorting::Enum’ violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Rafael Kitover <rkitover>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: leohdz172
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Rafael Kitover 2024-01-10 04:14:10 UTC
Fails to build with the recommended flags according to:

https://wiki.gentoo.org/wiki/LTO

> emerge -pqv =kde-apps/gwenview-23.08.4
[ebuild   R   ] kde-apps/gwenview-23.08.4  USE="X activities* -debug -fits handbook mpris -raw -semantic-desktop -share -test"

Reproducible: Always
Comment 1 Rafael Kitover 2024-01-10 04:14:54 UTC
Created attachment 881801 [details]
build log
Comment 2 Rafael Kitover 2024-01-10 04:15:24 UTC
Created attachment 881802 [details]
emerge --info
Comment 3 Leonardo Hernández Hernández 2024-01-10 05:23:06 UTC

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