Hugo crashes on macOS sierra

Never had any problems with Hugo before, but since I upgraded to macOS sierra 10.11, this happens now:

Normundss-MacBook-Pro:Sites normis$ 
Normundss-MacBook-Pro:Sites normis$ hugo
Started building site
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x46d0d701665 pc=0x1f7cf0]

goroutine 96 [running]:
runtime.throw(0x957960, 0x2a)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90 fp=0xc820cd5780 sp=0xc820cd5768
runtime.sigpanic()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc820cd57d0 sp=0xc820cd5780
sync.(*Pool).Get(0xc80db0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/pool.go:102 +0x40 fp=0xc820cd5820 sp=0xc820cd57d0
fmt.newPrinter(0x173b34)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:133 +0x27 fp=0xc820cd5860 sp=0xc820cd5820
fmt.Sprintln(0xc820cd5ac0, 0x3, 0x3, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:270 +0x28 fp=0xc820cd58b0 sp=0xc820cd5860
log.(*Logger).Println(0xc820181f40, 0xc820cd5ac0, 0x3, 0x3)
	/usr/local/Cellar/go/1.6.2/libexec/src/log/log.go:182 +0x35 fp=0xc820cd58f8 sp=0xc820cd58b0
github.com/spf13/viper.(*Viper).find(0xc8201041c0, 0xc820f852c0, 0x11, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:804 +0x1cc5 fp=0xc820cd5b28 sp=0xc820cd58f8
github.com/spf13/viper.(*Viper).Get(0xc8201041c0, 0x8e8140, 0x11, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:461 +0x10a fp=0xc820cd5d38 sp=0xc820cd5b28
github.com/spf13/viper.(*Viper).GetBool(0xc8201041c0, 0x8e8140, 0x11, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:545 +0x35 fp=0xc820cd5d78 sp=0xc820cd5d38
github.com/spf13/viper.GetBool(0x8e8140, 0x11, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:543 +0x37 fp=0xc820cd5da0 sp=0xc820cd5d78
github.com/spf13/hugo/helpers.UnicodeSanitize(0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/helpers/path.go:110 +0x206 fp=0xc820cd5f78 sp=0xc820cd5da0
github.com/spf13/hugo/helpers.MakePath(0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/helpers/path.go:77 +0xb2 fp=0xc820cd5fd8 sp=0xc820cd5f78
github.com/spf13/hugo/helpers.MakePathSanitized(0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/helpers/path.go:85 +0x85 fp=0xc820cd6010 sp=0xc820cd5fd8
github.com/spf13/hugo/helpers.URLize(0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/helpers/url.go:105 +0x3b fp=0xc820cd6060 sp=0xc820cd6010
github.com/spf13/hugo/hugolib.(*Page).permalink(0xc820346c00, 0x8, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/page.go:428 +0x1ee fp=0xc820cd6210 sp=0xc820cd6060
github.com/spf13/hugo/hugolib.(*Page).Permalink(0xc820346c00, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/page.go:490 +0x3d fp=0xc820cd6248 sp=0xc820cd6210
runtime.call64(0xc8204ed900, 0x860b50, 0xc820f810e0, 0x800000028)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:473 +0x3e fp=0xc820cd6290 sp=0xc820cd6248
reflect.Value.call(0x8605e0, 0xc820346c00, 0x6a13, 0x86a810, 0x4, 0xcaef00, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:435 +0x120d fp=0xc820cd65e0 sp=0xc820cd6290
reflect.Value.Call(0x8605e0, 0xc820346c00, 0x6a13, 0xcaef00, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:303 +0xb1 fp=0xc820cd6640 sp=0xc820cd65e0
text/template.(*state).evalCall(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0x8605e0, 0xc820346c00, 0x6a13, 0xf18938, 0xc8203d1ad0, 0xc8203de2fa, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:641 +0xb39 fp=0xc820cd6888 sp=0xc820cd6640
text/template.(*state).evalField(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0xc8203de2fa, 0x9, 0xf18938, 0xc8203d1ad0, 0xc8203e0410, 0x1, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:534 +0x350 fp=0xc820cd6bd8 sp=0xc820cd6888
text/template.(*state).evalFieldChain(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0x8605e0, 0xc820f32a90, 0x196, 0xf18938, 0xc8203d1ad0, 0xc8203e0400, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:505 +0x29d fp=0xc820cd6c90 sp=0xc820cd6bd8
text/template.(*state).evalFieldNode(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0xc8203d1ad0, 0xc8203e0410, 0x1, 0x1, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:469 +0x1e2 fp=0xc820cd6d70 sp=0xc820cd6c90
text/template.(*state).evalCommand(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0xc8203d1aa0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:407 +0xa91 fp=0xc820cd6e98 sp=0xc820cd6d70
text/template.(*state).evalPipeline(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0xc8203d2870, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:385 +0x180 fp=0xc820cd7030 sp=0xc820cd6e98
text/template.(*state).walk(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0xf18980, 0xc8203d1b00)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:215 +0x135 fp=0xc820cd7178 sp=0xc820cd7030
text/template.(*state).walk(0xc820cd78f0, 0x8605e0, 0xc820f32a90, 0x196, 0x1b601e0, 0xc8203d15f0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1 fp=0xc820cd72c0 sp=0xc820cd7178
text/template.(*state).walkRange.func1(0x668d80, 0xc820f59f80, 0x82, 0x8605e0, 0xc820f32a90, 0x196)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:310 +0x202 fp=0xc820cd7368 sp=0xc820cd72c0
text/template.(*state).walkRange(0xc820cd78f0, 0x82e2c0, 0xc820dcd0e0, 0x16, 0xc8203e2180)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:319 +0x465 fp=0xc820cd7568 sp=0xc820cd7368
text/template.(*state).walk(0xc820cd78f0, 0x82e2c0, 0xc820dcd0e0, 0x16, 0xf1ef08, 0xc8203e2180)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:226 +0x264 fp=0xc820cd76b0 sp=0xc820cd7568
text/template.(*state).walk(0xc820cd78f0, 0x82e2c0, 0xc820dcd0e0, 0x16, 0x1b601e0, 0xc8203d0c30)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1 fp=0xc820cd77f8 sp=0xc820cd76b0
text/template.(*Template).Execute(0xc8203c5c00, 0xf1a490, 0xc820e09960, 0x82e2c0, 0xc820dcd0e0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:178 +0x2a7 fp=0xc820cd7938 sp=0xc820cd77f8
html/template.(*Template).Execute(0xc8203d0bd0, 0xf1a490, 0xc820e09960, 0x82e2c0, 0xc820dcd0e0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/html/template/template.go:104 +0x9a fp=0xc820cd7988 sp=0xc820cd7938
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc82034a000, 0x82e2c0, 0xc820dcd0e0, 0xc820279a70, 0xd, 0xf1a490, 0xc820e09960, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:2044 +0xc2 fp=0xc820cd7a20 sp=0xc820cd7988
github.com/spf13/hugo/hugolib.(*Site).render(0xc82034a000, 0xc820f6c8a0, 0x13, 0x82e2c0, 0xc820dcd0e0, 0xf1a490, 0xc820e09960, 0xc820dfc780, 0x7, 0x8, ...)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:2018 +0x2be fp=0xc820cd7b00 sp=0xc820cd7a20
github.com/spf13/hugo/hugolib.(*Site).renderAndWriteXML(0xc82034a000, 0xc820f6c8a0, 0x13, 0xc820f6c8c0, 0x18, 0x82e2c0, 0xc820dcd0e0, 0xc820dfc780, 0x7, 0x8, ...)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1909 +0x138 fp=0xc820cd7c50 sp=0xc820cd7b00
github.com/spf13/hugo/hugolib.taxonomyRenderer(0xc82034a000, 0xc8202d42a0, 0xc8202d4300, 0xc8204299f0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1589 +0xb42 fp=0xc820cd7f70 sp=0xc820cd7c50
runtime.goexit()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820cd7f78 sp=0xc820cd7f70
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1477 +0x117

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc8204299fc)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sema.go:47 +0x26
sync.(*WaitGroup).Wait(0xc8204299f0)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/waitgroup.go:127 +0xb4
github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists(0xc82034a000, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1492 +0x41b
github.com/spf13/hugo/hugolib.(*Site).Render(0xc82034a000, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:718 +0x83
github.com/spf13/hugo/hugolib.(*Site).Build(0xc82034a000, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:380 +0x80
github.com/spf13/hugo/commands.buildSite(0xc820a19b17, 0x1, 0x1, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/commands/hugo.go:688 +0x1b8
github.com/spf13/hugo/commands.build(0x0, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/commands/hugo.go:525 +0x3be
github.com/spf13/hugo/commands.glob.func7(0xc89420, 0xcaef00, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/commands/hugo.go:119 +0xdd
github.com/spf13/cobra.(*Command).execute(0xc89420, 0xc82000a220, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/cobra/command.go:568 +0x668
github.com/spf13/cobra.(*Command).ExecuteC(0xc89420, 0xc89420, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/cobra/command.go:658 +0x55c
github.com/spf13/hugo/commands.Execute()
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/commands/hugo.go:168 +0x77
main.main()
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/main.go:26 +0x28

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1

goroutine 94 [running]:
	goroutine running on other thread; stack unavailable
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1477 +0x117

goroutine 95 [running]:
	goroutine running on other thread; stack unavailable
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1477 +0x117

goroutine 97 [chan receive]:
github.com/spf13/hugo/hugolib.errorCollator(0xc8202d4300, 0xc8202d4360)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1415 +0x96
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1482 +0x16b
[signal 0xb code=0x1 addr=0x46d0d7017c5 pc=0x1f7cf0]

goroutine 94 [running]:
runtime.throw(0x957960, 0x2a)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90 fp=0xc820a418d0 sp=0xc820a418b8
runtime.sigpanic()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc820a41920 sp=0xc820a418d0
sync.(*Pool).Get(0xc80db0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/pool.go:102 +0x40 fp=0xc820a41970 sp=0xc820a41920
fmt.newPrinter(0xc80f58)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:133 +0x27 fp=0xc820a419b0 sp=0xc820a41970
fmt.Sprintln(0xc820a41ad8, 0x2, 0x2, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:270 +0x28 fp=0xc820a41a00 sp=0xc820a419b0
log.(*Logger).Println(0xc820181f90, 0xc820a41ad8, 0x2, 0x2)
	/usr/local/Cellar/go/1.6.2/libexec/src/log/log.go:182 +0x35 fp=0xc820a41a48 sp=0xc820a41a00
github.com/spf13/hugo/hugolib.(*Site).writeDestFile(0xc82034a000, 0xc820f4a0f0, 0x26, 0xf55208, 0xc82099a3f0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:2098 +0x18b fp=0xc820a41b00 sp=0xc820a41a48
github.com/spf13/hugo/hugolib.(*Site).renderAndWriteXML(0xc82034a000, 0xc820f30f60, 0x13, 0xc820f4a0f0, 0x26, 0x82e2c0, 0xc820dcd200, 0xc820f29000, 0x7, 0x8, ...)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1928 +0x40d fp=0xc820a41c50 sp=0xc820a41b00
github.com/spf13/hugo/hugolib.taxonomyRenderer(0xc82034a000, 0xc8202d42a0, 0xc8202d4300, 0xc8204299f0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1589 +0xb42 fp=0xc820a41f70 sp=0xc820a41c50
runtime.goexit()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820a41f78 sp=0xc820a41f70
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1477 +0x117
[signal 0xb code=0x1 addr=0x46d0d701715 pc=0x1f7cf0]

goroutine 95 [running]:
runtime.throw(0x957960, 0x2a)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90 fp=0xc820a13a28 sp=0xc820a13a10
runtime.sigpanic()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc820a13a78 sp=0xc820a13a28
sync.(*Pool).Get(0xc80db0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/sync/pool.go:102 +0x40 fp=0xc820a13ac8 sp=0xc820a13a78
fmt.newPrinter(0xf140a8)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:133 +0x27 fp=0xc820a13b08 sp=0xc820a13ac8
fmt.Sprintln(0xc820a13d58, 0x2, 0x2, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/fmt/print.go:270 +0x28 fp=0xc820a13b58 sp=0xc820a13b08
log.(*Logger).Println(0xc820181f90, 0xc820a13d58, 0x2, 0x2)
	/usr/local/Cellar/go/1.6.2/libexec/src/log/log.go:182 +0x35 fp=0xc820a13ba0 sp=0xc820a13b58
github.com/spf13/cast.ToStringE(0x66d880, 0xc820246810, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/cast/caste.go:228 +0x28e fp=0xc820a13d80 sp=0xc820a13ba0
github.com/spf13/cast.ToString(0x66d880, 0xc820246810, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/cast/cast.go:41 +0x37 fp=0xc820a13db8 sp=0xc820a13d80
github.com/spf13/viper.(*Viper).Get(0xc8201041c0, 0x8e5d20, 0x10, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:508 +0xb83 fp=0xc820a13fc8 sp=0xc820a13db8
github.com/spf13/viper.(*Viper).GetString(0xc8201041c0, 0x8e5d20, 0x10, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:539 +0x41 fp=0xc820a14008 sp=0xc820a13fc8
github.com/spf13/viper.GetString(0x8e5d20, 0x10, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/viper/viper.go:537 +0x43 fp=0xc820a14038 sp=0xc820a14008
github.com/spf13/hugo/hugolib.(*Page).Extension(0xc820347400, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/page.go:459 +0x67 fp=0xc820a14060 sp=0xc820a14038
github.com/spf13/hugo/hugolib.(*Page).permalink(0xc820347400, 0x8, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/page.go:448 +0x70a fp=0xc820a14210 sp=0xc820a14060
github.com/spf13/hugo/hugolib.(*Page).Permalink(0xc820347400, 0x0, 0x0, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/page.go:490 +0x3d fp=0xc820a14248 sp=0xc820a14210
runtime.call64(0xc8204ed900, 0x860b50, 0xc820f8e090, 0x800000028)
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:473 +0x3e fp=0xc820a14290 sp=0xc820a14248
reflect.Value.call(0x8605e0, 0xc820347400, 0x6a13, 0x86a810, 0x4, 0xcaef00, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:435 +0x120d fp=0xc820a145e0 sp=0xc820a14290
reflect.Value.Call(0x8605e0, 0xc820347400, 0x6a13, 0xcaef00, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:303 +0xb1 fp=0xc820a14640 sp=0xc820a145e0
text/template.(*state).evalCall(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0x8605e0, 0xc820347400, 0x6a13, 0xf18938, 0xc8203d1ad0, 0xc8203de2fa, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:641 +0xb39 fp=0xc820a14888 sp=0xc820a14640
text/template.(*state).evalField(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0xc8203de2fa, 0x9, 0xf18938, 0xc8203d1ad0, 0xc8203e0410, 0x1, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:534 +0x350 fp=0xc820a14bd8 sp=0xc820a14888
text/template.(*state).evalFieldChain(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0x8605e0, 0xc820e00fe0, 0x196, 0xf18938, 0xc8203d1ad0, 0xc8203e0400, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:505 +0x29d fp=0xc820a14c90 sp=0xc820a14bd8
text/template.(*state).evalFieldNode(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0xc8203d1ad0, 0xc8203e0410, 0x1, 0x1, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:469 +0x1e2 fp=0xc820a14d70 sp=0xc820a14c90
text/template.(*state).evalCommand(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0xc8203d1aa0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:407 +0xa91 fp=0xc820a14e98 sp=0xc820a14d70
text/template.(*state).evalPipeline(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0xc8203d2870, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:385 +0x180 fp=0xc820a15030 sp=0xc820a14e98
text/template.(*state).walk(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0xf18980, 0xc8203d1b00)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:215 +0x135 fp=0xc820a15178 sp=0xc820a15030
text/template.(*state).walk(0xc820a158f0, 0x8605e0, 0xc820e00fe0, 0x196, 0x1b601e0, 0xc8203d15f0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1 fp=0xc820a152c0 sp=0xc820a15178
text/template.(*state).walkRange.func1(0x668d80, 0xc820f7c128, 0x82, 0x8605e0, 0xc820e00fe0, 0x196)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:310 +0x202 fp=0xc820a15368 sp=0xc820a152c0
text/template.(*state).walkRange(0xc820a158f0, 0x82e2c0, 0xc820f2c000, 0x16, 0xc8203e2180)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:319 +0x465 fp=0xc820a15568 sp=0xc820a15368
text/template.(*state).walk(0xc820a158f0, 0x82e2c0, 0xc820f2c000, 0x16, 0xf1ef08, 0xc8203e2180)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:226 +0x264 fp=0xc820a156b0 sp=0xc820a15568
text/template.(*state).walk(0xc820a158f0, 0x82e2c0, 0xc820f2c000, 0x16, 0x1b601e0, 0xc8203d0c30)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1 fp=0xc820a157f8 sp=0xc820a156b0
text/template.(*Template).Execute(0xc8203c5c00, 0xf1a490, 0xc82099a460, 0x82e2c0, 0xc820f2c000, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:178 +0x2a7 fp=0xc820a15938 sp=0xc820a157f8
html/template.(*Template).Execute(0xc8203d0bd0, 0xf1a490, 0xc82099a460, 0x82e2c0, 0xc820f2c000, 0x0, 0x0)
	/usr/local/Cellar/go/1.6.2/libexec/src/html/template/template.go:104 +0x9a fp=0xc820a15988 sp=0xc820a15938
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc82034a000, 0x82e2c0, 0xc820f2c000, 0xc820f373c0, 0xd, 0xf1a490, 0xc82099a460, 0x0, 0x0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:2044 +0xc2 fp=0xc820a15a20 sp=0xc820a15988
github.com/spf13/hugo/hugolib.(*Site).render(0xc82034a000, 0xc820f3e960, 0x13, 0x82e2c0, 0xc820f2c000, 0xf1a490, 0xc82099a460, 0xc820f38b80, 0x7, 0x8, ...)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:2018 +0x2be fp=0xc820a15b00 sp=0xc820a15a20
github.com/spf13/hugo/hugolib.(*Site).renderAndWriteXML(0xc82034a000, 0xc820f3e960, 0x13, 0xc820f3e980, 0x17, 0x82e2c0, 0xc820f2c000, 0xc820f38b80, 0x7, 0x8, ...)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1909 +0x138 fp=0xc820a15c50 sp=0xc820a15b00
github.com/spf13/hugo/hugolib.taxonomyRenderer(0xc82034a000, 0xc8202d42a0, 0xc8202d4300, 0xc8204299f0)
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1589 +0xb42 fp=0xc820a15f70 sp=0xc820a15c50
runtime.goexit()
	/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820a15f78 sp=0xc820a15f70
created by github.com/spf13/hugo/hugolib.(*Site).renderTaxonomiesLists
	/private/tmp/hugo-20160607-37510-1daro23/hugo-0.16/src/github.com/spf13/hugo/hugolib/site.go:1477 +0x117
Normundss-MacBook-Pro:Sites normis$

Hugo installed via homebrew, which is up to date with all the packages and dependencies.

Oh wait, something wrong with my Xcode. Fixing it now, most likely false alert. Sorry!

Problem fixed, hugo works now.

For others with such issues, don’t forget to run “brew doctor”, then follow instructions, then “brew upgrade” and then hugo works again in macOS sierra 10.12

Is macOS Sierra released?

Hugo needs to be compiled with Go 1.7.* for it to work on macOS Sierra. Which means the existing released binaries will crash. Which means we need to do a Hugo release.

Which is @spf13 domain … Any plans for a release?

(note: The workaround is to build Hugo yourself, which Brew seems to do)

Sierra will be released in a few days, but I have been running the GM (same that will be released) for a while now.

Hugo works without anything special, just by using homebrew. I simply had to upgrade Xcode first, Homebrew “doctor” command gives the instructions.

1 Like

I am getting the same error (reported above) since upgrading to Sierra.

Running Hugo 0.16 via Homebrew.

Have run ‘brew doctor’ (no issues reported) and ‘brew update’, and then ‘brew upgrade hugo’. All compiles OK but ‘hugo server’ crashes as above.

These two commands fixed it for me:
https://www.reddit.com/r/MacOS/comments/4o37no/psa_fixing_homebrew_on_sierra/

1 Like

This is a known issue. Apple changed the kernel time API in Sierra. We plan to release Hugo 0.17 soon to fix the problem. In the meantime, you can compile Hugo yourself with Go 1.7+ to fix the issue.

Cc: @spf13

Thanks @moorereason - I’ll do that! :slight_smile:

@normis Hugo crashes for me, even with Homebrew working fine. See @moorereason 's comment below. Thanks, Paul

Then I can’t explain why it works now on my system :slight_smile:

Homebrew, as I understand it, compiles Hugo from the source – so I’ll assume they compile with Go 1.7 and then it should work just fine.

I agree. After doing the chown on usr/local to get Homebrew to work on macOS (which they say is no longer necessary), Homebrew built with go1.7 on my system ang their version of Hugo is working.

I had been installing Hugo with the command:

    brew install hugo

which appears to install a pre-compiled instance of Hugo. Taking a hint from @bep I discovered that I can force Homebrew to install from source:

    brew install --build-from-source hugo

And I can confirm that this works just fine :slight_smile:

1 Like

The following worked for me:

# Follow the tips from @normis
brew doctor
brew update

# Uninstall Hugo completely
brew uninstall --force hugo

# Reinstall Hugo
brew install hugo

The errors cleared up after I ran through this.

1 Like