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

Cannot install ionosctl via Homebrew on WSL Debian anymore #453

Closed
CorentinKirchnerSperi opened this issue Jul 16, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@CorentinKirchnerSperi
Copy link

CorentinKirchnerSperi commented Jul 16, 2024

Description

I cannot install ionosctl with Homebrew on WSL (Windows Subsystem for Linux) anymore.

Expected behavior

I already installed ionosctl successfully in the past with Homebrew on WSL following the description from your README.md file:

brew tap ionos-cloud/homebrew-ionos-cloud
brew install ionosctl

Environment

Go version:

go1.21.8 linux/amd64

Ionosctl version:

v6.7.7

Sorry, I do not remember which is the last version of ionosctl I installed or updated successfully with Homebrew.
But I noticed that Homebrew does not update or install ionosctl anymore around the 2024-05-02.

OS:

Debian GNU/Linux 11 (bullseye)
via neoPackage Microsoft Windows Subsystem for Linux 5.10.16
on Windows 11 Enterprise
Version: 23H2
OS build: 22631.3880
Experience: Windows Feature Experience Pack 1000.22700.1020.0

Shell:

Bash and Fish

Configuration Files

No configuration files.

How to Reproduce

Steps to reproduce the behavior:

  1. Open the Bash or Fish shell terminal.
  2. Execute brew tap ionos-cloud/homebrew-ionos-cloud.
  3. Get the following output:
==> Auto-updating Homebrew...
  1. Execute brew install ionosctl.
  2. Get the following output:
==> Auto-updating Homebrew...
==> Fetching ionos-cloud/ionos-cloud/ionosctl
==> Downloading https://github.com/ionos-cloud/ionosctl/releases/download/v6.7.7/ionosctl-6.7.7-linux-amd64.tar.gz
Already downloaded: /home/ckirchnersperi/.cache/Homebrew/downloads/2783cda6b8f23b38207ba2055913fd7083f6913c3190fd5d506f7d3d9833907a--ionosctl-6.7.7-linux-amd64.tar.gz
==> Installing ionosctl from ionos-cloud/ionos-cloud
Error: The following formula cannot be installed from bottle and must be
built from source.
  ionosctl
Install Clang or run `brew install gcc`.

Error and Debug Output

See in the "How to Reproduce" paragraph.

Additional Notes

No additional notes.

References

No additional references.

@CorentinKirchnerSperi CorentinKirchnerSperi added the bug Something isn't working label Jul 16, 2024
@avirtopeanu-ionos
Copy link
Contributor

Hi, I'll look into this

In the meantime, seeing as you have go, you could install via go install: go install github.com/ionos-cloud/ionosctl/v6@latest

Thanks for opening this issue, I'll investigate

@CorentinKirchnerSperi
Copy link
Author

CorentinKirchnerSperi commented Jul 31, 2024

@avirtopeanu-ionos, oh sorry, I found the problem on my computer!

By installing gcc with Homebrew via the command:

brew install gcc

it installs the command gcc-14 but not gcc.

I had then to create a symbolic link myself:

ln --symbolic './gcc-14' /home/linuxbrew/.linuxbrew/bin/gcc

And then I can install ionosctl with Homebrew successfully. 👍

We can close this bug.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants