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

Bug 924410

Summary: app-misc/ckb-0.6.0-r1 fails to compile: ckbsettingswriter.cpp:6:15: error: settingsMutex 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    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/ckb-next/ckb-next/pull/1040
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

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

Issue: app-misc/ckb-0.6.0-r1 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-02-13 08:14:00 UTC
Created attachment 884840 [details]
build.log

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


FAILED: bin/ckb-next 
/var/tmp/portage/app-misc/ckb-0.6.0-r1/work/ckb-next-0.6.0/src/gui/ckbsettingswriter.cpp:6:15: error: ‘settingsMutex’ violates the C++ One Definition Rule [-Werror=odr]
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-02-17 20:38:11 UTC
Patch submitted upstream, but will wait for upstream response before adding to Gentoo.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-11 17:23:42 UTC
The bug has been closed via the following commit(s):

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

commit 6fed1bde14cd4b9a885215fb0643cad74b25d51f
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2024-05-11 17:22:05 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2024-05-11 17:23:20 +0000

    app-misc/ckb: fix ODR build failure
    
    Closes: https://bugs.gentoo.org/924410
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-misc/ckb/ckb-0.6.0-r2.ebuild       | 77 ++++++++++++++++++++++++++++++++++
 app-misc/ckb/files/ckb-0.6.0-odr.patch | 32 ++++++++++++++
 2 files changed, 109 insertions(+)