Apache DataFusion SQL Query Engine
ARROW-10563: [Packaging][deb][RPM] Add missing dev package dependencies
Sutou Kouhei8fe2de6d8839
diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.shindex 1182c2b77c..0d54642bdf 100755--- a/dev/release/verify-apt.sh+++ b/dev/release/verify-apt.sh@@ -97,6 +97,21 @@ fiapt update+apt install -y -V libarrow-glib-dev=${deb_version}+apt install -y -V \+ cmake \+ g++ \+ git+git clone \+ --branch apache-arrow-${version} \+ --depth 1 \+ https://github.com/apache/arrow.git+pushd arrow/cpp/examples/minimal_build+cmake .+make -j$(nproc)+./arrow_example+popd+apt install -y -V libarrow-glib-dev=${deb_version}apt install -y -V libarrow-glib-doc=${deb_version}diff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.shindex 5636ce041f..059bdf33c8 100755--- a/dev/release/verify-yum.sh+++ b/dev/release/verify-yum.sh@@ -45,6 +45,8 @@ elsedistribution_version=6fi+cmake_pakcage=cmake+cmake_command=cmakehave_flight=yeshave_gandiva=yeshave_glib=yes@@ -52,6 +54,8 @@ have_parquet=yesinstall_command="dnf install -y --enablerepo=PowerTools"case "${distribution}-${distribution_version}" incentos-6)+ cmake_pakcage=cmake3+ cmake_command=cmake3have_flight=nohave_gandiva=nohave_glib=no@@ -59,6 +63,8 @@ case "${distribution}-${distribution_version}" ininstall_command="yum install -y";;centos-7)+ cmake_pakcage=cmake3+ cmake_command=cmake3have_flight=nohave_gandiva=noinstall_command="yum install -y"@@ -84,6 +90,22 @@ else/etc/yum.repos.d/Apache-Arrow.repofi+${install_command} --enablerepo=epel arrow-devel-${VERSION}+${install_command} \+ ${cmake_package} \+ gcc-c++ \+ git \+ make+git clone \+ --branch apache-arrow-${version} \+ --depth 1 \+ https://github.com/apache/arrow.git+pushd arrow/cpp/examples/minimal_build+${cmake_command} .+make -j$(nproc)+./arrow_example+popd+if [ "${have_glib}" = "yes" ]; then${install_command} --enablerepo=epel arrow-glib-devel-${VERSION}${install_command} --enablerepo=epel arrow-glib-doc-${VERSION}diff --git a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/controlindex 11a6e244b6..c9734f9c27 100644--- a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control+++ b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control@@ -14,6 +14,7 @@ Build-Depends:libboost-regex-dev,libboost-system-dev,libbrotli-dev,+ libbz2-dev,libcurl4-openssl-dev,libgirepository1.0-dev,libgoogle-glog-dev,@@ -94,7 +95,16 @@ Architecture: anyMulti-Arch: sameDepends:${misc:Depends},- libarrow300 (= ${binary:Version})+ libarrow300 (= ${binary:Version}),+ libbrotli-dev,+ libbz2-dev,+ liblz4-dev,+ libre2-dev,+ libsnappy-dev,+ libssl-dev,+ libutf8proc-dev,+ libzstd-dev,+ zlib1g-devDescription: Apache Arrow is a data processing library for analysis.This package provides C++ header files.diff --git a/dev/tasks/linux-packages/apache-arrow/debian/control.in b/dev/tasks/linux-packages/apache-arrow/debian/control.inindex 824f41bdde..e032c8b488 100644--- a/dev/tasks/linux-packages/apache-arrow/debian/control.in+++ b/dev/tasks/linux-packages/apache-arrow/debian/control.in@@ -121,7 +121,16 @@ Architecture: anyMulti-Arch: sameDepends:${misc:Depends},- libarrow300 (= ${binary:Version})+ libarrow300 (= ${binary:Version}),+ libbrotli-dev,+ libbz2-dev,+ liblz4-dev,+ libre2-dev,+ libsnappy-dev,+ libssl-dev,+ libutf8proc-dev,+ libzstd-dev,+ zlib1g-devDescription: Apache Arrow is a data processing library for analysis.This package provides C++ header files.diff --git a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.inindex 4bf50c1bd7..04651bb893 100644--- a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in+++ b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in@@ -263,6 +263,26 @@ This package contains the libraries for Apache Arrow C++.Summary: Libraries and header files for Apache Arrow C++License: Apache-2.0Requires: %{name}-libs = %{version}-%{release}+%if %{have_brotli}+Requires: brotli-devel+%endif+Requires: bzip2-devel+Requires: libzstd-devel+Requires: lz4-devel+%if %{use_flight}+BuildRequires: openssl-devel+%endif+%if %{have_rapidjson}+Requires: rapidjson-devel+%endif+%if %{have_re2}+Requires: re2-devel+%endif+Requires: snappy-devel+%if %{have_utf8proc}+Requires: utf8proc-devel+%endif+Requires: zlib-devel%description develLibraries and header files for Apache Arrow C++.@@ -284,6 +304,9 @@ Libraries and header files for Apache Arrow C++.%{_libdir}/cmake/arrow/FindBrotli.cmake%endif%{_libdir}/cmake/arrow/FindLz4.cmake+%if %{have_re2}+%{_libdir}/cmake/arrow/FindRE2.cmake+%endif%{_libdir}/cmake/arrow/FindSnappy.cmake%if %{have_utf8proc}%{_libdir}/cmake/arrow/Findutf8proc.cmake@@ -398,9 +421,6 @@ Libraries and header files for Gandiva.%{_libdir}/cmake/arrow/GandivaConfig*.cmake%{_libdir}/cmake/arrow/GandivaTargets*.cmake%{_libdir}/cmake/arrow/FindGandiva.cmake-%if %{have_re2}-%{_libdir}/cmake/arrow/FindRE2.cmake-%endif%{_libdir}/libgandiva.a%{_libdir}/libgandiva.so%{_libdir}/pkgconfig/gandiva.pc