Skip to content

Commit 6e05984

Browse files
benprewandersk
authored andcommitted
provision: Fix PGroonga failing to load on Debian 13.
On Debian 13, we build PGroonga from source against libgroonga-dev from packages.groonga.org. Its libgroonga0 16.1.5-1 depends on libarrow2600, which links against the OpenTelemetry C++ libraries without declaring a dependency on them. So provisioning fails in postgresql-init-dev-db, because PostgreSQL cannot load pgroonga.so without libopentelemetry_exporter_otlp_http_log.so. Fix this by installing opentelemetry-cpp from Debian's main archive. Ubuntu 26.04 also builds PGroonga from source, but against Ubuntu's own libgroonga-dev, so it is not affected. apache/arrow#55112
1 parent b22d1ed commit 6e05984

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tools/lib/provision.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@
170170
"libmsgpack-dev",
171171
*VENV_DEPENDENCIES,
172172
]
173+
if vendor == "debian":
174+
# libarrow2600 from packages.groonga.org links against
175+
# opentelemetry-cpp without depending on it; see
176+
# https://github.com/apache/arrow/issues/55112
177+
SYSTEM_DEPENDENCIES.append("opentelemetry-cpp")
173178
elif "debian" in os_families():
174179
DEBIAN_DEPENDENCIES = UBUNTU_COMMON_APT_DEPENDENCIES
175180

0 commit comments

Comments
 (0)