[Buildroot] [git commit] package/frr: disable cunit

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Thu Dec 16 19:07:37 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=03943b9b492a9405fd8b494f265ee72780b010ce
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/frr/frr.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/frr/frr.mk b/package/frr/frr.mk
index 49b4a190f0..733518fc11 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 \



More information about the buildroot mailing list