Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions dev/release/verify-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,24 @@ echo "::endgroup::"


echo "::group::Test Apache Arrow C++"

# 27.1.0-dev20261025 -> 27
# 27.1.0 -> 27
major_version=$(echo ${VERSION} | cut -d. -f1)
# 27.1.0-dev20261025 -> 1
# 27.1.0 -> 1
minor_version=$(echo ${VERSION} | cut -d. -f2)
# 27.1.0 -> 2701
so_version=$((major_version * 100 + minor_version))

mkdir -p build
${APT_INSTALL} libarrow${so_version}=${package_version}
libarrow_so="/usr/lib/$(uname -m)-linux-gnu/libarrow.so.${so_version}"
# All dependencies must be installed.
ldd "${libarrow_so}"
if ldd "${libarrow_so}" | grep --fixed-strings 'not found'; then
exit 1
fi
${APT_INSTALL} libarrow-dev=${package_version}
required_packages=()
required_packages+=(cmake)
Expand Down Expand Up @@ -258,9 +275,7 @@ elif [ -f /etc/apt/sources.list.d/apache-arrow.sources.bak ]; then
fi
fi

# 22.0.0.dev54 -> 22
# 22.0.0 -> 22
current_major_version=${package_version%%.*}
current_major_version=${major_version}
# 22 -> 21
previous_major_version=$[current_major_version -1]
previous_so_version="${previous_major_version}00"
Expand Down
3 changes: 2 additions & 1 deletion dev/tasks/linux-packages/apache-arrow/debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends:
${misc:Depends},
${shlibs:Depends}
${shlibs:Depends},
@USE_SYSTEM_OPEN_TELEMETRY@ opentelemetry-cpp
Description: Apache Arrow is a data processing library for analysis
.
This package provides C++ library files.
Expand Down
Loading