分页: 1 / 1

编译yocto报错怎么解决?

发表于 : 2022-07-09 17:38
yhm2046

代码: 全选

Your configuration files at build-x9h-plus_ref_cluster have not been touched.
BSPDIR=
BUILD_DIR=.
meta-semidrive directory found
NOTE: Your conf/bblayers.conf has been automatically updated.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
cp: cannot stat '/buildsystem-x9-ptg3.8/yocto/build-x9h-plus_ref_cluster/tmp/deploy/images/x9h-plus_ref_cluster/Image': No such file or directory
我尝试修改 ./yocto/poky/meta/conf/sanity.conf 加入 set BB_NO_NETWORK = "1" 编译提示报错

Re: 编译yocto报错怎么解决?

发表于 : 2022-07-11 10:54
yhm2046
有人知道怎么解决吗?

Re: 编译yocto报错怎么解决?

发表于 : 2022-07-13 18:09
astolia
不懂英文?不是说的很清楚了吗?
检查配置文件时失败,无法访问 https://www.example.com/ 。请确认网络配置正确,也可能是配置文件没弄对。
如果需要的文件在本地,可以设置BB_NO_NETWORK=1来禁止访问网络
或者修改sanity.conf禁用此项检查