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

Init can't download choosenim #139

Closed
cuyler opened this issue Sep 25, 2019 · 4 comments
Closed

Init can't download choosenim #139

cuyler opened this issue Sep 25, 2019 · 4 comments

Comments

@cuyler
Copy link

cuyler commented Sep 25, 2019

after downloading/curl init.sh:

choosenim-init: Downloading choosenim-0.4.0_macosx_amd64
SIGBUS: Illegal storage access. (Attempt to read from nil?)

MacOS Version: 10.14.6

@treeform
Copy link

I am on MacOS Version: 10.14.6

Everything worked fine and installed on my system:

curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim-init: Downloading choosenim-0.4.0_macosx_amd64
    Prompt: Can choosenim record and send anonymised telemetry data? [y/n]
        ... Anonymous aggregate user analytics allow us to prioritise
        ... fixes and features based on how, where and when people use Nim.
        ... For more details see: https://goo.gl/NzUEPf.
    Answer: Forced Yes
Downloading Nim 1.0.0 from nim-lang.org
[##################################################] 100.0% 0kb/s
 Extracting nim-1.0.0.tar.gz
   Building Nim 1.0.0
   Building tools (nimble, nimgrep, nimpretty, nimsuggest)
   Switched to Nim 1.0.0
choosenim-init: ChooseNim installed in /Users/andre.vonhouck/.nimble/bin
choosenim-init: You must now ensure that the Nimble bin dir is in your PATH.
choosenim-init: Place the following line in the ~/.profile or ~/.bashrc file.
choosenim-init:     export PATH=/Users/andre.vonhouck/.nimble/bin:$PATH
nim
Nim Compiler Version 1.0.0 [MacOSX: amd64]
Compiled at 2019-09-23
Copyright (c) 2006-2019 by Andreas Rumpf

What is your clang version?

clang -v
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@cuyler
Copy link
Author

cuyler commented Sep 25, 2019

clang -v
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I also tried llvm 7 ( clang too ) with no joy.

@genotrance
Copy link
Collaborator

Instead of using init.sh, can you try downloading the latest choosenim release and running choosenim --debug 1.0.4? It will hopefully provide more details on the failure.

@genotrance
Copy link
Collaborator

This is a duplicate of #122, can be closed.

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

3 participants