I've tried to build Stout with golang 1.10.1 but got an error:
➜ Stout git:(master) ./utils/xc.sh
# github.com/slastique/Stout/src
src/admin.go:26: github.com/slastique/Stout/vendor/github.com/zackbloom/goamz/s3.IndexDocument composite literal uses unkeyed fields
src/admin.go:27: github.com/slastique/Stout/vendor/github.com/zackbloom/goamz/s3.ErrorDocument composite literal uses unkeyed fields
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline
[goxc:go-vet] 2018/04/16 07:10:00 'go' returned error: Wait error: exit status 2: # github.com/slastique/Stout/src
src/admin.go:26: github.com/slastique/Stout/vendor/github.com/zackbloom/goamz/s3.IndexDocument composite literal uses unkeyed fields
src/admin.go:27: github.com/slastique/Stout/vendor/github.com/zackbloom/goamz/s3.ErrorDocument composite literal uses unkeyed fields
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline
[goxc:go-vet] 2018/04/16 07:10:00 Go-vet failed (goxc just treats this as a warning for now)
[goxc:go-vet] 2018/04/16 07:10:00 Task go-vet succeeded
# github.com/slastique/Stout/src
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline
[goxc:go-test] 2018/04/16 07:10:00 'go' returned error: Wait error: exit status 2: # github.com/slastique/Stout/src
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline
[goxc:go-test] 2018/04/16 07:10:00 Stopping after 'go-test' failed with error 'Wait error: exit status 2: # github.com/slastique/Stout/src
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline'
[goxc] 2018/04/16 07:10:00 RunTasks error: Wait error: exit status 2: # github.com/slastique/Stout/src
src/admin.go:290: Println arg list ends with redundant newline
src/cli.go:9: Println arg list ends with redundant newline
I've decided to check possibility to build it with another version of golang (1.8.1) and it works.
According to gdb you build binaries with go 1.8.1. Shall I add this information to README?
➜ Downloads gdb stout-linux
GNU gdb (GDB) Fedora 8.0.1-36.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from stout-linux...done.
...<skipped>...
(gdb) p 'runtime.buildVesion'
No symbol "runtime.buildVesion" in current context.
(gdb) p 'runtime.buildVersion'
$1 = 0x75d04b "go1.8.1"
I've tried to build Stout with golang 1.10.1 but got an error:
I've decided to check possibility to build it with another version of golang (1.8.1) and it works. According to gdb you build binaries with go 1.8.1. Shall I add this information to README?