[ 20% 240/1136] /usr/bin/c++ -DDISCORD_LINUX -DNDEBUG -D__STDC_FORMAT_MACROS -I/wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../thirdparty -I/wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../include -O2 -pipe -march=znver4 -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -W -Wall -Wextra -fsigned-char -Wno-unknown-pragmas -fdiagnostics-color -Wformat-security -Wreturn-type -Wno-char-subscripts -Wno-shift-negative-value -O2 -Wno-unused-variable -Wno-unused-parameter -std=gnu++14 -w -pthread -MD -MT lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o -MF lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o.d -o lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o -c /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/rpc_connection.cpp FAILED: lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o /usr/bin/c++ -DDISCORD_LINUX -DNDEBUG -D__STDC_FORMAT_MACROS -I/wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../thirdparty -I/wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../include -O2 -pipe -march=znver4 -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -W -Wall -Wextra -fsigned-char -Wno-unknown-pragmas -fdiagnostics-color -Wformat-security -Wreturn-type -Wno-char-subscripts -Wno-shift-negative-value -O2 -Wno-unused-variable -Wno-unused-parameter -std=gnu++14 -w -pthread -MD -MT lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o -MF lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o.d -o lib/discord/src/CMakeFiles/discord-rpc.dir/rpc_connection.cpp.o -c /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/rpc_connection.cpp In file included from /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/rpc_connection.cpp:1: In file included from /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/rpc_connection.h:4: In file included from /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/serialization.h:15: /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../thirdparty/rapidjson/document.h:319:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int') 319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } | ~~~~~~ ^ /wrkdirs/usr/ports/games/fs2open/work/fs2open.github.com-release_23_2_1/lib/discord/src/../thirdparty/rapidjson/document.h:325:20: note: non-static data member 'length' declared const here 325 | const SizeType length; //!< length of the string (excluding the trailing NULL terminator) | ~~~~~~~~~~~~~~~^~~~~~ 1 error generated. FreeBSD 14.3-RELEASE (amd64) in Poudriere
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=71517975885124b92459b31613136111269b8f95 commit 71517975885124b92459b31613136111269b8f95 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2025-11-02 08:44:44 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2025-11-02 08:50:27 +0000 games/fs2open: Mark BROKEN and set expiration date to 2025-12-31 Broken for months, fails to build error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int') PR: 287534 Reported by: pkg-fallout games/fs2open/Makefile | 3 +++ 1 file changed, 3 insertions(+)
^Triage: port has been marked BROKEN.