Summary: | dev-cpp/clucene: fails to build with libcxx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | asdfg <andrschwarz> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 836220 | ||
Attachments: |
Failed build
Modifications to VoidMap.h file Modifications to DocumentsWriter.cpp file |
Description
asdfg
2022-07-29 23:32:37 UTC
Created attachment 795595 [details, diff]
Modifications to VoidMap.h file
Created attachment 795598 [details, diff]
Modifications to DocumentsWriter.cpp file
[31mFAILED: [0msrc/core/CMakeFiles/clucene-core.dir/CLucene/index/DocumentsWriter.o /usr/lib/llvm/14/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r7/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r7/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r7/work/clucene-core-2.3.3.4/src/core -march=native -O3 -pipe -mllvm -polly -flto=thin -fPIC -D_REENTRANT -D_UCS2 -D_UNICODE -MD -MT src/core/CMakeFiles/clucene-core.dir/CLucene/index/DocumentsWriter.o -MF src/core/CMakeFiles/clucene-core.dir/CLucene/index/DocumentsWriter.o.d -o src/core/CMakeFiles/clucene-core.dir/CLucene/index/DocumentsWriter.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r7/work/clucene-core-2.3.3.4/src/core/CLucene/index/DocumentsWriter.cpp /tmp/portage/dev-cpp/clucene-2.3.3.4-r7/work/clucene-core-2.3.3.4/src/core/CLucene/index/DocumentsWriter.cpp:128:11: error: no matching function for call to 'memset' memset(this->postingsFreeListDW.values + this->postingsFreeCountDW ^~~~~~ /usr/include/sched.h:83:7: note: candidate function not viable: no known conversion from 'std::nullptr_t' to 'int' for 2nd argument void *memset (void *, int, size_t); The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe27109c7a1359fd22d5f9f0cbe9d76919e2cea0 commit fe27109c7a1359fd22d5f9f0cbe9d76919e2cea0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-30 02:29:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-30 02:29:06 +0000 dev-cpp/clucene: fix build w/ libcxx Use FreeBSD's patches. Closes: https://bugs.gentoo.org/862195 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/clucene/clucene-2.3.3.4-r8.ebuild | 66 ++++++++++++++++++++++ dev-cpp/clucene/files/clucene-2.3.3.4-libcxx.patch | 48 ++++++++++++++++ 2 files changed, 114 insertions(+) |