Summary: | sci-libs/vtk-9.1.0-r2 fails to compile (lto): vtkAMRFlashReaderInternal.h:77:16: error: type struct tagBlock violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, waebbl-gentoo |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://gitlab.kitware.com/vtk/vtk/-/issues/18638 https://github.com/gentoo/gentoo/pull/27010 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log.xz |
Description
Agostino Sarubbo
2022-08-02 14:07:49 UTC
Created attachment 796885 [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: lib64/libvtkParallel-9.1.so.9.1.0 /var/tmp/portage/sci-libs/vtk-9.1.0-r2/work/VTK-9.1.0/IO/AMR/vtkAMRFlashReaderInternal.h:77:16: error: type ‘struct tagBlock’ violates the C++ One Definition Rule [-Werror=odr] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e02cfbf0edd45b41747e2707fc56b7512c6aef6 commit 2e02cfbf0edd45b41747e2707fc56b7512c6aef6 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-08-23 16:54:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-01 02:23:53 +0000 sci-libs/vtk: build with LTO enabled Closes: https://bugs.gentoo.org/863038 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/27010 Signed-off-by: Sam James <sam@gentoo.org> ...-or-scope-struct-names-to-avoid-conflicts.patch | 126 +++++++++++++++++++++ sci-libs/vtk/vtk-9.1.0-r2.ebuild | 1 + 2 files changed, 127 insertions(+) |