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

[reciever/*log] Revert syslog-go dependency update. #8545

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

djaglowski
Copy link
Member

The most recent update introduced an incompatibility with 386 architecture.

Context: open-telemetry/opentelemetry-collector#5013 (comment)

The most recent update introduced an incompatibility with 386 architecture.

This bump also picks up a fix for gonum on Go 1.18.
@djaglowski djaglowski requested a review from a team March 17, 2022 12:23
@djaglowski djaglowski added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 17, 2022
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still require go-syslog v3.1.0:

github.com/observiq/go-syslog/v3 v3.1.0 // indirect

So I still get the build error locally:

❯ GOOS=linux GOARCH=386 make otelcontribcol
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -o ./bin/otelcontribcol_linux_386 \
                -ldflags "-X github.com/open-telemetry/opentelemetry-collector-contrib/internal/version.Version=v0.47.0-4-g200b69dd7" -tags "" ./cmd/otelcontribcol
go: downloading github.com/aws/aws-sdk-go v1.43.20
go: downloading github.com/influxdata/influxdb-observability/common v0.2.16
go: downloading github.com/influxdata/influxdb-observability/otel2influx v0.2.16
go: downloading github.com/open-telemetry/opentelemetry-log-collection v0.27.2
go: downloading github.com/influxdata/influxdb-observability/influx2otel v0.2.16
go: downloading gonum.org/v1/gonum v0.11.0
# github.com/observiq/go-syslog/v3/rfc5424
../../../go/pkg/mod/github.com/observiq/go-syslog/v3@v3.1.0/rfc5424/machine.go:115:7: constant 4294967295 overflows int

@djaglowski
Copy link
Member Author

@mx-psi Please try again

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works now 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants