facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.9k stars 2.01k forks source link

Error when installing with homebrew #1607

Open hmottestad opened 2 years ago

hmottestad commented 2 years ago

Homebrew is the recommended way of installing infer. When installing on a Macbook with the M1 processor running macOS Monterey there is an error saying that infer has been deprecated and that there is no bottle available.

% brew install infer                    
Warning: infer has been deprecated because it does not build!
Error: infer: no bottle available!

Please include the following information:

arlovip commented 2 years ago

The same issue with Homebrew.

seanWongs commented 2 years ago

Any updates?

mhashim6 commented 2 years ago

Same on m1 processor

mackobe commented 2 years ago

Same in M1, i used brew install --build-from-source infer, not work.

maissanemerrheim commented 1 year ago

Hi everyone,

I would like to install Infer. I tried to use the command .brew install infer. However it didn't work. In fact, I have this error : Error: infer has been disabled because it does not build! . As I looked on the internet, apparently it is a common problem for the macOS Monterey when installing infer. I also tried the command 'brew install --dry-run infer' and this is a part of the output : 'Would install 1 formula: infer ==>Would install 6 dependencies for infer: libtool ninja openjdk@11 gdbm mpdecimal python@3.9

This is why I decided to install it from the source. I followed this tutorial : https://github.com/facebook/infer/blob/main/INSTALL.md but it doesn't work. In fact, when I try to run infer, I have a zsh command not found : infer .

My operating system and version : macOS Monterey Version 12.6 I am trying to run this command : infer run -- javac Hello.java My code : (base) username examples % infer run -- javac Hello.java zsh: command not found: infer

Note : I installed the dependencies after installing infer from source.

Thank you for your help.

dongchirua commented 1 year ago

happening in m1, please help

songgeb commented 1 year ago

any progress?

hmottestad commented 1 year ago

Seems that this project is dead. Last release was 2 years ago. I created this issue a year ago and no one from facebook/meta has responded.

dsmiley commented 1 year ago

I get interaction with maintainers on other issues promptly. Granted they were mostly resolved with changes that me as a user could do and didn't lead to code changes.

hmottestad commented 10 months ago

@skcho do you know if this issue has been resolved?

skcho commented 10 months ago

Hello, @hmottestad. We know that the new version release has deferred much and its distribution on homebrew. Unfortunately, they are not our high-priority jobs at the moment. While we have no specific plan yet, hopefully, we have time for releasing a new version sooner or later.