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

metricbeat 6.2.1 #23847

Closed
wants to merge 1 commit into from
Closed

metricbeat 6.2.1 #23847

wants to merge 1 commit into from

Conversation

tylerjl
Copy link
Contributor

@tylerjl tylerjl commented Feb 8, 2018

Created with brew bump-formula-pr.

@fxcoudert
Copy link
Member

==> make
go build -i
go build github.com/elastic/beats/vendor/github.com/shirou/gopsutil/disk: invalid flag in #cgo LDFLAGS: -mmacosx-version-min=10.10
make: *** [metricbeat] Error 1

@fxcoudert fxcoudert added the go Go use is a significant feature of the PR or issue label Feb 8, 2018
@tylerjl
Copy link
Contributor Author

tylerjl commented Feb 8, 2018

Thanks @fxcoudert - the root cause here is that metricbeat doesn't build on go 1.9.4. Is there a way to pin depends_on "go" => :build in the formula to 1.9.2, or alternatively, any prior art regarding respecting a file like .go-version at build time to fetch a specific version? Beats ship those files by default and would help avoid these failures in the future.

@ilovezfs
Copy link
Contributor

ilovezfs commented Feb 9, 2018

Nope. It must build with the latest go or we'll need to remove it from Homebrew.

@ilovezfs ilovezfs added the marked for removal/rejection PR is probably going to be closed or formula deleted label Feb 9, 2018
@tylerjl
Copy link
Contributor Author

tylerjl commented Feb 9, 2018

The aforementioned PR should get metricbeat into a state that it'll compile with the latest version of go. How do you feel about just closing this one out, and we can update metricbeat when the next release comes out with go 1.9.4 supported?

@ilovezfs
Copy link
Contributor

ilovezfs commented Feb 9, 2018

Can that not be applied as a patch?

@tylerjl
Copy link
Contributor Author

tylerjl commented Feb 9, 2018

I'll take a look at applying it as a patch one the PR has been finalized and merged ⚡️

@ilovezfs
Copy link
Contributor

ilovezfs commented Feb 9, 2018

@tylerjl OK thanks. We'll close this out for now then. Let me know if/when you want it re-opened.

@ilovezfs ilovezfs closed this Feb 9, 2018
@ilovezfs ilovezfs added not merged PR was closed without being merged (and may need to be revisited) and removed marked for removal/rejection PR is probably going to be closed or formula deleted labels Feb 9, 2018
@tylerjl
Copy link
Contributor Author

tylerjl commented Feb 14, 2018

@ilovezfs my branch now has an inline patch which works for me when building the formula from source under golang 1.9.4, there's some comments in there as well indicating when the intermediate patch can be removed once a version supporting 1.9.4 is released.

@ilovezfs ilovezfs reopened this Feb 15, 2018
@ilovezfs ilovezfs removed the not merged PR was closed without being merged (and may need to be revisited) label Feb 15, 2018
@ilovezfs
Copy link
Contributor

@tylerjl cool. I've reopened this if you want to push new commits.

@tylerjl
Copy link
Contributor Author

tylerjl commented Feb 15, 2018

Looks like the latest revision with the patch builds cleanly, any other changes needed?

@commitay commitay closed this in eefebbe Feb 16, 2018
@commitay
Copy link
Contributor

Thanks @tylerjl!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
go Go use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants