Yocto构建在XDB的Bitbake配方中的“go get”命令处失败

Yocto构建在XDB的Bitbake配方中的“go get”命令处失败,go,yocto,influxdb,Go,Yocto,Influxdb,我已经克隆并添加到我的Yocto目录中的layers文件夹中 我还将其添加到我的bblayers.conf中,并尝试使用以下方法烘焙: bitbake -k github.com-influxdata-influxdb 这为我提供了以下错误日志: ERROR: github.com-influxdata-influxdb-1.0-r0 do_configure: Function failed: do_configure (log file is located at /opt/PHYTEC_

我已经克隆并添加到我的Yocto目录中的layers文件夹中

我还将其添加到我的
bblayers.conf
中,并尝试使用以下方法烘焙:

bitbake -k github.com-influxdata-influxdb
这为我提供了以下错误日志:

ERROR: github.com-influxdata-influxdb-1.0-r0 do_configure: Function failed: do_configure (log file is located at /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/temp/log.do_configure.29201)
ERROR: Logfile of failure stored in: /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/temp/log.do_configure.29201
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/temp/run.do_configure.29201: line 120: /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/github.com-influxdata-influxdb-1.0/bin/gdm: No such file or directory
| WARNING: /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/temp/run.do_configure.29201:1 exit 1 from 'go get github.com/sparrc/gdm'
| ERROR: Function failed: do_configure (log file is located at /opt/PHYTEC_BSPs/yocto_fsl/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/github.com-influxdata-influxdb/1.0-r0/temp/log.do_configure.29201)
ERROR: Task 392 (/opt/PHYTEC_BSPs/yocto_fsl/sources/poky/../meta-influx/recipes-go/go/github.com-influxdata-influxdb.bb, do_configure) failed with exit code '1' 
代码显示在中的
获取sparrc gdm
时失败

在主机上,我没有安装
golang
。有必要启动构建机器吗

(目标板是PhyTec Mira板,其上带有i.MX6处理器)

我如何解决这个问题?我使用的是
krogoth
分支机构(因为董事会供应商有与分支机构一致的文件)

更新
即使机器上没有安装
golang
gdm
也会安装在
go
目录下的my
/home/
文件夹中,该目录下有
src/bin/
文件夹。我仍然不知道如何将其下载到上述配方中相应的
${B}
变量中

必须在主机中安装
golang
,因为您尚未安装它,这就是为什么您在使用
go get
获取回购协议时会出现错误的原因log@HamzaAnis嗨,我刚刚发现
gdm
软件包实际上是在我的
/home/
文件夹中下载的,而机器上没有安装
golang
。我是否可以在配方中正确地将下载路径更改为
${B}
变量?请在运行bakefile的用户中安装go并相应地更新环境变量。