Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924569 - app-text/mecab-0.996-r2 fails to compile: iconv_utils.h:19:7: error: type struct Iconv violates the C++ One Definition Rule [-Werror=odr]
Summary: app-text/mecab-0.996-r2 fails to compile: iconv_utils.h:19:7: error: type str...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-02-14 16:02 UTC by Agostino Sarubbo
Modified: 2024-02-29 23:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,74.70 KB, text/plain)
2024-02-14 16:02 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 2024-02-14 16:02:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/mecab-0.996-r2 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-14 16:02:17 UTC
Created attachment 884979 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-29 23:58:13 UTC
The bug has been closed via the following commit(s):

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

commit a5a2064a14ba3fd844360b3c9f7626f81a410298
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-29 21:27:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 23:57:38 +0000

    app-text/mecab: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/924569
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/mecab/mecab-0.996-r1.ebuild | 9 +++++++--
 app-text/mecab/mecab-0.996-r2.ebuild | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)