{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/2203","repository_url":"https://api.github.com/repos/manastech/crystal","labels_url":"https://api.github.com/repos/manastech/crystal/issues/2203/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/2203/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/2203/events","html_url":"https://github.com/manastech/crystal/issues/2203","id":135528664,"number":2203,"title":"Can't compile Crystal at all now","user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-02-22T20:04:35Z","updated_at":"2016-02-23T00:51:32Z","closed_at":"2016-02-22T20:06:18Z","body":"I'm doing exactly the same as I always do. And now:\r\n```\r\n# make\r\nCRYSTAL_CONFIG_PATH=`pwd`/src ./bin/crystal build  -o .build/crystal src/compiler/crystal.cr\r\nUsing compiled compiler at .build/crystal\r\n/tmp/crystalGB31tH/crystal/.crystal/crystal-run-macro-run-_opt_crystal_src_ecr_process.cr.tmp: symbol lookup error: /tmp/crystalGB31tH/crystal/.crystal/crystal-run-macro-run-_opt_crystal_src_ecr_process.cr.tmp: undefined symbol: GC_set_handle_fork\r\nError in ./src/compiler/crystal.cr:3: instantiating 'Crystal::Command:Class#run()'\r\n\r\nCrystal::Command.run\r\n                 ^~~\r\n\r\ninstantiating 'run(Array(String))'\r\n\r\nin ./src/compiler/crystal/command.cr:42: instantiating 'Crystal::Command#run()'\r\n\r\n    new(options).run\r\n                 ^~~\r\n\r\nin ./src/compiler/crystal/command.cr:58: instantiating 'init()'\r\n\r\n        init\r\n        ^~~~\r\n\r\nin ./src/compiler/crystal/command.cr:146: instantiating 'Crystal::Init:Module#run(Array(String))'\r\n\r\n    Init.run(options)\r\n         ^~~\r\n\r\nin ./src/compiler/crystal/tools/init.cr:41: instantiating 'Crystal::Init::InitProject#run()'\r\n\r\n      InitProject.new(config).run\r\n                              ^~~\r\n\r\nin ./src/compiler/crystal/tools/init.cr:149: instantiating 'Array(Crystal::Init::View+:Class)#each()'\r\n\r\n        views.each do |view|\r\n              ^~~~\r\n\r\nin /opt/crystal/src/array.cr:776: instantiating 'each_index()'\r\n\r\n    each_index do |i|\r\n    ^~~~~~~~~~\r\n\r\nin /opt/crystal/src/array.cr:776: instantiating 'each_index()'\r\n\r\n    each_index do |i|\r\n    ^~~~~~~~~~\r\n\r\nin ./src/compiler/crystal/tools/init.cr:149: instantiating 'Array(Crystal::Init::View+:Class)#each()'\r\n\r\n        views.each do |view|\r\n              ^~~~\r\n\r\nin ./src/compiler/crystal/tools/init.cr:150: instantiating 'Crystal::Init::View+#render()'\r\n\r\n          view.new(config).render\r\n                           ^~~~~~\r\n\r\nin ./src/compiler/crystal/tools/init.cr:127: instantiating 'to_s()'\r\n\r\n        File.write(full_path, to_s)\r\n                              ^~~~\r\n\r\nin /opt/crystal/src/object.cr:78: instantiating 'String:Class#build()'\r\n\r\n    String.build do |io|\r\n           ^~~~~\r\n\r\nin /opt/crystal/src/string.cr:238: instantiating 'String::Builder:Class#build(Int32)'\r\n\r\n    String::Builder.build(capacity) do |builder|\r\n                    ^~~~~\r\n\r\nin /opt/crystal/src/string.cr:238: instantiating 'String::Builder:Class#build(Int32)'\r\n\r\n    String::Builder.build(capacity) do |builder|\r\n                    ^~~~~\r\n\r\nin /opt/crystal/src/object.cr:78: instantiating 'String:Class#build()'\r\n\r\n    String.build do |io|\r\n           ^~~~~\r\n\r\nin /opt/crystal/src/object.cr:79: instantiating 'to_s(String::Builder)'\r\n\r\n      to_s io\r\n      ^~~~\r\n\r\nin macro 'embed' /opt/crystal/src/ecr/macros.cr:81, line 1:\r\n\r\n  1.     {{ run(\"ecr/process\", \"/tmp/crystalGB31tH/crystal/src/compiler/crystal/tools/init/template/example_spec.cr.ecr\", \"__io__\") }}\r\n  2.\r\n\r\n    {{ run(\"ecr/process\", \"/tmp/crystalGB31tH/crystal/src/compiler/crystal/tools/init/template/example_spec.cr.ecr\", \"__io__\") }}\r\n    ^\r\n\r\nexpanding macro\r\nin macro 'embed' /opt/crystal/src/ecr/macros.cr:81, line 1:\r\n\r\n  1.     {{ run(\"ecr/process\", \"/tmp/crystalGB31tH/crystal/src/compiler/crystal/tools/init/template/example_spec.cr.ecr\", \"__io__\") }}\r\n  2.\r\n\r\n    {{ run(\"ecr/process\", \"/tmp/crystalGB31tH/crystal/src/compiler/crystal/tools/init/template/example_spec.cr.ecr\", \"__io__\") }}\r\n       ^~~\r\n\r\nError executing run: ecr/process \"/tmp/crystalGB31tH/crystal/src/compiler/crystal/tools/init/template/example_spec.cr.ecr\" \"__io__\"\r\n\r\nGot:\r\n\r\nmake: *** [.build/crystal] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/187456667","html_url":"https://github.com/manastech/crystal/issues/2203#issuecomment-187456667","issue_url":"https://api.github.com/repos/manastech/crystal/issues/2203","id":187456667,"user":{"login":"kirbyfan64","id":1690697,"avatar_url":"https://avatars.githubusercontent.com/u/1690697?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbyfan64","html_url":"https://github.com/kirbyfan64","followers_url":"https://api.github.com/users/kirbyfan64/followers","following_url":"https://api.github.com/users/kirbyfan64/following{/other_user}","gists_url":"https://api.github.com/users/kirbyfan64/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyfan64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyfan64/subscriptions","organizations_url":"https://api.github.com/users/kirbyfan64/orgs","repos_url":"https://api.github.com/users/kirbyfan64/repos","events_url":"https://api.github.com/users/kirbyfan64/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyfan64/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T00:51:32Z","updated_at":"2016-02-23T00:51:32Z","body":"> checking if a variable is empty\r\n\r\n`[ -z \"$VAR\" ]`\r\n\r\n> `then` keyword having to be on its own line\r\n\r\n`if xyz; then`"}}