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

InferClang++ missing in 0.9.4 Homebrew release #508

Closed
zhuowei opened this issue Nov 22, 2016 · 6 comments
Closed

InferClang++ missing in 0.9.4 Homebrew release #508

zhuowei opened this issue Nov 22, 2016 · 6 comments

Comments

@zhuowei
Copy link

zhuowei commented Nov 22, 2016

After upgrading Infer to version 0.9.4 through Homebrew on macOS Sierra 10.12.1, I'm getting this message when running Infer:

/usr/local/Cellar/infer/0.9.4/lib/infer/infer/lib/python/inferlib/../../../lib/xcode_wrappers/clang++: line 8: /usr/local/Cellar/infer/0.9.4/lib/infer/infer/lib/xcode_wrappers/../../bin/InferClang++: No such file or directory

Command /usr/local/Cellar/infer/0.9.4/lib/infer/infer/lib/python/inferlib/../../../lib/xcode_wrappers/clang++ failed with exit code 127

I manually downloaded the 0.9.4 bottle from https://bintray.com/homebrew/bottles/infer#files, and can confirm that there's no InferClang++ file:

$ tar tf infer-0.9.4.sierra.bottle.tar.gz |grep InferClang
infer/0.9.4/lib/infer/infer/bin/InferClang
@dulmarod
Copy link
Contributor

Thanks for reporting, we'll look into that. Could you tell us more about what kind of project you were trying to analyze, and the command you used if possible?

@akotulski
Copy link
Contributor

InferClang should be created during build process of infer, so it's ok if it's not in the archive. Could you try removing and installing infer? Maybe there is something wrong with the upgrade process.
brew reinstall infer

@jberdine
Copy link
Contributor

As a temporary workaround, you can create a symbolic link named InferClang++ in the same directory as InferClang that points to InferClang.

@akotulski
Copy link
Contributor

@zhuowei I reproduced issue on my computer and I'm looking into the fix.
For now you can follow @jberdine suggestion

@akotulski
Copy link
Contributor

I pushed the fix in f0bb23b I'll keep the issue open until we have fixed release

@akotulski
Copy link
Contributor

Fixed version has been pushed to homebrew and this problem shouldn't happen anymore

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

4 participants