-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
kapacitor: fix build for Linux #83691
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
Conversation
|
Not sure why this didn't get tested during Rust 1.54 bump, but seems to not build due to the old flux dependency in go.mod. |
3cb1598 to
4c8a69a
Compare
|
Has upstream been notified that they need to update |
|
We can open an issue/PR to request an update, though the upstream org (InfluxData) is the maintainer of both projects, so I would hope they are already aware of it. Not sure if we have examples in Go, but we do modify Rust projects Cargo.lock dependencies when necessary. Though, I am not sure if we have a standard way to go about this. The only options here to fix build would be to modify go.mod to either a much newer version (v0.124 thru v0.126), or just patch the specific problem like shown. EDIT: Or, I guess use |
|
We should really create an issue upstream too if we're going to patch this. |
|
I'll open an issue upstream as I didn't see anything specific to However, I did find that upstream is looking into locking Rust version, e.g. influxdata/kapacitor#2600, which may mean they aren't going to support newer Not sure if we would prefer the workaround of swapping |
|
Upstream issue influxdata/kapacitor#2612 Now, the question is whether to use:
|
SMillerDev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like it, but I think it's the best of two evils.
|
The build is probably broken again due to I'll probably rebase and re-run CI to confirm. Similar situation to Rust where either need to patch or need to switch to |
4c8a69a to
39ca06b
Compare
39ca06b to
732f91f
Compare
|
Actually didn't hit an issue after rebase, so should be fine to merge |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?https://github.com/Homebrew/homebrew-core/runs/3158668157?check_suite_focus=true