I decided to adjust grafana’s codebase a little to fit my needs. This has worked well; I could locally test my changes and now I want to build a binary from it so I can deploy it to a production server.
The Documentation http://docs.grafana.org/project/building_from_source/#creating-optimized-release-packages tells me to run this command:
go run build.go build package
Which I do, but it fails on my Mac. More specifically, the
tar -C command produces an exit code 1. Calling
man tar on Mac reveals that this may be due to an implementation detail with the -C flag:
The -C dir option may differ from historic implementations.
Are you aware of this error? Do you have any solutions or suggestions?