From 7ed5fcd96de69720e528c18c919ed623ecf7a592 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 28 Aug 2023 09:46:42 +0000 Subject: [PATCH] frr: add missing protobuf dep (#10892) Fix da build --- projects/frr/Dockerfile | 3 ++- projects/frr/build.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/frr/Dockerfile b/projects/frr/Dockerfile index 3286cc63e..df3ad0266 100644 --- a/projects/frr/Dockerfile +++ b/projects/frr/Dockerfile @@ -19,7 +19,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y git autoconf automake libtool make \ libreadline-dev texinfo libjson-c-dev pkg-config bison flex python3-pip \ libc-ares-dev python3-dev python3-sphinx build-essential libsystemd-dev \ - libsnmp-dev libcap-dev libelf-dev libpcre3-dev libpcre2-dev + libsnmp-dev libcap-dev libelf-dev libpcre3-dev libpcre2-dev \ + protobuf-c-compiler libprotobuf-c-dev RUN pip3 install pytest RUN git clone https://github.com/CESNET/libyang.git diff --git a/projects/frr/build.sh b/projects/frr/build.sh index 181fe1b7b..4f3dfa30e 100755 --- a/projects/frr/build.sh +++ b/projects/frr/build.sh @@ -60,6 +60,7 @@ find $OUT -maxdepth 1 -type f -executable | while read i; do copy_lib ${i} libyang copy_lib ${i} libelf copy_lib ${i} libjson-c + copy_lib ${i} libprotobuf-c done patchelf --remove-needed libpcre2-8.so.0 $OUT/lib/libyang.so.2