This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 29e82fd  ARROW-11306: [Packaging][Ubuntu][16.04] Add missing 
libprotobuf-dev dependency
29e82fd is described below

commit 29e82fd1153ce7b33ff2a76c0b13124d71268b04
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Jan 19 06:01:48 2021 +0900

    ARROW-11306: [Packaging][Ubuntu][16.04] Add missing libprotobuf-dev 
dependency
    
    Closes #9251 from kou/packaging-ubuntu-16.04-protobuf
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 dev/release/verify-apt.sh                                          | 5 ++++-
 dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.sh
index fc2dbb4..cc0b9a2 100755
--- a/dev/release/verify-apt.sh
+++ b/dev/release/verify-apt.sh
@@ -50,6 +50,7 @@ fi
 
 have_flight=yes
 have_plasma=yes
+workaround_missing_packages=()
 case "${distribution}-${code_name}" in
   debian-buster)
     sed \
@@ -59,6 +60,7 @@ case "${distribution}-${code_name}" in
     ;;
   ubuntu-xenial)
     have_flight=no
+    workaround_missing_packages+=(libprotobuf-dev)
     ;;
 esac
 if [ "$(arch)" = "aarch64" ]; then
@@ -90,7 +92,8 @@ apt install -y -V libarrow-glib-dev=${deb_version}
 apt install -y -V \
   cmake \
   g++ \
-  git
+  git \
+  ${workaround_missing_packages[@]}
 mkdir -p build
 cp -a /arrow/cpp/examples/minimal_build build
 pushd build/minimal_build
diff --git a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control 
b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
index c9734f9..6ae5d15 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
+++ b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
@@ -99,6 +99,7 @@ Depends:
   libbrotli-dev,
   libbz2-dev,
   liblz4-dev,
+  libprotobuf-dev,
   libre2-dev,
   libsnappy-dev,
   libssl-dev,

Reply via email to