Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Erlang Bottle contains corrupt dialyzer executable #15714

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

Erlang Bottle contains corrupt dialyzer executable #15714

eproxus opened this issue Oct 28, 2012 · 4 comments

Comments

@eproxus
Copy link
Contributor

eproxus commented Oct 28, 2012

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
Copy link
Member

brew doctor and brew --config output please.

@eproxus
Copy link
Contributor Author

eproxus commented Oct 28, 2012

--- ~ » 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
Copy link
Contributor

Sharpie commented Oct 29, 2012

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
Copy link
Contributor Author

eproxus commented Oct 29, 2012

That was indeed the issue. Thanks!

@eproxus eproxus closed this as completed Oct 29, 2012
@Homebrew Homebrew 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants