-
Notifications
You must be signed in to change notification settings - Fork 101
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
Ugrep search throws error -z option not available in new Homebrew ugrep v5.1.2 #380
Comments
What does |
The CI test of 5.1.2 passes and includes all compression libraries, like all machines we test on our end before releasing an update: |
Thanks for quick response then why i am having mentioned error ... it wasn't there one release before with same config |
The error only occurs when ugrep was not built with libz, there is no other cause:
The configure scripts have only minor changes and some restructuring, one change is to use pkg-config to detect libraries. That is a pretty standard way these days to detect libraries. If the libraries cannot be found at the usual locations, then it is still possible to specify custom locations with When you run
The second line in the above sets |
I installed via brew ..should I reinstall the tool ..will it solve the problem |
is there any command to re-generate .ugrep config file .. I tried ug --config option but not working for me ..can you please help me with exact command syntax to generate new .ugrep file |
@genivia-inc I did a reinstall but the same error and ./build.sh seems I will get only when I close and recompile but as I said I am using brew to install on my macOS 14.3... request you to please me to get rid of this problem.. or help me to install old version if we can't fix this issue |
@genivia-inc Here is the code fix missing in 5.1.2 and causing a broken -z option... request you please fix and ugrep is now missing major feature I used most -z option https://github.com/Genivia/ugrep-indexer/releases/tag/v0.9.6 |
Looks like brew install is broken? $ ugrep --version
ugrep 5.1.2 aarch64-apple-darwin21.6.0 +neon/AArch64 shows no -P and -z! |
yes look like brew install is broken for sure -z and --decompress option is I tried and broken and most likely other options could also have problem.. here is my output ugrep --version |
I will revert the configure script to the one I've used with 5.1.1 that worked for Homebrew, but with a few minor changes to include additions. Then update 5.1.3 should work for homebrew again as it had worked before. |
thank you so much |
I've committed and released 5.1.3 that reverts the configure script changes (those where suggested by others #339, I should have known better) that affect compression libraries and PCRE2 detection. It may take a couple of hours for Homebrew ugrep to update to 5.1.3. Hopefully the problem is fixed. If not, I will need to investigate and go through the Homebrew formula instructions and verify things to figure out what goes wrong. That will take much more time. So keep fingers crossed! |
I checked Homebrew ugrep 5.1.3 and it looks like it picked up the proper library dependences again: $ brew install ugrep
...
==> Downloading https://ghcr.io/v2/homebrew/core/ugrep/manifests/5.1.3
...
$ /opt/homebrew/bin/ugrep --version
ugrep 5.1.3 aarch64-apple-darwin21.6.0 +neon/AArch64; -P:pcre2jit; -z:zlib,bzip2,lzma,lz4,zstd,brotli |
@genivia-inc you are awesome my friend working fine now thanks |
Hello Expert,
I did ugrep upgrade to 5.1.2 and while search getting the below error due to which not able to search.. it was working few min back before upgrade
The text was updated successfully, but these errors were encountered: