Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with missing function error #18

rdammkoehler opened this issue Jul 25, 2019 · 1 comment


Copy link

@rdammkoehler rdammkoehler commented Jul 25, 2019

I'm on MacOS Mojave 10.14.5
Go version go1.12.7 darwin/amd64
Dep version v0.5.4 (2019-06-14)
make version GNU Make 3.81

I installed Go and Dep using Brew and executed the make file with the command make clean && make all. The build fails with the following error message;

Error: /Users/rpd/projects/mednax/fhirbase/.gopath/src/
al/lsp/testdata/badstmt/badstmt.go:8:13: function must be invoked in defer state
ment (and 1 more errors)
  packr [flags]
  packr [command]

Available Commands:
  build       Wraps the go build command with packr
  clean       removes any *-packr.go files
  help        Help about any command
  install     Wraps the go install command with packr
  version     prints packr version

  -z, --compress       compress box contents
  -h, --help           help for packr
  -i, --input string   path to scan for packr Boxes (default "/Users/rpd/project
  -v, --verbose        print verbose logging information

Use "packr [command] --help" for more information about a command.

make: *** [a_main-packr.go] Error 255
mlapshin added a commit that referenced this issue Jul 26, 2019

This comment has been minimized.

Copy link

@mlapshin mlapshin commented Jul 26, 2019

Hello, thanks for reporting this. Fixed in master.

@mlapshin mlapshin closed this Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.