Created attachment 233460 [details] v1 (apply via "git am") Required by https://github.com/RPCS3/rpcs3/commit/d02a8ba2b90b to unbreak the port update (in future) without dropping USE_SYSTEM_FLATBUFFERS (partially reverting ports c5ee1236c6ac ) e.g., In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:128:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_ID, 2) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:191:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_ID, 2) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:192:12: error: no matching member function for call to 'VerifyField' VerifyField<uint32_t>(verifier, VT_NUM, 4) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:242:12: error: no matching member function for call to 'VerifyField' VerifyField<uint64_t>(verifier, VT_UPDATEDATE, 8) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:298:12: error: no matching member function for call to 'VerifyField' VerifyField<uint64_t>(verifier, VT_UPDATEDATE, 8) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:299:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_UPDATEMEMBERID, 2) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:360:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_TYPE, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:361:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_FLAG, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:362:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_HUBMEMBERID, 2) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:425:12: error: no matching member function for call to 'VerifyField' VerifyField<uint32_t>(verifier, VT_SLOTNUM, 4) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:426:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_WITHLABEL, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:429:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_WITHPASSWORD, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:609:12: error: no matching member function for call to 'VerifyField' VerifyField<uint64_t>(verifier, VT_JOINDATE, 8) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:610:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_MEMBERID, 2) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:611:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_TEAMID, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:614:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_NATTYPE, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:615:12: error: no matching member function for call to 'VerifyField' VerifyField<uint32_t>(verifier, VT_FLAGATTR, 4) && ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:737:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_GROUPID, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/np_handler.h:11: In file included from /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/rpcn_client.h:29: /wrkdirs/usr/ports/emulators/rpcs3/work/rpcs3-0.0.21-13503-gd02a8ba2b/rpcs3/Emu/NP/generated/np2_structs_generated.h:738:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_WITHPASSWORD, 1) && ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b22bcf427de887f6b61a2d02bde3ec569a4f56d3 commit b22bcf427de887f6b61a2d02bde3ec569a4f56d3 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-04-25 03:32:57 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-25 03:33:59 +0000 devel/flatbuffers: Update 2.0.5 -> 2.0.6 PR: 263552 devel/flatbuffers/Makefile | 2 +- devel/flatbuffers/distinfo | 6 +++--- devel/flatbuffers/pkg-plist | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
This bug had "needs-qa" (in Keywords field), so consumers weren't tested but v1 (instead of v0) was probably misleading. For example, misc/mnn, misc/nn-insight, science/chrono fail to build.
2.0.6 update breaks dependencies because it isn't compatible with pre-generated flatbuffers headers.
Upstream bug report: https://github.com/google/flatbuffers/issues/7272
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=953b849066b7e334b8bf903d6faeed3c1ada5342 commit 953b849066b7e334b8bf903d6faeed3c1ada5342 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-04-25 15:46:22 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-25 15:53:30 +0000 devel/flatbuffers: Revert update 2.0.5 -> 2.0.6 This reverts commit b22bcf427de887f6b61a2d02bde3ec569a4f56d3. Update breaks pre-generated flatbuffers headers: https://github.com/google/flatbuffers/issues/7272 PR: 263552 Reported by: jbeich@ devel/flatbuffers/Makefile | 3 ++- devel/flatbuffers/distinfo | 6 +++--- devel/flatbuffers/pkg-plist | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8fe1f60e7a8c4377816d02eb7209a2a0c60f7ee commit a8fe1f60e7a8c4377816d02eb7209a2a0c60f7ee Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-04-25 18:00:16 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-04-25 18:19:31 +0000 emulators/rpcs3: unbreak build after 953b849066b7 In file included from rpcs3/Emu/Cell/lv2/sys_net.cpp:34: In file included from rpcs3/Emu/NP/np_handler.h:11: In file included from rpcs3/Emu/NP/rpcn_client.h:29: rpcs3/Emu/NP/generated/np2_structs_generated.h:128:12: error: no matching member function for call to 'VerifyField' VerifyField<uint16_t>(verifier, VT_ID, 2) && ^~~~~~~~~~~~~~~~~~~~~ rpcs3/Emu/NP/generated/np2_structs_generated.h:192:12: error: no matching member function for call to 'VerifyField' VerifyField<uint32_t>(verifier, VT_NUM, 4) && ^~~~~~~~~~~~~~~~~~~~~ rpcs3/Emu/NP/generated/np2_structs_generated.h:242:12: error: no matching member function for call to 'VerifyField' VerifyField<uint64_t>(verifier, VT_UPDATEDATE, 8) && ^~~~~~~~~~~~~~~~~~~~~ rpcs3/Emu/NP/generated/np2_structs_generated.h:360:12: error: no matching member function for call to 'VerifyField' VerifyField<uint8_t>(verifier, VT_TYPE, 1) && ^~~~~~~~~~~~~~~~~~~~ [...] /usr/local/include/flatbuffers/table.h:115:8: note: candidate function template not viable: requires 2 arguments, but 3 were provided bool VerifyField(const Verifier &verifier, voffset_t field) const { ^ PR: 263552 emulators/rpcs3/Makefile | 2 +- .../rpcs3/files/patch-flatbuffers-2.0.5 (new) | 531 +++++++++++++++++++++ 2 files changed, 532 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=00e206324446713ae3e6ef3755698a4d3923c6f9 commit 00e206324446713ae3e6ef3755698a4d3923c6f9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-05-14 21:33:43 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-14 21:35:31 +0000 devel/flatbuffers: Update 2.0.5 -> 2.0.6 Forked 2.0.5 as devel/flatbuffers205. Several dependencies use flatbuffers headers generated by previous versions of flatbuffers which from now on will be incompatible with newer flatbuffers versions. PR: 263552 Reported by: jbeich@ devel/Makefile | 1 + devel/flatbuffers/Makefile | 2 +- devel/flatbuffers/distinfo | 6 +++--- devel/flatbuffers/pkg-plist | 2 +- devel/flatbuffers205/Makefile (new) | 28 ++++++++++++++++++++++++ devel/flatbuffers205/distinfo (new) | 3 +++ devel/flatbuffers205/pkg-descr (new) | 3 +++ devel/flatbuffers205/pkg-plist (new) | 41 ++++++++++++++++++++++++++++++++++++ emulators/rpcs3/Makefile | 3 ++- misc/mnn/Makefile | 4 ++-- misc/nn-insight/Makefile | 4 ++-- multimedia/kodi/Makefile | 2 +- science/chrono/Makefile | 3 ++- security/snort3/Makefile | 4 ++-- 14 files changed, 92 insertions(+), 14 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=14f6379368f3403a2ef2788c513e00a948041fa5 commit 14f6379368f3403a2ef2788c513e00a948041fa5 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-05-14 22:15:07 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-05-14 22:40:50 +0000 emulators/rpcs3: drop flatbuffers workaround after 00e206324446 This reverts commit a8fe1f60e7a8c4377816d02eb7209a2a0c60f7ee. PR: 263552 emulators/rpcs3/Makefile | 4 +- .../rpcs3/files/patch-flatbuffers-2.0.5 (gone) | 531 --------------------- 2 files changed, 2 insertions(+), 533 deletions(-)