@@ -7,7 +7,7 @@ Requirements:
77* JDK 1.8
88* Maven 3.3 or later
99* Boost 1.86.0 (if compiling native code)
10- * Protocol Buffers 3.21.12 (if compiling native code)
10+ * Protocol Buffers 3.25.5 (if compiling native code)
1111* CMake 3.19 or newer (if compiling native code)
1212* Zlib devel (if compiling native code)
1313* Cyrus SASL devel (if compiling native code)
@@ -78,13 +78,15 @@ Refer to dev-support/docker/Dockerfile):
7878 $ ./bootstrap
7979 $ make -j$(nproc)
8080 $ sudo make install
81- * Protocol Buffers 3.21.12 (required to build native code)
82- $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.12.tar.gz > protobuf-3.21.12.tar.gz
83- $ tar -zxvf protobuf-3.21.12.tar.gz && cd protobuf-3.21.12
84- $ ./autogen.sh
85- $ ./configure
86- $ make -j$(nproc)
87- $ sudo make install
81+ * Protocol Buffers 3.25.5 (required to build native code)
82+ $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.25.5.tar.gz > protobuf-3.25.5.tar.gz
83+ $ curl -L https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.tar.gz > abseil-cpp-20230802.1.tar.gz
84+ $ tar -zxvf protobuf-3.25.5.tar.gz
85+ $ tar -zxvf abseil-cpp-20230802.1.tar.gz --strip-components 1 -C protobuf-3.25.5/third_party/abseil-cpp
86+ $ cd protobuf-3.25.5
87+ $ cmake -S . -B build -Dprotobuf_BUILD_TESTS=OFF
88+ $ cmake --build build --parallel $(nproc)
89+ $ sudo cmake --install build
8890* Boost
8991 $ curl -L https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download > boost_1_86_0.tar.bz2
9092 $ tar --bzip2 -xf boost_1_86_0.tar.bz2 && cd boost_1_86_0
@@ -434,14 +436,15 @@ Installing required dependencies for clean install of macOS 10.14:
434436* Install native libraries, only openssl is required to compile native code,
435437you may optionally install zlib, lz4, etc.
436438 $ brew install openssl
437- * Protocol Buffers 3.21.12 (required to compile native code)
438- $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.12.tar.gz > protobuf-3.21.12.tar.gz
439- $ tar -zxvf protobuf-3.21.12.tar.gz && cd protobuf-3.21.12
440- $ ./autogen.sh
441- $ ./configure
442- $ make
443- $ make check
444- $ make install
439+ * Protocol Buffers 3.25.5 (required to build native code)
440+ $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.25.5.tar.gz > protobuf-3.25.5.tar.gz
441+ $ curl -L https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.tar.gz > abseil-cpp-20230802.1.tar.gz
442+ $ tar -zxvf protobuf-3.25.5.tar.gz
443+ $ tar -zxvf abseil-cpp-20230802.1.tar.gz --strip-components 1 -C protobuf-3.25.5/third_party/abseil-cpp
444+ $ cd protobuf-3.25.5
445+ $ cmake -S . -B build -Dprotobuf_BUILD_TESTS=OFF
446+ $ cmake --build build --parallel $(nproc)
447+ $ cmake --install build
445448 $ protoc --version
446449
447450Note that building Hadoop 3.1.1/3.1.2/3.2.0 native code from source is broken
@@ -473,13 +476,15 @@ Building on CentOS 8
473476* Install python2 for building documentation.
474477 $ sudo dnf install python2
475478
476- * Install Protocol Buffers v3.21.12.
477- $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.12.tar.gz > protobuf-3.21.12.tar.gz
478- $ tar -zxvf protobuf-3.21.12.tar.gz && cd protobuf-3.21.12
479- $ ./autogen.sh
480- $ ./configure --prefix=/usr/local
481- $ make
482- $ sudo make install
479+ * Protocol Buffers 3.25.5 (required to build native code)
480+ $ curl -L https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.25.5.tar.gz > protobuf-3.25.5.tar.gz
481+ $ curl -L https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.tar.gz > abseil-cpp-20230802.1.tar.gz
482+ $ tar -zxvf protobuf-3.25.5.tar.gz
483+ $ tar -zxvf abseil-cpp-20230802.1.tar.gz --strip-components 1 -C protobuf-3.25.5/third_party/abseil-cpp
484+ $ cd protobuf-3.25.5
485+ $ cmake -S . -B build -Dprotobuf_BUILD_TESTS=OFF
486+ $ cmake --build build --parallel $(nproc)
487+ $ sudo cmake --install build --prefix /usr/local
483488 $ cd ..
484489
485490* Install libraries provided by CentOS 8.
@@ -531,7 +536,7 @@ Requirements:
531536* JDK 1.8
532537* Maven 3.0 or later (maven.apache.org)
533538* Boost 1.86.0 (boost.org)
534- * Protocol Buffers 3.21.12 (https://github.com/protocolbuffers/protobuf/tags)
539+ * Protocol Buffers 3.25.5 (https://github.com/protocolbuffers/protobuf/tags)
535540* CMake 3.19 or newer (cmake.org)
536541* Visual Studio 2019 (visualstudio.com)
537542* Windows SDK 8.1 (optional, if building CPU rate control for the container executor. Get this from
0 commit comments