Trying to build the port I'm receiving the following error (on amd64 - 13.3-STABLE): ===> Building for NBlood-r13984 gmake[1]: Entering directory '/usr/ports/games/NBlood/work/NBlood-r13984' clang++: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] In file included from source/blood/src/blood.cpp:23: In file included from source/build/include/build.h:22: In file included from source/build/include/collections.h:7: In file included from source/build/include/compat.h:481: In file included from /usr/include/c++/v1/functional:526: In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/include/c++/v1/vector:321: In file included from /usr/include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/include/c++/v1/__format/formatter_integral.h:32: /usr/include/c++/v1/locale:2822:22: error: no member named 'mi_realloc' in namespace 'std'; did you mean simply 'mi_realloc'? 2822 | _Tp* __t = (_Tp*)std::realloc(__owns ? __b.get() : 0, __new_cap); | ^~~~~ source/mimalloc/include/mimalloc.h:111:40: note: 'mi_realloc' declared here 111 | mi_decl_nodiscard mi_decl_export void* mi_realloc(void* p, size_t newsize) mi_attr_noexcept mi_attr_alloc_size(2); | ^ 1 error generated. Failed building obj/blood/blood.o from source/blood/src/blood.cpp! gmake[1]: *** [GNUmakefile:1452: obj/blood/blood.o] Error 1 gmake[1]: Leaving directory '/usr/ports/games/NBlood/work/NBlood-r13984' *** Error code 1 Stop. make: stopped in /usr/ports/games/NBlood
Same error with r13991.
https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-March/576497.html
The problem still exists on r14007.
I applied to this port Makefile the same changes in the patch from Felix Palmen for games/eduke32 on bug #277869, comment #1 and that fixes the build also for games/NBlood.
Created attachment 249756 [details] disable mimalloc usage Apply to games/NBlood the same changes applied to games/eduke32 to resolve bug #277869.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4e08fe18b968e6628cf788429f7f628d2f9e55f commit f4e08fe18b968e6628cf788429f7f628d2f9e55f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-04-16 13:33:17 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-04-16 21:48:16 +0000 games/NBlood: update to r14013 and fix build on with LLVM 17 PR: 277209 Submitted by: discipline@tiscali.it games/NBlood/Makefile | 4 ++-- games/NBlood/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Commited, thanks!