Skip to content

Instantly share code, notes, and snippets.

@Adeohluwa
Created September 22, 2017 20:19
Show Gist options
  • Save Adeohluwa/a49409d249d9f09a4a69b8efd867fb28 to your computer and use it in GitHub Desktop.
Save Adeohluwa/a49409d249d9f09a4a69b8efd867fb28 to your computer and use it in GitHub Desktop.
Choose NIM Fails To Build On The Server
root@ubuntu-512mb-nyc3-01:~# curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim-init: Downloading choosenim-0.2.2_linux_amd64
Info: Nim 0.17.2 already downloaded
Extracting nim-0.17.2.tar.gz
Building Nim 0.17.2
Building tools (nimble, nimgrep, nimsuggest)
Exception: Execution failed with exit code 1
... Command: ./koch tools -d:release
... Output: bin/nim c --noNimblePath -p:compiler -d:release -o:bin/nimsuggest nimsuggest/nimsuggest.nim
... Hint: used config file '/root/.choosenim/toolchains/nim-0.17.2/config/nim.cfg' [Conf]
... Hint: used config file '/root/.choosenim/toolchains/nim-0.17.2/nimsuggest/nimsuggest.nim.cfg' [Conf]
... Hint: system [Processing]
... Hint: nimsuggest [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: math [Processing]
... Hint: algorithm [Processing]
... Hint: os [Processing]
... Hint: times [Processing]
... Hint: posix [Processing]
... Hint: ospaths [Processing]
... Hint: parseopt [Processing]
... Hint: sequtils [Processing]
... Hint: net [Processing]
... Hint: nativesockets [Processing]
... Hint: options [Processing]
... Hint: typetraits [Processing]
... Hint: sets [Processing]
... Hint: hashes [Processing]
... Hint: rdstdin [Processing]
... Hint: linenoise [Processing]
... Hint: termios [Processing]
... Hint: sexp [Processing]
... Hint: lexbase [Processing]
... Hint: streams [Processing]
... Hint: unicode [Processing]
... Hint: macros [Processing]
... Hint: options [Processing]
... Hint: strtabs [Processing]
... Hint: osproc [Processing]
... Hint: cpuinfo [Processing]
... Hint: linux [Processing]
... Hint: commands [Processing]
... Hint: msgs [Processing]
... Hint: tables [Processing]
... Hint: ropes [Processing]
... Hint: platform [Processing]
... Hint: terminal [Processing]
... Hint: nversion [Processing]
... Hint: condsyms [Processing]
... Hint: idents [Processing]
... Hint: wordrecg [Processing]
... Hint: extccomp [Processing]
... Hint: securehash [Processing]
... Hint: json [Processing]
... Hint: nimblecmd [Processing]
... Hint: modules [Processing]
... Hint: ast [Processing]
... Hint: intsets [Processing]
... Hint: idgen [Processing]
... Hint: astalgo [Processing]
... Hint: rodutils [Processing]
... Hint: magicsys [Processing]
... Hint: rodread [Processing]
... Hint: types [Processing]
... Hint: trees [Processing]
... Hint: lexer [Processing]
... Hint: nimlexbase [Processing]
... Hint: llstream [Processing]
... Hint: renderer [Processing]
... Hint: memfiles [Processing]
... Hint: cgendata [Processing]
... Hint: passes [Processing]
... Hint: nimsets [Processing]
... Hint: bitsets [Processing]
... Hint: syntaxes [Processing]
... Hint: parser [Processing]
... Hint: pbraces [Processing]
... Hint: filters [Processing]
... Hint: filter_tmpl [Processing]
... Hint: modulegraphs [Processing]
... Hint: reorder [Processing]
... Hint: sighashes [Processing]
... Hint: md5 [Processing]
... Hint: ndi [Processing]
... Hint: sigmatch [Processing]
... Hint: semdata [Processing]
... Hint: treetab [Processing]
... Hint: vmdef [Processing]
... Hint: lookups [Processing]
... Hint: prettybase [Processing]
... Hint: semtypinst [Processing]
... Hint: parampatterns [Processing]
... Hint: pretty [Processing]
... Hint: docgen [Processing]
... Hint: rstast [Processing]
... Hint: rst [Processing]
... Hint: rstgen [Processing]
... Hint: highlite [Processing]
... Hint: importer [Processing]
... Hint: sempass2 [Processing]
... Hint: guards [Processing]
... Hint: saturate [Processing]
... Hint: writetracking [Processing]
... Hint: xmltree [Processing]
... Hint: cgi [Processing]
... Hint: cookies [Processing]
... Hint: typesrenderer [Processing]
... Hint: prefixmatches [Processing]
... Hint: sem [Processing]
... Hint: semfold [Processing]
... Hint: procfind [Processing]
... Hint: pragmas [Processing]
... Hint: transf [Processing]
... Hint: cgmeth [Processing]
... Hint: lambdalifting [Processing]
... Hint: lowerings [Processing]
... Hint: vm [Processing]
... Hint: vmgen [Processing]
... Hint: vmdeps [Processing]
... Hint: vmmarshal [Processing]
... Hint: evaltempl [Processing]
... Hint: aliases [Processing]
... Hint: patterns [Processing]
... Hint: semmacrosanity [Processing]
... Hint: semparallel [Processing]
... Hint: pluginsupport [Processing]
... Hint: active [Processing]
... Hint: locals [Processing]
... Hint: itersgen [Processing]
... Hint: passaux [Processing]
... Hint: nimconf [Processing]
... Hint: scriptconfig [Processing]
... Hint: gcc -c -w -pthread -O3 -fno-strict-aliasing -I/root/.choosenim/toolchains/nim-0.17.2/lib -o nimsuggest/nimcache/linenoise.o /root/.choosenim/toolchains/nim-0.17.2/lib/wrappers/linenoise/linenoise.c [Exec]
... Error: execution of an external program failed: 'gcc -c -w -pthread -O3 -fno-strict-aliasing -I/root/.choosenim/toolchains/nim-0.17.2/lib -o nimsuggest/nimcache/linenoise.o /root/.choosenim/toolchains/nim-0.17.2/lib/wrappers/linenoise/linenoise.c'
... FAILURE
Cleaning failed build
Error: Build failed
Ubuntu 16:04 LTS
64 bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment