- 具体错误
WARNING: Invalid mirror variable value for PREMIRRORS: ['git://sourceware.org/git/glibc.git', 'https://downloads.yoctoproject.org/mirror/sources/', 'git://sourceware.org/git/binutils-gdb.git', 'https://downloads.yoctoproject.org/mirror/sources/https?$://.*/.*', 'https://codelinaro.jfrog.io/artifactory/codelinaro-le//', 'svn$://.*/.*', 'https://codelinaro.jfrog.io/artifactory/codelinaro-le//', 'git?$://.*/.*', 'https://codelinaro.jfrog.io/artifactory/codelinaro-le//', 'ftps?$://.*/.*', 'https://codelinaro.jfrog.io/artifactory/codelinaro-le//'], should contain paired members.
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://yoctoproject.org/connectivity.html'. URL https://yoctoproject.org/connectivity.html doesn't work.
Please ensure your host's network is configured correctly.
Please ensure CONNECTIVITY_CHECK_URIS is correct and specified URIs are available.
If your ISP or network is blocking the above URL,
try with another domain name, for example by setting:
CONNECTIVITY_CHECK_URIS = "https://www.example.com/" You could also set BB_NO_NETWORK = "1" to disable network
access if all required sources are on local disk.
- 解决办法1:无效
我同时参考上面出错的项目和meta目录,编译两处conf/local.conf,加入下列三段内容之一:
#跳过检查连接
#skip connectivity checks
CONNECTIVITY_CHECK_URIS = ""
#检查连接使用谷歌
#check connectivity using google
CONNECTIVITY_CHECK_URIS = "https://www.google.com/"
#检查连接使用百度
#skip connectivity checks
CONNECTIVITY_CHECK_URIS = "www.baidu.com"
- 解决办法2:无效
设置环境变量:
export BB_NO_NETWORK="1"