Skip to content

Conversation

@myishay
Copy link
Contributor

@myishay myishay commented Sep 2, 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>?

- [X] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/HEAD/CONTRIBUTING.md)?
- [X] Have you ensured that your commits follow the [commit style guide](https://docs.brew.sh/Formula-Cookbook#commit)?
- [X] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
- [X] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?
- [X] Is your test running fine `brew test <formula>`, where `<formula>` is the name of the formula you're submitting?
- [X] 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 the go Go use is a significant feature of the PR or issue label Sep 2, 2021
end

depends_on "go" => :build
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?

Copy link
Contributor Author

@myishay myishay Sep 2, 2021

Choose a reason for hiding this comment

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

When installing datree using brew install datree and then running datree version, I encounter this error:

fatal error: unexpected signal during runtime execution

but using [email protected] datree works fine.
I'm still investigating this issue's source (I suspect it is related to a specific x/sys version) but until then I would like to pin the go version so users will be able to use it.

Copy link
Member

@carlocab carlocab Sep 2, 2021

Choose a reason for hiding this comment

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

We also run datree version, among other things in CI after building the formula. Why didn't that error in #84424?

Is there a tracking issue for the problem?

Copy link

Choose a reason for hiding this comment

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

Hi @carlocab,
At the moment running brew install datree downloads datree succesfully but running datree results in panic. datree is not building well with 1.17 version.
Link to the issue: datreeio/datree#159

This is also similar to #84487

We need to fix this because this is affecting all macos users

Copy link
Member

Choose a reason for hiding this comment

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

Well, it seems to be all macOS users -1 because I can't reproduce the issue when running the same commands as in the issue.

Copy link

Choose a reason for hiding this comment

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

You're right. We can't find the exact reason why this is not working for our users. Can we push this fix in the meanwhile until we find a solution for this issue?

Copy link
Member

Choose a reason for hiding this comment

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

at least for me, brew test datree passes but directly running datree version produces the stacktrace

Copy link
Member

Choose a reason for hiding this comment

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

to follow up here, we did not catch this error because it does not produce with TERM=dumb, which our test environment sets

@chenrui333
Copy link
Member

it should be fixed by updating x/sys dependency

Close for now.

@chenrui333 chenrui333 closed this Sep 3, 2021
dimabru pushed a commit to datreeio/datree that referenced this pull request Sep 5, 2021
dimabru pushed a commit to datreeio/datree that referenced this pull request Sep 5, 2021
* feat: remove commits by travis during builds

* fix: bump travis version

* build: update x/sys to support go 1.17 (#160)

closes #159
closes Homebrew/homebrew-core#84484

Signed-off-by: Rui Chen <[email protected]>

* feat: bump version

Co-authored-by: rui <[email protected]>
@github-actions github-actions bot added the outdated PR was locked due to age label Oct 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 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 outdated PR was locked due to age

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants