Summary: | kde-apps/gwenview-23.08.4: error: type ‘Gwenview::Sorting::Enum’ violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viorel Munteanu <ceamac> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | paolo.pedroni, rkitover |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: |
build.log
emerge --info |
Created attachment 881742 [details]
emerge --info
*** Bug 921687 has been marked as a duplicate of this bug. *** Same for kde-apps/gwenview-24.02.0:6 |
Created attachment 881741 [details] build.log /mnt/tmp/portage/kde-apps/gwenview-23.08.4/work/gwenview-23.08.4/lib/../lib/sorting.h:37:6: error: type ‘Gwenview::Sorting::Enum’ violates the C++ One Definition Rule [-Werror=odr] 37 | enum Enum { | ^ /mnt/tmp/portage/kde-apps/gwenview-23.08.4/work/gwenview-23.08.4/lib/../lib/sorting.h:37:6: note: an enum with different number of values is defined in another translation unit 37 | enum Enum { | ^ lto1: some warnings being treated as errors lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-g++ returned 1 exit status compilation terminated. /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.