Comments (8)
From quick glance, issue seems to be from ncurses
bump.
Partly a side-effect of musikcube
statically linking to ncurses
on macOS and partly due to fragile brew ncurses
static lib.
It looks like libncursesw.a
records /opt/homebrew/Cellar/ncurses/X.Y/share/terminfo
, which means the path breaks on updates:
❯ strings /opt/homebrew/opt/ncurses/lib/libncursesw.a | rg Cellar/ -B1 -A1
TERMINFO
/opt/homebrew/Cellar/ncurses/6.5/share/terminfo
HOME
As workaround, manually overriding path via TERMINFO=/opt/homebrew/opt/ncurses/share/terminfo musikcube
should behave as expected
Rebuilding bottle will temporarily fix the issue, but it will break again on next ncurses
(e.g. 6.6)
Building with dynamic linkage will probably help as it doesn't burn Cellar path into musikcube
binary. May want to request upstream support here as they are forcing static linkage https://github.com/clangen/musikcube/blob/3.0.2/src/musikcube/CMakeLists.txt#L107-L109
message(STATUS "[ncurses] detected Darwin, linking statically")
set(CURSES_LIBRARY_NAME "lib${CURSES_LIBRARY_NAME}.a")
set(PANEL_LIBRARY_NAME "lib${PANEL_LIBRARY_NAME}.a")
Also, brew ncurses
may need a fix for static lib and musikcube
may need a test for TUI.
from homebrew-core.
cc @ZhongRuoyu if you have any insight as the committer of a3c88a9
from homebrew-core.
Did you try reporting this upstream?
from homebrew-core.
Did you try reporting this upstream?
There hasn't been any commits to the upstream repo for > 5 months, I assume this is some sort of bottle/build issue vs. an upstream issue.
from homebrew-core.
Sounds more likely that there is some dependency that was updated and now it doesn't work anymore. Which means it'll slowly break for everyone. Upstream is the best place to help identify the issue. We might be able to work around it here, but without upstream I doubt it'll be fixed
from homebrew-core.
Sounds more likely that there is some dependency that was updated and now it doesn't work anymore. Which means it'll slowly break for everyone. Upstream is the best place to help identify the issue. We might be able to work around it here, but without upstream I doubt it'll be fixed
argh ok. I'll try building from source this weekend see if i can isolate the issue and open something upstream. but i'll be honest, C++ build issues isn't exactly my strong point.
from homebrew-core.
This might work, but testing it will be annoying:
diff --git a/Formula/n/ncurses.rb b/Formula/n/ncurses.rb
index d593662e900..9218c0bf80e 100644
--- a/Formula/n/ncurses.rb
+++ b/Formula/n/ncurses.rb
@@ -44,7 +44,11 @@ class Ncurses < Formula
"--with-gpm=no",
"--without-ada",
]
- args << "--with-terminfo-dirs=#{share}/terminfo:/etc/terminfo:/lib/terminfo:/usr/share/terminfo" if OS.linux?
+ args << if OS.mac?
+ "--with-terminfo-dirs=#{opt_share}"
+ else
+ "--with-terminfo-dirs=#{opt_share}/terminfo:/etc/terminfo:/lib/terminfo:/usr/share/terminfo"
+ end
system "./configure", *args
system "make", "install"
from homebrew-core.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
from homebrew-core.
Related Issues (20)
- Make "Merge when ready" button always "work" HOT 6
- docker-py not working with docker 7.0.0 in ansible formula HOT 1
- Problem with ansible-lint formula HOT 8
- [email protected] fails to install in GitHub runner image HOT 9
- curl 8.8.0 - problem with `--write-out`: error 43 - A libcurl function was given a bad argument HOT 15
- brew install --cask metasploit fail 404 on macOS HOT 1
- psql segfaults from brew linked krb5 HOT 5
- mtr doesn't gives any report output if --port option is used with tcp/ udp. HOT 2
- virt-manager will only run if run with --debug flag HOT 2
- Podman recipe requires `pasta` now as well, or extra configuration to avoid needing `pasta` HOT 3
- gitg: SHA256 mismatch HOT 3
- Including .ruby-version in homebrew-core can force ruby version for Ruby scripts in /opt/homebrew/bin HOT 3
- Conflicting Instructions for Using Homebrew-installed LLVM HOT 2
- `universal-ctags` continuously upgrade to the same version HOT 1
- package ccze not picked up by install command HOT 1
- swi-prolog installed with --HEAD option shows different versions HOT 1
- Missing msbuild in [email protected] breaks SonarQube scanning in our build pipeline HOT 1
- Running formulae `asitop` breaks `[email protected]` permissions HOT 3
- Homebrew curl HTTP/3 support HOT 4
- brew install scikit-image isn't importable from python3.12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-core.