Apache DataFusion SQL Query Engine
ARROW-6991: [Packaging][deb] Add support for Ubuntu 19.10
Sutou Kouhei4699ef0753b2
diff --git a/dev/tasks/linux-packages/apt/debian-buster/Dockerfile b/dev/tasks/linux-packages/apt/debian-buster/Dockerfileindex 92fcd9dd6d..a9d924cb89 100644--- a/dev/tasks/linux-packages/apt/debian-buster/Dockerfile+++ b/dev/tasks/linux-packages/apt/debian-buster/Dockerfile@@ -45,17 +45,15 @@ RUN \libboost-regex-dev \libboost-system-dev \libbrotli-dev \+ libbz2-dev \libc-ares-dev \libdouble-conversion-dev \libgirepository1.0-dev \libglib2.0-doc \libgmock-dev \libgoogle-glog-dev \- libgrpc++-dev \libgtest-dev \liblz4-dev \- libprotobuf-dev \- libprotoc-dev \libre2-dev \libsnappy-dev \libssl-dev \@@ -63,13 +61,12 @@ RUN \lsb-release \ninja-build \pkg-config \- protobuf-compiler \- protobuf-compiler-grpc \python3-dev \python3-numpy \python3-pip \rapidjson-dev \- tzdata && \+ tzdata \+ zlib1g-dev && \if apt list | grep '^nvidia-cuda-toolkit/'; then \apt install -y -V ${quiet} nvidia-cuda-toolkit; \fi && \diff --git a/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile b/dev/tasks/linux-packages/apt/debian-stretch/Dockerfileindex 8fd3ac5e9a..d13ab52ade 100644--- a/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile+++ b/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile@@ -54,6 +54,7 @@ RUN \libboost-regex-dev \libboost-system-dev \libbrotli-dev \+ libbz2-dev \libc-ares-dev \libdouble-conversion-dev \libgirepository1.0-dev \@@ -70,16 +71,12 @@ RUN \python3-dev \python3-numpy \python3-pip \- tzdata && \+ tzdata \+ zlib1g-dev && \apt install -y -V -t stretch-backports ${quiet} \debhelper \libgmock-dev \- libgrpc++-dev \libgtest-dev \- libprotobuf-dev \- libprotoc-dev \- protobuf-compiler \- protobuf-compiler-grpc \rapidjson-dev && \if apt list | grep '^nvidia-cuda-toolkit/'; then \apt install -y -V -t stretch-backports ${quiet} nvidia-cuda-toolkit; \diff --git a/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfileindex 66ece1c13e..aeee9044c9 100644--- a/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile+++ b/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile@@ -42,6 +42,7 @@ RUN \libboost-regex-dev \libboost-system-dev \libbrotli-dev \+ libbz2-dev \libdouble-conversion-dev \libgirepository1.0-dev \libglib2.0-doc \@@ -59,7 +60,8 @@ RUN \python3-numpy \python3-pip \rapidjson-dev \- tzdata && \+ tzdata \+ zlib1g-dev && \if apt list | grep '^nvidia-cuda-toolkit/'; then \apt install -y -V ${quiet} nvidia-cuda-toolkit; \fi && \diff --git a/dev/tasks/linux-packages/apt/ubuntu-disco/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-disco/Dockerfileindex d64a1298b9..8ee80d2f8d 100644--- a/dev/tasks/linux-packages/apt/ubuntu-disco/Dockerfile+++ b/dev/tasks/linux-packages/apt/ubuntu-disco/Dockerfile@@ -43,16 +43,14 @@ RUN \libboost-regex-dev \libboost-system-dev \libbrotli-dev \+ libbz2-dev \libdouble-conversion-dev \libgirepository1.0-dev \libglib2.0-doc \libgmock-dev \libgoogle-glog-dev \- libgrpc++-dev \libgtest-dev \liblz4-dev \- libprotobuf-dev \- libprotoc-dev \libre2-dev \libsnappy-dev \libssl-dev \@@ -60,13 +58,12 @@ RUN \lsb-release \ninja-build \pkg-config \- protobuf-compiler \- protobuf-compiler-grpc \python3-dev \python3-numpy \python3-pip \rapidjson-dev \- tzdata && \+ tzdata \+ zlib1g-dev && \if apt list | grep '^nvidia-cuda-toolkit/'; then \apt install -y -V ${quiet} nvidia-cuda-toolkit; \fi && \diff --git a/dev/tasks/linux-packages/apt/ubuntu-eoan-arm64/from b/dev/tasks/linux-packages/apt/ubuntu-eoan-arm64/fromnew file mode 100644index 0000000000..7c4458fc97--- /dev/null+++ b/dev/tasks/linux-packages/apt/ubuntu-eoan-arm64/from@@ -0,0 +1,18 @@+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.++arm64v8/ubuntu:eoandiff --git a/dev/tasks/linux-packages/apt/ubuntu-eoan/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-eoan/Dockerfilenew file mode 100644index 0000000000..0f49172c7a--- /dev/null+++ b/dev/tasks/linux-packages/apt/ubuntu-eoan/Dockerfile@@ -0,0 +1,73 @@+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.++ARG FROM=ubuntu:eoan+FROM ${FROM}++COPY qemu-* /usr/bin/++RUN \+ echo "debconf debconf/frontend select Noninteractive" | \+ debconf-set-selections++ARG DEBUG++RUN \+ quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \+ apt update ${quiet} && \+ apt install -y -V ${quiet} \+ bison \+ build-essential \+ clang-7 \+ cmake \+ debhelper \+ devscripts \+ flex \+ git \+ gtk-doc-tools \+ libboost-filesystem-dev \+ libboost-regex-dev \+ libboost-system-dev \+ libbrotli-dev \+ libbz2-dev \+ libdouble-conversion-dev \+ libgirepository1.0-dev \+ libglib2.0-doc \+ libgmock-dev \+ libgoogle-glog-dev \+ libgtest-dev \+ liblz4-dev \+ libre2-dev \+ libsnappy-dev \+ libssl-dev \+ libzstd-dev \+ lsb-release \+ ninja-build \+ pkg-config \+ python3-dev \+ python3-numpy \+ python3-pip \+ rapidjson-dev \+ tzdata \+ zlib1g-dev && \+ if apt list | grep '^nvidia-cuda-toolkit/'; then \+ apt install -y -V ${quiet} nvidia-cuda-toolkit; \+ fi && \+ apt clean && \+ pip3 install --upgrade meson && \+ ln -s /usr/local/bin/meson /usr/bin/ && \+ rm -rf /var/lib/apt/lists/*diff --git a/dev/tasks/linux-packages/apt/ubuntu-eoan/qemu-dummy-static b/dev/tasks/linux-packages/apt/ubuntu-eoan/qemu-dummy-staticnew file mode 100755index 0000000000..c42e0962de--- /dev/null+++ b/dev/tasks/linux-packages/apt/ubuntu-eoan/qemu-dummy-static@@ -0,0 +1,33 @@+#!/bin/sh+#+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.++# Do nothing. This exists only for not requiring qemu-aarch64-static copy.+# Recent Debian (buster or later) and Ubuntu (18.10 or later) on amd64 hosts or+# arm64 host don't require qemu-aarch64-static in Docker image. But old Debian+# and Ubuntu hosts on amd64 require qemu-aarch64-static in Docker image.+#+# We use "COPY qemu* /usr/bin/" in Dockerfile. If we don't put any "qemnu*",+# the "COPY" is failed. It means that we always require "qemu*" even if we+# use recent Debian/Ubuntu or arm64 host. If we have this dummy "qemu*" file,+# the "COPY" isn't failed. It means that we can copy "qemu*" only when we+# need.+#+# See also "script" in dev/tasks/linux-packages/azure.linux.arm64.yml.+# Azure Pipelines uses old Ubuntu (18.04).+# So we need to put "qemu-aarch64-static" into this directory.diff --git a/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfileindex 9ca9f45ffc..6a92f9f312 100644--- a/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile+++ b/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile@@ -51,6 +51,7 @@ RUN \libboost-regex-dev \libboost-system-dev \libbrotli-dev \+ libbz2-dev \libdouble-conversion-dev \libgirepository1.0-dev \libglib2.0-doc \@@ -65,7 +66,8 @@ RUN \pkg-config \protobuf-compiler \python3-dev \- python3-numpy && \+ python3-numpy \+ zlib1g-dev && \if apt list | grep '^clang-7/'; then \apt install -y -V ${quiet} clang-7; \fi && \diff --git a/dev/tasks/linux-packages/debian/control b/dev/tasks/linux-packages/debian/controlindex 38e2ade5f5..1492cfb396 100644--- a/dev/tasks/linux-packages/debian/control+++ b/dev/tasks/linux-packages/debian/control@@ -15,6 +15,7 @@ Build-Depends:libboost-regex-dev,libboost-system-dev,libbrotli-dev,+ libbz2-dev,libdouble-conversion-dev,libgirepository1.0-dev,libgoogle-glog-dev,@@ -29,7 +30,8 @@ Build-Depends:pkg-config,python3-dev,python3-numpy,- tzdata+ tzdata,+ zlib1g-devBuild-Depends-Indep: libglib2.0-docStandards-Version: 3.9.6Homepage: https://arrow.apache.org/diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 5138853d0d..b6a2217a34 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -55,6 +55,7 @@ groups:- ubuntu-xenial- ubuntu-bionic- ubuntu-disco+ - ubuntu-eoan- centos-6- centos-7- centos-8@@ -65,6 +66,7 @@ groups:- ubuntu-xenial-arm64- ubuntu-bionic-arm64- ubuntu-disco-arm64+ - ubuntu-eoan-arm64- centos-7-aarch64- centos-8-aarch64@@ -1034,6 +1036,116 @@ tasks:- plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb- plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb+ ubuntu-eoan:+ ci: azure+ platform: linux+ template: linux-packages/azure.linux.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-eoan+ upload_extensions:+ - .deb+ - .dsc+ - .debian.tar.xz+ - .orig.tar.gz+ artifacts:+ - apache-arrow_{no_rc_version}-1.debian.tar.xz+ - apache-arrow_{no_rc_version}-1.dsc+ - apache-arrow_{no_rc_version}.orig.tar.gz+ - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset0-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight0-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-python0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow0_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva0_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet0_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma0_{no_rc_version}-1_[a-z0-9]+.deb+ - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb++ ubuntu-eoan-arm64:+ ci: azure+ platform: linux+ template: linux-packages/azure.linux.arm64.yml+ params:+ build_command: rake apt:build APT_TARGETS=ubuntu-eoan-arm64+ upload_extensions:+ - .deb+ - .dsc+ - .debian.tar.xz+ - .orig.tar.gz+ artifacts:+ - apache-arrow_{no_rc_version}-1.debian.tar.xz+ - apache-arrow_{no_rc_version}-1.dsc+ - apache-arrow_{no_rc_version}.orig.tar.gz+ - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-cuda0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset0-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-dataset0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight0-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-flight0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow-python0_{no_rc_version}-1_[a-z0-9]+.deb+ - libarrow0_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libgandiva0_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libparquet0_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma-glib0_{no_rc_version}-1_[a-z0-9]+.deb+ - libplasma0_{no_rc_version}-1_[a-z0-9]+.deb+ - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb+ - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb+centos-6:ci: azureplatform: linux