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

harmony-one 4.2.1 (new formula) #85856

Closed
wants to merge 1 commit into from
Closed

Conversation

cylim
Copy link

@cylim cylim commented Sep 24, 2021

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@BrewTestBot BrewTestBot added go Go use is a significant feature of the PR or issue new formula PR adds a new formula to Homebrew/homebrew-core labels Sep 24, 2021
sha256 "d29609a99a3a2e9031d2a26414ffdc3e271c3bf9cf9331dfcb321715fef682d4"
license "LGPL-3.0-or-later"

depends_on "go@1.16" => :build
Copy link
Member

Choose a reason for hiding this comment

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

Why doesn't it work with the latest Go?

Copy link
Author

Choose a reason for hiding this comment

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

probably golang/go#46645 issue. Will try to get the team to upgrade. 😄


depends_on "go@1.16" => :build

depends_on arch: :x86_64
Copy link
Member

Choose a reason for hiding this comment

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

Why doesn't it work on new macs?

Copy link
Author

Choose a reason for hiding this comment

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

I will try to debug this after I solved the linux build issues. It was failing in the CI and I can't test it without M1 device. :)

Comment on lines 38 to 39
ENV["GOPATH"] = buildpath
ENV["GO111MODULE"] = "auto"
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be needed in modern software.

Copy link
Author

@cylim cylim Sep 24, 2021

Choose a reason for hiding this comment

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

GOPATH is needed due to it is using in the Makefile to reference to other resources that had included in the file.

Comment on lines 69 to 72
<<~EOS
Invoke 'hmy cookbook' for examples of the most common, important usages
To gerenate docs in your current directories, run: 'hmy docs'
EOS
Copy link
Member

Choose a reason for hiding this comment

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

This should be in the upstream documentation, it's not homebrew specific.

Copy link
Author

Choose a reason for hiding this comment

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

I will remove it in next force push. Thanks for letting me knows. 😄


on_linux do
depends_on "gcc"
depends_on "glibc"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why? Does this software really need latest glibc?

Copy link
Author

Choose a reason for hiding this comment

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

The software doesn't need the latest.

I just figured out that Homebrew for Linux required those dependencies too, I had removed it from my local repo, but haven't hard push yet.

I am waiting for other fixes, then hard push at once. 😄

@cylim cylim marked this pull request as draft September 30, 2021 08:44
@cylim cylim closed this Oct 1, 2021
@SMillerDev SMillerDev mentioned this pull request Oct 11, 2021
6 tasks
@github-actions github-actions bot added the outdated PR was locked due to age label Nov 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2021
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 new formula PR adds a new formula to Homebrew/homebrew-core outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants