Skip to content

Commit ff8d494

Browse files
authored
packages apt: work around missing opentelemetry-cpp dependency of libarrow (#3034)
Packaging tests fail with the following error: ``` groonga: error while loading shared libraries: libopentelemetry_exporter_otlp_http_log.so: cannot open shared object file: No such file or directory ``` This is because `opentelemetry-cpp`, which `libarrow` depends on, isn't installed. See also: apache/arrow#55112 Install `opentelemetry-cpp` as a workaround.
1 parent 2a96615 commit ff8d494

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎packages/apt/test.sh‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ else
3535
apt update
3636
fi
3737

38+
# Work around Apache Arrow's missing OpenTelemetry runtime dependency.
39+
# https://github.com/apache/arrow/issues/55112
40+
case "${code_name}" in
41+
jammy|noble)
42+
;;
43+
*)
44+
apt install -V -y opentelemetry-cpp
45+
;;
46+
esac
47+
3848
repositories_dir=/groonga/packages/apt/repositories
3949
apt install -V -y \
4050
${repositories_dir}/${distribution}/pool/${code_name}/${component}/*/*/*_{${architecture},all}.deb

0 commit comments

Comments
 (0)