lnav
lnav copied to clipboard
top-of-tree is failing to install from HEAD
Installing from HEAD is currently failing. It just hangs at this step at the end:
Unlinking /usr/local/Cellar/lnav/0.10.1... 2 symlinks removed.
mmashwani@MLC02CC0HQMD6V ~ % brew install --HEAD lnav
==> Cloning https://github.com/tstack/lnav.git
Updating /Users/mmashwani/Library/Caches/Homebrew/lnav--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at d2272724 [formats] pickup old macos syslog format
Entering 'ext/pcapplusplus'
/Users/mmashwani/Library/Caches/Homebrew/lnav--git/ext/pcapplusplus
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/lnav/HEAD-d227272 --libdir=/usr/local/Cellar/lnav/HEAD-d227272/lib --with-sqlite3=/usr/local/opt/sqlite --with
==> make install V=1
I'm not seeing this anywhere else, can you run ps
and see which process is blocked?
This looks ugly, but here's the output of that command attached lnav_head_install_ps.txt .
Just tried again and attaching the output of the ps command. lnav_head_install_ps_02.txt .
Ah, sorry, didn't realize you were using brew install --HEAD
. For some reason, compiling the "data_scanner_re.cc" file with some optimizations takes a really long time. I had worked around this in the regular build, but it looks like brew is overriding some flags and that's making it take longer. I'll have to figure out how to ignore the brew overrides in the makefile.
Yup, when I came back a really long time later, it was all compiled. It must have happened because of a recent brew update because brew install --HEAD lnav
was not taking this long until some time yesterday when I was updating all of the things.
I made a tweak to get that file to build faster. The build from HEAD on my M2 is now 1m37s. So, I'm going to close this.