Package Details: otelcol-contrib 0.112.0-1

Git Clone URL: https://aur.archlinux.org/otelcol-contrib.git (read-only, click to copy)
Package Base: otelcol-contrib
Description: OpenTelemetry Collector Contrib distribution
Upstream URL: https://github.com/open-telemetry/opentelemetry-collector-contrib
Licenses: Apache
Groups: open-telemetry
Submitter: rogercoll
Maintainer: rogercoll
Last Packager: rogercoll
Votes: 0
Popularity: 0.000000
First Submitted: 2023-08-30 20:24 (UTC)
Last Updated: 2024-10-28 10:56 (UTC)

Latest Comments

pepperblue commented on 2024-11-07 16:10 (UTC)

Hi, as far as I can tell, the reason for is, that "Makefile.Common" generates "SRC_ROOT" by executing git rev-parse --show-toplevel, but the extracted archive contains no ".git"-directory (but there possibly is one under "/tmp/otelcol-contrib"). Solution - at least for me - was to edit PKGBUILD so that the source-root-dir contains the needed git-config.

Alucard commented on 2024-10-31 02:12 (UTC)

Hi, 0.112.0 fails with

==> Starting build()...

/bin/bash: line 1: /tmp/otelcol-contrib/internal/tools/tools.go: No such file or directory

make: *** No rule to make target '/tmp/otelcol-contrib/.tools/builder', needed by 'genotelcontribcol'. Stop.

==> ERROR: A failure occurred in build().

any ideas on why?

ectospasm commented on 2023-10-22 21:46 (UTC)

You automatically enable and start the otelcol-contrib service in post_install() and post_upgrade(). You shouldn't do that. If someone is installing it for the first time, they should be able to configure it first. This is not Ubuntu, Arch users don't expect installed services to be enabled and started automatically.

Once they've configured it and they're ready to start, then they can do this: # systemctl enable --now otelcol-contrib.service

Installing the package shouldn't do that automatically.