Building dependencies in yocto for GO language project


I am trying to build a GO project using yocto using the following recipe

DESCRIPTION = "An Identity Provider for ORY Hydra over LDAP"

SECTION = "examples"



LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=c22a4ad704abf6e006791a40249a18cb"


SRC_URI = "git://${GO_IMPORT}"



inherit go

DEPENDS += "go-dep"

But I'm running into this error

ERROR: werther-1.1.1-r0 do_compile: Function failed: do_compile (log file is located at /tmp/tala/tmp/work/cortexa9-neon-tala-linux-gnueabi/werther/1.1.1-r0/temp/log.do_compile.10723)

ERROR: Logfile of failure stored in: /tmp/tala/tmp/work/cortexa9-neon-tala-linux-gnueabi/werther/1.1.1-r0/temp/log.do_compile.10723

Log data follows:

| DEBUG: Executing shell function do_compile

| src/ cannot find package "" in any of:

|             /tmp/tala/tmp/work/cortexa9-neon-tala-linux-gnueabi/werther/1.1.1-r0/recipe-sysroot/usr/lib/go/src/ (from $GOROOT)


|             /tmp/tala/tmp/work/cortexa9-neon-tala-linux-gnueabi/werther/1.1.1-r0/build/src/ (from $GOPATH)

"" is used by the project I am trying to build. There are other dependencies which are also not found (I have omitted them from the above error message).
Basically my question is how I can I resolve these dependencies. I dont think I need to create and put separate recipes for all these go packages.

Join to automatically receive all group messages.