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 75397e67fa ARROW-16764: [Packaging][deb] Drop support for Debian
GNU/Linux buster (#13470)
75397e67fa is described below
commit 75397e67fa0d81480437b60e7322f8a3d3a53671
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Jun 30 13:50:19 2022 +0900
ARROW-16764: [Packaging][deb] Drop support for Debian GNU/Linux buster
(#13470)
It will reach EOL at 2022-08.
See also: https://wiki.debian.org/DebianReleases
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/binary-task.rb | 1 -
dev/tasks/linux-packages/apache-arrow/Rakefile | 4 +-
.../apache-arrow/apt/debian-buster-arm64/from | 18 -----
.../apache-arrow/apt/debian-buster/Dockerfile | 85 ----------------------
dev/tasks/linux-packages/package-task.rb | 2 -
dev/tasks/tasks.yml | 3 +-
6 files changed, 3 insertions(+), 110 deletions(-)
diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb
index 751f3d186d..25a94cca06 100644
--- a/dev/release/binary-task.rb
+++ b/dev/release/binary-task.rb
@@ -1082,7 +1082,6 @@ class BinaryTask
def available_apt_targets
[
- ["debian", "buster", "main"],
["debian", "bullseye", "main"],
["debian", "bookworm", "main"],
["ubuntu", "bionic", "main"],
diff --git a/dev/tasks/linux-packages/apache-arrow/Rakefile
b/dev/tasks/linux-packages/apache-arrow/Rakefile
index 6d99ad63ec..cff8e468fe 100644
--- a/dev/tasks/linux-packages/apache-arrow/Rakefile
+++ b/dev/tasks/linux-packages/apache-arrow/Rakefile
@@ -108,7 +108,7 @@ class ApacheArrowPackageTask < PackageTask
def apt_prepare_debian_control_grpc(control, target)
case target
- when /\Adebian-buster/, /\Aubuntu-(?:bionic|focal)/
+ when /\Aubuntu-(?:bionic|focal)/
use_system_grpc = "#"
else
use_system_grpc = ""
@@ -148,7 +148,7 @@ class ApacheArrowPackageTask < PackageTask
def apt_prepare_debian_control_zstd(control, target)
case target
- when /\Adebian-buster/, /\Aubuntu-bionic/
+ when /\Aubuntu-bionic/
use_system_zstd = "#"
else
use_system_zstd = ""
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster-arm64/from
b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster-arm64/from
deleted file mode 100644
index 8da222b861..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster-arm64/from
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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/debian:buster
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
deleted file mode 100644
index ac6ddbe07e..0000000000
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
+++ /dev/null
@@ -1,85 +0,0 @@
-# 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=debian:buster
-FROM ${FROM}
-
-RUN \
- echo "debconf debconf/frontend select Noninteractive" | \
- debconf-set-selections
-
-RUN \
- echo 'APT::Install-Recommends "false";' > \
- /etc/apt/apt.conf.d/disable-install-recommends
-
-RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
-
-RUN \
- echo "deb http://deb.debian.org/debian buster-backports main" > \
- /etc/apt/sources.list.d/backports.list
-
-ARG DEBUG
-RUN \
- quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
- apt update ${quiet} && \
- apt install -y -V ${quiet} \
- build-essential \
- ccache \
- cmake \
- debhelper \
- devscripts \
- git \
- gtk-doc-tools \
- libboost-filesystem-dev \
- libboost-system-dev \
- libbrotli-dev \
- libbz2-dev \
- libc-ares-dev \
- libcurl4-openssl-dev \
- libgirepository1.0-dev \
- libglib2.0-doc \
- libgmock-dev \
- libgoogle-glog-dev \
- libgtest-dev \
- libjemalloc-dev \
- liblz4-dev \
- libre2-dev \
- libsnappy-dev \
- libssl-dev \
- libthrift-dev \
- libutf8proc-dev \
- lsb-release \
- ninja-build \
- nlohmann-json3-dev \
- pkg-config \
- python3-dev \
- python3-numpy \
- python3-pip \
- rapidjson-dev \
- tzdata \
- valac \
- zlib1g-dev && \
- apt install -y -V -t buster-backports ${quiet} \
- clang-11 \
- llvm-11-dev && \
- if apt list | grep '^nvidia-cuda-toolkit/'; then \
- apt install -y -V ${quiet} nvidia-cuda-toolkit; \
- fi && \
- pip3 install --upgrade meson && \
- ln -s /usr/local/bin/meson /usr/bin/ && \
- apt clean && \
- rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/package-task.rb
b/dev/tasks/linux-packages/package-task.rb
index 752ddc3e26..96499771ad 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -280,8 +280,6 @@ class PackageTask
# Disable arm64 targets by default for now
# because they require some setups on host.
[
- "debian-buster",
- # "debian-buster-arm64",
"debian-bullseye",
# "debian-bullseye-arm64",
"debian-bookworm",
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 8bc9dfafc3..142dc17f10 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -549,8 +549,7 @@ tasks:
{############################## Linux PKGS
####################################}
-{% for target in ["debian-buster",
- "debian-bullseye",
+{% for target in ["debian-bullseye",
"debian-bookworm",
"ubuntu-bionic",
"ubuntu-focal",