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

Bug 925901

Summary: dev-util/cutter-2.3.2 fails to compile: ThreadsWidget.cpp:12:6: error: type ColumnIndex violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: John Helmert III <ajak>
Status: RESOLVED FIXED    
Severity: normal CC: ajak
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/rizinorg/cutter/issues/3316
See Also: https://github.com/rizinorg/cutter/pull/3317
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-01 08:37:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/cutter-2.3.2 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-01 08:37:04 UTC
Created attachment 886420 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-01 08:37:05 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: cutter 
/var/tmp/portage/dev-util/cutter-2.3.2/work/Cutter-v2.3.2/src/widgets/ThreadsWidget.cpp:12:6: error: type ‘ColumnIndex’ violates the C++ One Definition Rule [-Werror=odr]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-03 05:02:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a789463383666e2d3b0c0567dca0526547bb8625

commit a789463383666e2d3b0c0567dca0526547bb8625
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-03 03:45:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-03 04:37:50 +0000

    dev-util/cutter: mark as LTO-unsafe
    
    Fixed upstream but not released.
    
    Closes: https://bugs.gentoo.org/925901
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cutter/cutter-2.3.2.ebuild | 11 +++++++++--
 dev-util/cutter/cutter-2.3.3.ebuild |  9 ++++++++-
 2 files changed, 17 insertions(+), 3 deletions(-)