Summary: | net/frr7: configure: error: This FRR version needs pthreads | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> | ||||
Component: | Individual Port(s) | Assignee: | Olivier Cochard <olivier> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | franco | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(olivier) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
O. Hartmann
2021-12-15 07:18:19 UTC
Created attachment 230667 [details]
-Wno-error patch
Likely caused by llvm update to version 13.
configure:9654: checking for the pthreads library -lpthread
configure:9692: cc -std=gnu11 -o conftest -O2 -pipe -std=gnu99 -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith - Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/li b -fstack-protector-strong conftest.c -lpthread >&5
conftest.c:27:51: error: parameter 'a' set but not used [-Werror,-Wunused-but-set-parameter]
static void routine(void *a) { a = 0; }
1 error generated.
Patch attached.
Cheers,
Franco
When will the patch hit the ports tree? The problem is still present. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a633e7f6cff0d786d477cb36fa93d307989c44d commit 8a633e7f6cff0d786d477cb36fa93d307989c44d Author: Olivier Cochard <olivier@FreeBSD.org> AuthorDate: 2022-01-26 14:28:33 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2022-01-26 14:28:33 +0000 net/frr7: Fix build PR: 260430 Reported by: O. Hartmann <ohartmann@walstatt.org> Obtained from: Franco Fichtner <franco@opnsense.org> net/frr7/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Sorry for the delay and thanks for the report and the patch. |