Summary: | sci-libs/opencascade-7.7.0-r2 fails to compile (lto): XCAFDoc_Datum.cxx:37:6: error: type ChildLab violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz93, kocelfc, proxy-maint |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://tracker.dev.opencascade.org/view.php?id=33091 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log.xz |
Description
Agostino Sarubbo
2022-08-02 06:59:01 UTC
Created attachment 796759 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: lin64/gcc/libi/libTKXCAF.so.7.6.2 /var/tmp/portage/sci-libs/opencascade-7.6.2-r1/work/occt-V7_6_2/src/XCAFDoc/XCAFDoc_Datum.cxx:37:6: error: type ‘ChildLab’ violates the C++ One Definition Rule [-Werror=odr] lto_tinderbox has reproduced this issue with version 7.7.0-r2 - Updating summary. Still reproducible at -9999 today. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=701bc30b5e597655e5cdf02a74c64836333b61e3 commit 701bc30b5e597655e5cdf02a74c64836333b61e3 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-26 19:02:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-26 20:23:27 +0000 sci-libs/opencascade: mark as LTO-unsafe Closes: https://bugs.gentoo.org/862912 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-libs/opencascade/opencascade-7.7.0-r2.ebuild | 7 ++++++- sci-libs/opencascade/opencascade-7.7.1.ebuild | 7 ++++++- sci-libs/opencascade/opencascade-7.7.2.ebuild | 7 ++++++- sci-libs/opencascade/opencascade-7.8.0.ebuild | 7 ++++++- sci-libs/opencascade/opencascade-9999.ebuild | 7 ++++++- 5 files changed, 30 insertions(+), 5 deletions(-) |