Erlang Bottle contains corrupt dialyzer executable #15714

Closed
eproxus opened this Issue Oct 28, 2012 · 4 comments

3 participants

@eproxus

The dialyzer executable which comes with the bottled Erlang versions seems to want files from an older Erlang version (R15B) rather than the installed one (R15B02). This makes it impossible to use.

$ dialyzer
  Checking whether the PLT /Users/$USER/.dialyzer_plt is up-to-date...
dialyzer: Not a regular file: /usr/local/Cellar/erlang/R15B/lib/erlang/lib/compiler-4.8/ebin/beam_asm.beam
$
@MikeMcQuaid
Homebrew member

brew doctor and brew --config output please.

@eproxus
--- ~ » brew doctor
Your system is raring to brew.
--- ~ » brew --config
HOMEBREW_VERSION: 0.9.3
HEAD: a365abf0ae3a89566db97f9d4c16427881013835
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.4 (guessed)
CLT: 4.4.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.0 build 421
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p286/bin/ruby
@Sharpie

Works fine here on a fresh 10.8.2 install. Perhaps it is your ~/.dialyzer_plt file that contains references to the old Erlang version?

@eproxus

That was indeed the issue. Thanks!

@eproxus eproxus closed this Oct 29, 2012
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.