This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new eb375a5c38 GH-49776: [CI][C++] Install libc6-dbg in apt-based Linux
C++ images (#50034)
eb375a5c38 is described below
commit eb375a5c38b46ce96725f2f7f6376eba0e516e4f
Author: tadeja <[email protected]>
AuthorDate: Thu May 28 04:53:41 2026 +0200
GH-49776: [CI][C++] Install libc6-dbg in apt-based Linux C++ images (#50034)
### Rationale for this change
Fixes #49776. `libc6-dbg` lets gdb resolve symbols inside
`/lib*/ld-linux-x86-64.so.2`
### What changes are included in this PR?
Add `libc6-dbg` to the apt-install list in
`ci/docker/ubuntu-24.04-cpp.dockerfile`.
Additionally add it also to
`ci/docker/ubuntu-24.04-cpp-minimal.dockerfile`,
`ci/docker/ubuntu-22.04-cpp.dockerfile`,
`ci/docker/ubuntu-22.04-cpp-minimal.dockerfile`,
`ci/docker/debian-13-cpp.dockerfile` and
`ci/docker/debian-experimental-cpp.dockerfile`.
### Are these changes tested?
Yes, already used to symbolize the
[#49767](https://github.com/apache/arrow/issues/49767#issuecomment-4520516388).
### Are there any user-facing changes?
No.
* GitHub Issue: #49776
Authored-by: Tadeja Kadunc <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
ci/docker/debian-13-cpp.dockerfile | 1 +
ci/docker/debian-experimental-cpp.dockerfile | 1 +
ci/docker/ubuntu-22.04-cpp-minimal.dockerfile | 1 +
ci/docker/ubuntu-22.04-cpp.dockerfile | 1 +
ci/docker/ubuntu-24.04-cpp-minimal.dockerfile | 1 +
ci/docker/ubuntu-24.04-cpp.dockerfile | 1 +
6 files changed, 6 insertions(+)
diff --git a/ci/docker/debian-13-cpp.dockerfile
b/ci/docker/debian-13-cpp.dockerfile
index 92997fae4e..542c0446c5 100644
--- a/ci/docker/debian-13-cpp.dockerfile
+++ b/ci/docker/debian-13-cpp.dockerfile
@@ -56,6 +56,7 @@ RUN apt-get update -y -q && \
libboost-system-dev \
libbrotli-dev \
libbz2-dev \
+ libc6-dbg \
libcurl4-openssl-dev \
libgflags-dev \
libgmock-dev \
diff --git a/ci/docker/debian-experimental-cpp.dockerfile
b/ci/docker/debian-experimental-cpp.dockerfile
index 58b49eb70c..3e3241d33a 100644
--- a/ci/docker/debian-experimental-cpp.dockerfile
+++ b/ci/docker/debian-experimental-cpp.dockerfile
@@ -49,6 +49,7 @@ RUN if [ -n "${gcc}" ]; then \
libbrotli-dev \
libbz2-dev \
libc-ares-dev \
+ libc6-dbg \
libcurl4-openssl-dev \
libgflags-dev \
libgmock-dev \
diff --git a/ci/docker/ubuntu-22.04-cpp-minimal.dockerfile
b/ci/docker/ubuntu-22.04-cpp-minimal.dockerfile
index d38dd418e2..80e97c440a 100644
--- a/ci/docker/ubuntu-22.04-cpp-minimal.dockerfile
+++ b/ci/docker/ubuntu-22.04-cpp-minimal.dockerfile
@@ -31,6 +31,7 @@ RUN apt-get update -y -q && \
curl \
gdb \
git \
+ libc6-dbg \
libssl-dev \
libcurl4-openssl-dev \
patch \
diff --git a/ci/docker/ubuntu-22.04-cpp.dockerfile
b/ci/docker/ubuntu-22.04-cpp.dockerfile
index 183bed4c6c..7b0182012e 100644
--- a/ci/docker/ubuntu-22.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-22.04-cpp.dockerfile
@@ -77,6 +77,7 @@ RUN apt-get update -y -q && \
libbrotli-dev \
libbz2-dev \
libc-ares-dev \
+ libc6-dbg \
libcurl4-openssl-dev \
libgflags-dev \
libgmock-dev \
diff --git a/ci/docker/ubuntu-24.04-cpp-minimal.dockerfile
b/ci/docker/ubuntu-24.04-cpp-minimal.dockerfile
index 5e114d5dcd..904cfa99df 100644
--- a/ci/docker/ubuntu-24.04-cpp-minimal.dockerfile
+++ b/ci/docker/ubuntu-24.04-cpp-minimal.dockerfile
@@ -31,6 +31,7 @@ RUN apt-get update -y -q && \
curl \
gdb \
git \
+ libc6-dbg \
libssl-dev \
libcurl4-openssl-dev \
patch \
diff --git a/ci/docker/ubuntu-24.04-cpp.dockerfile
b/ci/docker/ubuntu-24.04-cpp.dockerfile
index 3a98491ba8..c5fc190917 100644
--- a/ci/docker/ubuntu-24.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-24.04-cpp.dockerfile
@@ -78,6 +78,7 @@ RUN apt-get update -y -q && \
libbrotli-dev \
libbz2-dev \
libc-ares-dev \
+ libc6-dbg \
libcurl4-openssl-dev \
libgflags-dev \
libgmock-dev \