Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924637 - dev-cpp/ctemplate-2.4 fails to compile: template_cache.h:61:8: error: type struct TemplateCache violates the C++ One Definition Rule [-Werror=odr]
Summary: dev-cpp/ctemplate-2.4 fails to compile: template_cache.h:61:8: error: type st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-02-15 12:02 UTC by Agostino Sarubbo
Modified: 2024-08-01 03:15 UTC (History)
1 user (show)

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


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

Issue: dev-cpp/ctemplate-2.4 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-15 12:03:00 UTC
Created attachment 885023 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-08-01 03:15:08 UTC
The bug has been closed via the following commit(s):

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

commit f5c6d1a0307edb48ce6241aaac659946edf345ba
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-08-01 02:57:45 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-08-01 03:14:18 +0000

    dev-cpp/ctemplate: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/924637
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-cpp/ctemplate/ctemplate-2.4.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)