nimble install -d
Downloading https://github.com/nim-lang/Nim.git using git
Info: compiling nim in /tmp/nimble_2611805/githubcom_nimlangNimgit_2.2.0
Tip: 5 messages have been suppressed, use --verbose to show them.
tools.nim(62) tryDoCmdEx
Error: Execution of './build_all.sh' failed with an exit code 2.
... Details:
... cmd: git clone -q --depth 1 -b master https://github.com/nim-lang/csources_v2.git csources_v2
... cmd: cd csources_v2
... cmd: git checkout 86742fb02c6606ab01a532a0085784effb2e753e
... Note: switching to '86742fb02c6606ab01a532a0085784effb2e753e'.
... You are in 'detached HEAD' state. You can look around, make experimental
... changes and commit them, and you can discard any commits you make in this
... state without impacting any branches by switching back to a branch.
... If you want to create a new branch to retain commits you create, you may
... do so (now or later) by using -c with the switch command. Example:
... git switch -c <new-branch-name>
... Or undo this operation with:
... git switch -
... Turn off this advice by setting config variable advice.detachedHead to false
... HEAD is now at 86742fb build with 7f6681b4c4ccc0dc43fd256280be4c3ad3c773e5
... cmd: cd /tmp/nimble_2611805/githubcom_nimlangNimgit_2.2.0
... cmd: which make
... /usr/bin/make
... cmd: make -C csources_v2 -j 6 -l 4
... make[1]: Entering directory '/tmp/nimble_2611805/githubcom_nimlangNimgit_2.2.0/csources_v2'
... nim -Ic_code -w -fmax-errors=3 -O3 -fno-strict-aliasing -fno-ident -fno-math-errno -c -o c_code/2_2/@m..@slib@ssystem@sexceptions.nim.o c_code/2_2/@m..@slib@ssystem@sexceptions.nim.c
... nim -Ic_code -w -fmax-errors=3 -O3 -fno-strict-aliasing -fno-ident -fno-math-errno -c -o c_code/1_2/@m..@slib@sstd@sprivate@sdigitsutils.nim.o c_code/1_2/@m..@slib@sstd@sprivate@sdigitsutils.nim.c
... command line(1, 2) Error: invalid command line option: '-I'
... make[1]: *** [<builtin>: c_code/2_2/@m..@slib@ssystem@sexceptions.nim.o] Error 1
... make[1]: *** Waiting for unfinished jobs....
... command line(1, 2) Error: invalid command line option: '-I'
... make[1]: *** [<builtin>: c_code/1_2/@m..@slib@sstd@sprivate@sdigitsutils.nim.o] Error 1
... make[1]: Leaving directory '/tmp/nimble_2611805/githubcom_nimlangNimgit_2.2.0/csources_v2'
make: *** [Makefile:24: deps] Error 1