Summary: | net-p2p/airdcpp-webclient-2.11.2 fails to compile (lto): File.h:87:14: error: type dcpp::File::BufferMode violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Louis Sautier (sbraz) <sbraz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/airdcpp-web/airdcpp-webclient/issues/425 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 795347 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: airdcpp-core/libairdcpp.so.2.11.2 /var/tmp/portage/net-p2p/airdcpp-webclient-2.11.2/work/airdcpp-webclient-2.11.2/airdcpp-core/airdcpp/File.h:87:14: error: type ‘dcpp::File::BufferMode’ 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=3c87eae224d451e0433cd4338773f945fb879277 commit 3c87eae224d451e0433cd4338773f945fb879277 Author: Louis Sautier <sbraz@gentoo.org> AuthorDate: 2022-11-05 19:12:03 +0000 Commit: Louis Sautier <sbraz@gentoo.org> CommitDate: 2022-11-05 19:35:53 +0000 net-p2p/airdcpp-webclient: fix build with strict flags, add Py3.11 Closes: https://bugs.gentoo.org/861839 Signed-off-by: Louis Sautier <sbraz@gentoo.org> .../airdcpp-webclient-2.11.2.ebuild | 6 +++++- .../files/airdcpp-webclient-2.11.2-fix-odr.patch | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) |