infer icon indicating copy to clipboard operation
infer copied to clipboard

Download failed: https://homebrew.bintray.com/bottles/infer-0.17.0_1.catalina.bottle.1.tar.gz

Open puyang0521 opened this issue 3 years ago • 11 comments

when i run : brew install infer

I got the messeage Error: Failed to download resource "infer" Download failed: https://homebrew.bintray.com/bottles/infer-0.17.0_1.catalina.bottle.1.tar.gz

Then i went the link,it show me : The requested path was not found.

puyang0521 avatar Dec 02 '20 10:12 puyang0521

Could anyone else give me some help, please!!!

puyang0521 avatar Dec 02 '20 10:12 puyang0521

I have no idea who is responsible for these packages, but ... if you go here https://formulae.brew.sh/formula/infer#default and view the JSON for this bottle: https://formulae.brew.sh/api/formula/infer.json then all three of the packages are "dead":

  • https://homebrew.bintray.com/bottles/infer-0.17.0_1.catalina.bottle.1.tar.gz

  • https://homebrew.bintray.com/bottles/infer-0.17.0_1.mojave.bottle.1.tar.gz

  • https://homebrew.bintray.com/bottles/infer-0.17.0_1.high_sierra.bottle.1.tar.gz

It might be best to ask here:

  • https://github.com/Homebrew/homebrew-core/blob/master/Formula/infer.rb

aytey avatar Dec 02 '20 11:12 aytey

If you don't want to use Homebrew, you could use the official 1.0 release from here:

  • https://github.com/facebook/infer/releases/tag/v1.0.0

(scroll to "infer-osx-v1.0.0.tar.xz")

aytey avatar Dec 02 '20 11:12 aytey

thanks @andrewvaughanj I have tried other ways to install infer, but I have not succeeded, so sad

puyang0521 avatar Dec 02 '20 11:12 puyang0521

Are you saying the official macOS release did not work for you?

aytey avatar Dec 02 '20 12:12 aytey

Hi, Homebrew developer here. We are currently trying to update to 1.0.0 but it fails to build on both macOS 10.15 and 11.0, with Xcode 12:

/tmp/infer-20201127-95505-1iepoqx/infer-1.0.0/facebook-clang-plugins/clang/src/download/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:31: error: invalid application of 'sizeof' to an incomplete type 'struct stat64'
  unsigned struct_stat64_sz = sizeof(struct stat64);
                              ^     ~~~~~~~~~~~~~~~

The release notes say:

The Mac binary is built for the Catalina version

so there must be some way to avoid that issue, but I haven't found how.

fxcoudert avatar Dec 02 '20 13:12 fxcoudert

Hi @fxcoudert Is there any way to successfully build on both macOS 10.15 and 11.0, with Xcode 12? Is the binary method possible? I have tried this way, but it didn’t work. I don’t know if anyone has succeeded. or is there anything else you can offer to help. thank you @fxcoudert very much! thank you for your reply!

puyang0521 avatar Dec 03 '20 02:12 puyang0521

I download binary version, tar xf infer-osx-v1.0.0.tar.xz, but there are only bin、lib、share three files. Is this correct?

puyang0521 avatar Dec 03 '20 03:12 puyang0521

@puyang0521 the infer binary is bin/infer in the extracted archive.

jvillard avatar Dec 18 '20 12:12 jvillard

I download binary version, tar xf infer-osx-v1.0.0.tar.xz, but there are only bin、lib、share three files. Is this correct?

请问这个最后解决了吗?

WillieWu avatar Dec 29 '20 07:12 WillieWu

Do brew upgrade and install again

podupu avatar Aug 13 '21 11:08 podupu