[Buildroot] [PATCH 1/1] package/frr: disable cunit
Fabrice Fontaine
fontaine.fabrice at gmail.com
Wed Dec 15 17:21:46 UTC 2021
Disable cunit to avoid the following build failure raised since bump to
version 8.1 in commit ca2753fd47d47e5ad0eec16ea62f7b7f096331b6 and
https://github.com/FRRouting/frr/commit/749714731ee9a59ae39be77e7db3915ce3ad0bd8:
In file included from pceplib/test/pcep_utils_counters_test.c:33:
./pceplib/pcep_utils_counters.h:112:2: error: unknown type name 'time_t'
112 | time_t start_time;
| ^~~~~~
Fixes:
- http://autobuild.buildroot.org/results/b68d3e369e2925938bde39508988aa9b701f1045
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/frr/frr.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/frr/frr.mk b/package/frr/frr.mk
index e707f50ca1..fac9c6692d 100644
--- a/package/frr/frr.mk
+++ b/package/frr/frr.mk
@@ -17,6 +17,8 @@ FRR_DEPENDENCIES = host-frr readline json-c \
HOST_FRR_DEPENDENCIES = host-flex host-bison host-elfutils host-python3
+FRR_CONF_ENV = ac_cv_lib_cunit_CU_initialize_registry=no
+
FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
--sysconfdir=/etc/frr \
--localstatedir=/var/run/frr \
--
2.33.0
More information about the buildroot
mailing list