-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
run ocb (v0.111.0) on command line, both darwin/arm64 and linux/arm64 with local go version installed in environment
Steps to reproduce
download ocb v0.111.0 for linux/arm64 or darwin/arm64, ensure go is installed locally
run ocb
What did you expect to see?
successful collector distro built to tmp folder
What did you see instead?
2024-10-08T20:41:39.980Z INFO internal/command.go:125 OpenTelemetry Collector Builder {"version": "0.111.0"}
2024-10-08T20:41:39.981Z INFO internal/command.go:136 Using default build configuration
2024-10-08T20:41:39.982Z INFO builder/config.go:142 Using go {"go-executable": "/usr/local/go/bin/go"}
2024-10-08T20:41:39.982Z INFO builder/main.go:101 Sources created {"path": "/tmp/otelcol-distribution2631262000"}
Error: failed to update go.mod: go subcommand failed with args '[mod tidy -compat=1.22]': exit status 1, error message: go: downloading go.opentelemetry.io/collector/confmap/provider/httpprovider v0.111.0
go: downloading go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.111.0
go: downloading go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.111.0
go: go.opentelemetry.io/collector/confmap/provider/[email protected]: reading go.opentelemetry.io/collector/confmap/provider/httpprovider/go.mod at revision confmap/provider/httpprovider/v0.111.0: unknown revision confmap/provider/httpprovider/v0.111.0
What version did you use?
v0.111.0 binary
What config did you use?
default config (no config file passed)
Environment
OS: ubuntu 22.04, as well as macOS 14.7
Additional context
It appears that httpprovider was updated to stable version; it's likely we can update some code to handle stable versions, or update the default build config in ocb code.
Potentially related to ocb go mod tidy bug v0.107.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working