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

report.sh in main stream does not work in a MacOS #6491

Closed
xiwu opened this issue Mar 9, 2022 · 5 comments
Closed

report.sh in main stream does not work in a MacOS #6491

xiwu opened this issue Mar 9, 2022 · 5 comments
Labels

Comments

@xiwu
Copy link

xiwu commented Mar 9, 2022

Describe the bug
cannot run the report.sh in MacOS

To Reproduce
./report.sh --namespace myproject --cluster kafka-base

./report.sh: line 17: gecho: command not found

./report.sh: line 22: gecho: command not found

Expected behavior
/report.sh can run on all the platforms

Environment (please complete the following information):

  • Strimzi version: [main]
@xiwu xiwu added the bug label Mar 9, 2022
@scholzj
Copy link
Member

scholzj commented Mar 9, 2022

Can you provide some actual logs, ZIP file with the output or proper description of the issue and not just the issue template?

@scholzj scholzj added question and removed bug labels Mar 9, 2022
@xiwu
Copy link
Author

xiwu commented Mar 14, 2022

Updated the description.

@scholzj
Copy link
Member

scholzj commented Mar 14, 2022

The tool is using GNU versions of different command line tools (whcih in many cases differ from the BSD versions used by MacOS). So to use the tool, you have to install the GNU versions of these tools and have them in our path with the g prefix. E.g. gtar, gsed, gecho etc. It looks like maybe this is missing in your case?

@fvaleri
Copy link
Contributor

fvaleri commented Mar 14, 2022

Hi, if you are using brew package manager, the you can run:

brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt grep

You also need kubectl/oc (use brew or get it from kubernetes.io).

@xiwu
Copy link
Author

xiwu commented Mar 14, 2022

great, works now

@scholzj scholzj closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants