Open Thermi opened 1 month ago
could you try to add
#include <algorithm>
into knnmisc.cpp
?
We don't use GCC to build Manticore. As mentioned in this issue https://github.com/manticoresoftware/manticoresearch/issues/2343#issuecomment-2203047391, it's better to use our custom Docker image, which is also used by our CI to build the official packages. We’d be happy to help with integrate Alpine Linux support into it (we use CMake and its cross-compiling features, so each OS needs a specific sysroot). You can find more details here: https://github.com/manticoresoftware/manticoresearch/tree/master/dist/build_dockers/cross/sysroots
could you try to add
#include <algorithm>
into
knnmisc.cpp
?
Thank you, that worked. :)
We don't use GCC to build Manticore. As mentioned in this issue #2343 (comment), it's better to use our custom Docker image, which is also used by our CI to build the official packages. We’d be happy to help with integrate Alpine Linux support into it (we use CMake and its cross-compiling features, so each OS needs a specific sysroot). You can find more details here: https://github.com/manticoresoftware/manticoresearch/tree/master/dist/build_dockers/cross/sysroots
That's just not an option here. It's for native installation on Alpine Linux (it uses musl libc) via the package manager so it has to be built using Alpine Linux too. It has to be buildable by the standard CI setup used by the Alpine Linux project and that uses a docker image built on Alpine Linux.
Bug Description:
manticore 6.3.6 fails to compile using gcc 14.2.0 because of this error:
Error can be seen here: https://gitlab.alpinelinux.org/Thermi/aports/-/jobs/1558099#L1648
Alpine Linux build files for manticore 6.3.6 can be found in this MR: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/70417
Build command:
Manticore Search Version:
6.3.6
Operating System Version:
Alpine Linux Edge
Have you tried the latest development version?
No
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.