can't build Aporia on OS X 10.9
Closed this issue · 16 comments
nimrod and babel both cloned from Github and built on OS X 10.9 (Mavericks).
Cloned Aporia from Github and tried building by executing babel build
, which fails with the following log:
Looking for gtk2 (>= 1.0)...
Dependency already satisfied.
Building aporia/aporia using c backend...
Hint: used config file '/Users/eep2ak/Nimrod/config/nimrod.cfg' [Conf]
Hint: used config file '/Users/eep2ak/funwithlangs/Aporia/aporia.nimrod.cfg' [Conf]
Hint: system [Processing]
Hint: aporia [Processing]
Hint: glib2 [Processing]
Hint: gtk2 [Processing]
Hint: atk [Processing]
Hint: pango [Processing]
Hint: gdk2pixbuf [Processing]
Hint: gdk2 [Processing]
Hint: gtksourceview [Processing]
Hint: dialogs [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: sequtils [Processing]
lib/pure/osproc.nim(268, 13) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(292, 19) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(300, 14) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(836, 10) Warning: 'startCmd' is deprecated [Deprecated]
Hint: pegs [Processing]
Hint: unicode [Processing]
Hint: parseopt [Processing]
lib/pure/parseopt.nim(54, 34) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
aporia.nim(12, 29) Warning: 'parseopt' is deprecated [Deprecated]
Hint: asyncio [Processing]
Hint: sockets [Processing]
Hint: unsigned [Processing]
Hint: encodings [Processing]
Hint: tables [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: settings [Processing]
Hint: utils [Processing]
Hint: AboutDialog [Processing]
Hint: CustomStatusBar [Processing]
CustomStatusBar.nim(92, 8) Hint: 'tid' is declared but not used [XDeclaredButNotUsed]
utils.nim(485, 10) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(495, 14) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(497, 12) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Hint: cfg [Processing]
Hint: parsecfg [Processing]
Hint: lexbase [Processing]
cfg.nim(55, 16) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
cfg.nim(233, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(277, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(334, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Hint: search [Processing]
Hint: re [Processing]
Hint: pcre [Processing]
search.nim(60, 6) Hint: 'brackets' is declared but not used [XDeclaredButNotUsed]
search.nim(120, 6) Hint: 'matches' is declared but not used [XDeclaredButNotUsed]
Hint: suggest [Processing]
Hint: processes [Processing]
processes.nim(328, 58) Warning: 'poUseShell' is deprecated [Deprecated]
processes.nim(327, 28) Info: instantiation from here
processes.nim(327, 28) Info: instantiation from here
lib/pure/osproc.nim(620, 4) Error: internal error: analysis not implemented for: nkFinally
No stack traceback available
FAILURE: Execution failed with exit code 1
Notice the Error: internal error: analysis not implemented for: nkFinally
. I inspected the code in osproc.nim and there doesn't appear to be any try
clause to correspond with the finally
.
I know absolutely no nimrod yet - my intention was to set up Aporia first before trying to learn it - so I'm not really interested in attempting to fix this issue.
I believe this is a compiler bug. You can try the workaround here: nim-lang/Nim#342 (comment)
dom96, thanks for the reply. I tried the workaround you suggested but it didn't make any difference for me. The build fails with exactly the same error as before.
That sucks :(
Wish I could fix it but I don't have a Mac.
dom96,
Thanks for the quick responses.
I don't want to embarass myself here by attempting to scrutinize the code (since i don't know any nimrod, as I mentioned before), but.. does this code (from osproc.nim:607-620) look all right to you?
var sys_command: string
var sys_args_raw: seq[string]
if poEvalCommand in options:
sys_command = "/bin/sh"
sys_args_raw = @[sys_command, "-c", command]
assert args.len == 0
else:
sys_command = command
sys_args_raw = @[command]
for arg in args.items:
sys_args_raw.add arg
var sys_args = allocCStringArray(sys_args_raw)
finally: deallocCStringArray(sys_args)
The last line has a finally
but there's not a try
in the entire source file.
Yes, that code is correct: http://build.nimrod-lang.org/docs/manual.html#except-and-finally-statements
Don't worry about embarassing yourself, as a matter of fact you just brought something to my attention. Try uncommenting the #threadAnalysis:off
in aporia.nimrod.cfg (just remove the #
) and then see if that helps.
This is what I got after uncommenting #threadAnalysis:off
and then running babel build
:
Hint: used config file '/Users/eep2ak/Nimrod/config/nimrod.cfg' [Conf]
Hint: used config file '/Users/eep2ak/funwithlangs/Aporia/aporia.nimrod.cfg' [Conf]
Hint: system [Processing]
Hint: aporia [Processing]
Hint: glib2 [Processing]
Hint: gtk2 [Processing]
Hint: atk [Processing]
Hint: pango [Processing]
Hint: gdk2pixbuf [Processing]
Hint: gdk2 [Processing]
Hint: gtksourceview [Processing]
Hint: dialogs [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: sequtils [Processing]
lib/pure/osproc.nim(268, 13) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(292, 19) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(300, 14) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(836, 10) Warning: 'startCmd' is deprecated [Deprecated]
Hint: pegs [Processing]
Hint: unicode [Processing]
Hint: parseopt [Processing]
lib/pure/parseopt.nim(54, 34) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
aporia.nim(12, 29) Warning: 'parseopt' is deprecated [Deprecated]
Hint: asyncio [Processing]
Hint: sockets [Processing]
Hint: unsigned [Processing]
Hint: encodings [Processing]
Hint: tables [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: settings [Processing]
Hint: utils [Processing]
Hint: AboutDialog [Processing]
Hint: CustomStatusBar [Processing]
CustomStatusBar.nim(92, 8) Hint: 'tid' is declared but not used [XDeclaredButNotUsed]
utils.nim(485, 10) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(495, 14) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(497, 12) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Hint: cfg [Processing]
Hint: parsecfg [Processing]
Hint: lexbase [Processing]
cfg.nim(55, 16) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
cfg.nim(233, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(277, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(334, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Hint: search [Processing]
Hint: re [Processing]
Hint: pcre [Processing]
search.nim(60, 6) Hint: 'brackets' is declared but not used [XDeclaredButNotUsed]
search.nim(120, 6) Hint: 'matches' is declared but not used [XDeclaredButNotUsed]
Hint: suggest [Processing]
Hint: processes [Processing]
processes.nim(328, 58) Warning: 'poUseShell' is deprecated [Deprecated]
Hint: rst [Processing]
Hint: rstast [Processing]
lib/packages/docutils/rst.nim(853, 12) Hint: 'dkAuthor' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(1368, 5) Hint: 'rst.$(t: TToken): string' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(853, 22) Hint: 'dkAuthors' is declared but not used [XDeclaredButNotUsed]
suggest.nim(66, 11) Warning: get_size is deprecated, get_width should be used [User]
suggest.nim(207, 16) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
suggest.nim(277, 12) Hint: 'f' is declared but not used [XDeclaredButNotUsed]
suggest.nim(412, 8) Hint: 'lang' is declared but not used [XDeclaredButNotUsed]
aporia.nim(159, 49) Warning: 'osErrorMsg' is deprecated [Deprecated]
aporia.nim(335, 10) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
aporia.nim(580, 8) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
aporia.nim(1066, 8) Hint: 'startOldLineOffset' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1189, 33) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
aporia.nim(1204, 20) Hint: 'cfgFile' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1610, 6) Hint: 'cmpB' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1832, 6) Hint: 'OpenItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1842, 6) Hint: 'SearchItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1839, 6) Hint: 'RedoItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1829, 6) Hint: 'NewFileItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1834, 6) Hint: 'SaveItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1837, 6) Hint: 'UndoItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(2210, 78) Warning: 'osErrorMsg' is deprecated [Deprecated]
aporia.nim(179, 5) Hint: 'aporia.saveAllTabs()' is declared but not used [XDeclaredButNotUsed]
clang -c -w -pthread -O3 -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_aporia.o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_aporia.c
clang -c -w -pthread -O3 -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_search.o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_search.c
Error: execution of an external program failed; rerun with --parallelBuild:1 to see the error message
Looking for gtk2 (>= 1.0)...
Dependency already satisfied.
Building aporia/aporia using c backend...
FAILURE: Execution failed with exit code 1
Hrm, so now the Nimrod compiler is generating incorrect C code. Try running nimrod c -d:release --parallelBuild:1 aporia
.
Maybe you could fix the C code manually or try gcc.
This is what I get when I run nimrod c -d:release --parallelBuild:1 aporia
config/nimrod.cfg(37, 2) Hint: added path: '/Users/eep2ak/.babel/pkgs/babel-0.2.0' [Path]
config/nimrod.cfg(37, 2) Hint: added path: '/Users/eep2ak/.babel/pkgs/gtk2-1.0' [Path]
config/nimrod.cfg(37, 2) Hint: added path: '/Users/eep2ak/.babel/pkgs/' [Path]
Hint: used config file '/Users/eep2ak/Nimrod/config/nimrod.cfg' [Conf]
Hint: used config file 'aporia.nimrod.cfg' [Conf]
Hint: system [Processing]
Hint: aporia [Processing]
Hint: glib2 [Processing]
Hint: gtk2 [Processing]
Hint: atk [Processing]
Hint: pango [Processing]
Hint: gdk2pixbuf [Processing]
Hint: gdk2 [Processing]
Hint: gtksourceview [Processing]
Hint: dialogs [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: sequtils [Processing]
lib/pure/osproc.nim(268, 13) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(292, 19) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(300, 14) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(836, 10) Warning: 'startCmd' is deprecated [Deprecated]
Hint: pegs [Processing]
Hint: unicode [Processing]
Hint: parseopt [Processing]
lib/pure/parseopt.nim(54, 34) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(12, 29) Warning: 'parseopt' is deprecated [Deprecated]
Hint: asyncio [Processing]
Hint: sockets [Processing]
Hint: unsigned [Processing]
Hint: encodings [Processing]
Hint: tables [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: settings [Processing]
Hint: utils [Processing]
Hint: AboutDialog [Processing]
Hint: CustomStatusBar [Processing]
Users/eep2ak/funwithlangs/Aporia/CustomStatusBar.nim(92, 8) Hint: 'tid' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/utils.nim(485, 10) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/utils.nim(495, 14) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/utils.nim(497, 12) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Hint: cfg [Processing]
Hint: parsecfg [Processing]
Hint: lexbase [Processing]
Users/eep2ak/funwithlangs/Aporia/cfg.nim(55, 16) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/cfg.nim(233, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Users/eep2ak/funwithlangs/Aporia/cfg.nim(277, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Users/eep2ak/funwithlangs/Aporia/cfg.nim(334, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Hint: search [Processing]
Hint: re [Processing]
Hint: pcre [Processing]
Users/eep2ak/funwithlangs/Aporia/search.nim(60, 6) Hint: 'brackets' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/search.nim(120, 6) Hint: 'matches' is declared but not used [XDeclaredButNotUsed]
Hint: suggest [Processing]
Hint: processes [Processing]
Users/eep2ak/funwithlangs/Aporia/processes.nim(328, 58) Warning: 'poUseShell' is deprecated [Deprecated]
Hint: rst [Processing]
Hint: rstast [Processing]
lib/packages/docutils/rst.nim(853, 12) Hint: 'dkAuthor' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(1368, 5) Hint: 'rst.$(t: TToken): string' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(853, 22) Hint: 'dkAuthors' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/suggest.nim(66, 11) Warning: get_size is deprecated, get_width should be used [User]
Users/eep2ak/funwithlangs/Aporia/suggest.nim(207, 16) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Users/eep2ak/funwithlangs/Aporia/suggest.nim(277, 12) Hint: 'f' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/suggest.nnimcache/Aporia_search.c:2504:64: error: member reference base type 'TY270591 (tsourcebuffer152211 *, NimStringDesc *, NU8, void *)' is not a structure or union
asgnRef((void**) &(*idleparam).Finditer.ClEnv, findterm_270478.ClEnv);
~~~~~~~~~~~~~~~^~~~~~
nimcache/Aporia_search.c:2505:47: error: member reference base type 'TY270591 (tsourcebuffer152211 *, NimStringDesc *, NU8, void *)' is not a structure or union
(*idleparam).Finditer.ClPrc = findterm_270478.ClPrc;
~~~~~~~~~~~~~~~^~~~~~
2 errors generated.
im(412, 8) Hint: 'lang' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(159, 49) Warning: 'osErrorMsg' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(335, 10) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(580, 8) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1066, 8) Hint: 'startOldLineOffset' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1189, 33) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1204, 20) Hint: 'cfgFile' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1610, 6) Hint: 'cmpB' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1832, 6) Hint: 'OpenItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1842, 6) Hint: 'SearchItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1839, 6) Hint: 'RedoItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1829, 6) Hint: 'NewFileItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1834, 6) Hint: 'SaveItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(1837, 6) Hint: 'UndoItem' is declared but not used [XDeclaredButNotUsed]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(2210, 78) Warning: 'osErrorMsg' is deprecated [Deprecated]
Users/eep2ak/funwithlangs/Aporia/aporia.nim(179, 5) Hint: 'aporia.saveAllTabs()' is declared but not used [XDeclaredButNotUsed]
Error: execution of an external program failed
I've got gcc 4.2 installed. How do I use it?
Pass --cc:gcc
IIRC or edit /Users/eep2ak/Nimrod/config/nimrod.cfg
.
I made the change cc=gcc
from cc=clang
in nimrod.cfg
, below the line @if macosx
This is what I got this time:
Hint: used config file '/Users/eep2ak/Nimrod/config/nimrod.cfg' [Conf]
Hint: used config file '/Users/eep2ak/funwithlangs/Aporia/aporia.nimrod.cfg' [Conf]
Hint: system [Processing]
Hint: aporia [Processing]
Hint: glib2 [Processing]
Hint: gtk2 [Processing]
Hint: atk [Processing]
Hint: pango [Processing]
Hint: gdk2pixbuf [Processing]
Hint: gdk2 [Processing]
Hint: gtksourceview [Processing]
Hint: dialogs [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: sequtils [Processing]
lib/pure/osproc.nim(268, 13) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(292, 19) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(300, 14) Warning: 'startCmd' is deprecated [Deprecated]
lib/pure/osproc.nim(836, 10) Warning: 'startCmd' is deprecated [Deprecated]
Hint: pegs [Processing]
Hint: unicode [Processing]
Hint: parseopt [Processing]
lib/pure/parseopt.nim(54, 34) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
aporia.nim(12, 29) Warning: 'parseopt' is deprecated [Deprecated]
Hint: asyncio [Processing]
Hint: sockets [Processing]
Hint: unsigned [Processing]
Hint: encodings [Processing]
Hint: tables [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: settings [Processing]
Hint: utils [Processing]
Hint: AboutDialog [Processing]
Hint: CustomStatusBar [Processing]
CustomStatusBar.nim(92, 8) Hint: 'tid' is declared but not used [XDeclaredButNotUsed]
utils.nim(485, 10) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(495, 14) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
utils.nim(497, 12) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
Hint: cfg [Processing]
Hint: parsecfg [Processing]
Hint: lexbase [Processing]
cfg.nim(55, 16) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
cfg.nim(233, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(277, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
cfg.nim(334, 6) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
Hint: search [Processing]
Hint: re [Processing]
Hint: pcre [Processing]
search.nim(60, 6) Hint: 'brackets' is declared but not used [XDeclaredButNotUsed]
search.nim(120, 6) Hint: 'matches' is declared but not used [XDeclaredButNotUsed]
Hint: suggest [Processing]
Hint: processes [Processing]
processes.nim(328, 58) Warning: 'poUseShell' is deprecated [Deprecated]
Hint: rst [Processing]
Hint: rstast [Processing]
lib/packages/docutils/rst.nim(853, 12) Hint: 'dkAuthor' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(1368, 5) Hint: 'rst.$(t: TToken): string' is declared but not used [XDeclaredButNotUsed]
lib/packages/docutils/rst.nim(853, 22) Hint: 'dkAuthors' is declared but not used [XDeclaredButNotUsed]
suggest.nim(66, 11) Warning: get_size is deprecated, get_width should be used [User]
suggest.nim(207, 16) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
suggest.nim(277, 12) Hint: 'f' is declared but not used [XDeclaredButNotUsed]
suggest.nim(412, 8) Hint: 'lang' is declared but not used [XDeclaredButNotUsed]
aporia.nim(159, 49) Warning: 'osErrorMsg' is deprecated [Deprecated]
aporia.nim(335, 10) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
aporia.nim(580, 8) Warning: 'nil' statement is deprecated; use an empty 'discard' statement instead [NilStmt]
aporia.nim(1066, 8) Hint: 'startOldLineOffset' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1189, 33) Warning: 'quoteIfContainsWhite' is deprecated [Deprecated]
aporia.nim(1204, 20) Hint: 'cfgFile' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1610, 6) Hint: 'cmpB' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1832, 6) Hint: 'OpenItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1842, 6) Hint: 'SearchItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1839, 6) Hint: 'RedoItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1829, 6) Hint: 'NewFileItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1834, 6) Hint: 'SaveItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(1837, 6) Hint: 'UndoItem' is declared but not used [XDeclaredButNotUsed]
aporia.nim(2210, 78) Warning: 'osErrorMsg' is deprecated [Deprecated]
aporia.nim(179, 5) Hint: 'aporia.saveAllTabs()' is declared but not used [XDeclaredButNotUsed]
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_aporia.o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_aporia.c
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_glib2.o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_glib2.c
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_atk.o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_atk.c
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_pango.o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_pango.c
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_gdk2pixbuf.o /Users/eep2ak/funwithlangs/Aporia/nimcache/gtk2-1_0_gdk2pixbuf.c
gcc -c -w -fasm-blocks -pthread -O3 -fno-strict-aliasing -I/Users/eep2ak/Nimrod/lib -o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_search.o /Users/eep2ak/funwithlangs/Aporia/nimcache/Aporia_search.c
Error: execution of an external program failed; rerun with --parallelBuild:1 to see the error message
Looking for gtk2 (>= 1.0)...
Dependency already satisfied.
Building aporia/aporia using c backend...
FAILURE: Execution failed with exit code 1
btw, this is what gcc --version
returns for me, if that helps:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
@Araq tells me that there is a corruption on Mac OS X which causes this so there isn't much we can do but wait until he or somebody else who is familiar with the compiler internals fixes it.
Ah, too bad... thanks for all your help though!
Was no corruption but a regression in the compiler due to how closure iterators work.
Thanks, I was able to build Aporia successfully after rebuilding nimrod from the latest commit
I appreciate the quick responses and help from dom96 and the quick resolution from Araq.
It's precisely this kind of a swiftness that's needed by a nascent language like nimrod to sustain the attention of newbies like myself early on. Keep it up!