Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_builder_prerequisites failed after recent Helios upgrade #7293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
14 changes: 11 additions & 3 deletions tools/install_builder_prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,30 @@ function install_packages {
fi
elif [[ "${HOST_OS}" == "SunOS" ]]; then
CLANGVER=15
RTVER=13
PGVER=13
packages=(
"pkg:/package/pkg"
"build-essential"
"library/postgresql-$PGVER"
"pkg-config"
"library/libxmlsec1"
"system/library/gcc-runtime@$RTVER"
"system/library/g++-runtime@$RTVER"
# "bindgen leverages libclang to preprocess, parse, and type check C and C++ header files."
"pkg:/ooce/developer/clang-$CLANGVER"
"system/library/gcc-runtime"
"system/library/g++-runtime"
)

# The clickhouse binary depends on the {gcc,g++}-runtime packages being
# at least version 13. If we are on a version below that, update to the
# latest.
RTVER=13
for p in system/library/gcc-runtime system/library/g++-runtime; do
# buildmat runners do not yet have a new enough `pkg` for -o
#v=$(pkg list -Ho release $p)
v=$(pkg list -H -F tsv $p | awk '{split($2, a, "-"); print a[1]}')
((v < RTVER)) && packages+=($p@latest)
done

# Install/update the set of packages.
# Explicitly manage the return code using "rc" to observe the result of this
# command without exiting the script entirely (due to bash's "errexit").
Expand Down
Loading