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

krr 1.17.0 install and upgrade with brew on MacOS reports libpng linkage errors #358

Open
stevo-f3 opened this issue Nov 7, 2024 · 1 comment

Comments

@stevo-f3
Copy link

stevo-f3 commented Nov 7, 2024

Describe the bug

$ brew install krr
==> Fetching robusta-dev/krr/krr
==> Downloading https://github.com/robusta-dev/krr/releases/download/v1.17.0/krr-macos-latest-v1.17.0.zip
Already downloaded: /Users/foo/Library/Caches/Homebrew/downloads/8aa8a314f56ceb953f2a40c046d4b7c707532a6fbf6cc70fc660b28de881f4c3--krr-macos-latest-v1.17.0.zip
==> Installing krr from robusta-dev/krr
==> Running 'krr version' to warm up binary and extract compressed python libraries... this can take up to 60 seconds
==> /opt/homebrew/Cellar/krr/1.17.0/libexec/krr version
Error: Failed changing dylib ID of /opt/homebrew/Cellar/krr/1.17.0/libexec/_internal/PIL/.dylibs/libpng16.16.dylib
  from @rpath/libpng16.16.dylib
    to /opt/homebrew/opt/krr/libexec/_internal/PIL/.dylibs/libpng16.16.dylib
Error: Failed to fix install linkage
The formula built, but you may encounter issues using it or linking other
formulae against it.
...

To Reproduce
Steps to reproduce the behavior:

  1. Install or upgrade krr to 1.17.0 on MacOS

Expected behavior
krr to install or upgrade with brew without errors

Screenshots
N/A

Are you interested in contributing a fix for this?
no

Desktop (please complete the following information):

  • OS: MacOS Sonoma 14.7.1
  • Browser: N/A
  • Version: 1.17.0

Smartphone (please complete the following information):
N/A

Additional context

@xxzk
Copy link

xxzk commented Nov 8, 2024

Got error when doing brew install krr, too.

❯ brew install krr
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################################################################################################################################ 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################################################################################################################################ 100.0%
==> Fetching robusta-dev/krr/krr
==> Downloading https://github.com/robusta-dev/krr/releases/download/v1.17.0/krr-macos-latest-v1.17.0.zip
Already downloaded: /Users/bar/Library/Caches/Homebrew/downloads/8aa8a314f56ceb953f2a40c046d4b7c707532a6fbf6cc70fc660b28de881f4c3--krr-macos-latest-v1.17.0.zip
==> Installing krr from robusta-dev/krr
==> Running 'krr version' to warm up binary and extract compressed python libraries... this can take up to 60 seconds
==> /usr/local/Cellar/krr/1.17.0/libexec/krr version
Last 15 lines from /Users/bar/Library/Logs/Homebrew/krr/01.krr:
2024-11-08 00:56:38 +0000

/usr/local/Cellar/krr/1.17.0/libexec/krr
version


If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/robusta-dev/homebrew-krr/issues

These open issues may also help:
Cannot upgrade krr to version 1.10.0 https://github.com/robusta-dev/homebrew-krr/issues/4

MacOS 13.7.1

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