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

Warning for most packages on m1 macs #168

Open
knpwrs opened this issue Mar 22, 2022 · 1 comment
Open

Warning for most packages on m1 macs #168

knpwrs opened this issue Mar 22, 2022 · 1 comment

Comments

@knpwrs
Copy link

knpwrs commented Mar 22, 2022

On my m1 mac I can install whalesay via whalebrew as such:

whalebrew install whalebrew/whalesay

When I run whalesay, I get a warning:

❯ whalesay oink
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ______
< oink >
 ------
    \
     \
      \
                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/
          \____\_______/

Suppressing stderr gets rid of the warning:

❯ whalesay oink 2> /dev/null
 ______
< oink >
 ------
    \
     \
      \
                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/
          \____\_______/

Is there a way to suppress this warning without supressing all of stderr?

@tjamet
Copy link
Contributor

tjamet commented Mar 29, 2022

Thanks for raising, I will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants