Created attachment 225849 [details] build log file The most recent version wireguard-kmod-0.0.20210606 fails to build on table/13 with "error: static declaration of 'taskqgroup_drain_all' follows non-static declaration". More details in attached log file.
This is already fixed in git: https://git.zx2c4.com/wireguard-freebsd/commit/?id=64a507ad6b3c7e8455c67b452160b9e4211fd872
(In reply to Herbert J. Skuhra from comment #1) Thank you for reporting it upstream and for the clue. I have patched it solves the issue.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=57eb088f783473d1a7975d31a669d50b2f724e42 commit 57eb088f783473d1a7975d31a669d50b2f724e42 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2021-06-16 18:28:48 +0000 Commit: Bernhard Froehlich <decke@FreeBSD.org> CommitDate: 2021-06-16 18:40:01 +0000 net/wireguard-kmod: Fix build on latest stable/13 PR: 256639 Obtained from: https://git.zx2c4.com/wireguard-freebsd/commit/?id=64a507ad6b3c7e8455c67b452160b9e4211fd872 net/wireguard-kmod/Makefile | 1 + net/wireguard-kmod/files/patch-compat.h (new) | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+)
A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e355ccdc9cf44ab92353a08efd3e8b323886937 commit 0e355ccdc9cf44ab92353a08efd3e8b323886937 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2021-06-16 18:28:48 +0000 Commit: Bernhard Froehlich <decke@FreeBSD.org> CommitDate: 2021-06-16 18:43:48 +0000 net/wireguard-kmod: Fix build on latest stable/13 PR: 256639 Obtained from: https://git.zx2c4.com/wireguard-freebsd/commit/?id=64a507ad6b3c7e8455c67b452160b9e4211fd872 (cherry picked from commit 57eb088f783473d1a7975d31a669d50b2f724e42) net/wireguard-kmod/Makefile | 1 + net/wireguard-kmod/files/patch-compat.h (new) | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+)
Sorry, was a busy week and I did not have time to do it before. Should be fine now.
(In reply to Bernhard Froehlich from comment #5) Thank you for solving this in an expedited way.