已经release的一个项目,在最近编译时发现,解析bb很慢,以前没有出现过这个问题。
打开调试,发现卡在解析selinux相关的bb处。
DEBUG: /home/user44/3.15_/poky/…/meta/meta-selinux/recipes-security/refpolicy/refpolicy-minimum_git.bb: Fetcher accessed the network with the command git -c core.fsyncobjectfiles=0 ls-remote git://github.com/TresysTechnology/refpolicy-contrib.git
DEBUG: /home/user44/3.15_/poky/…/meta/meta-selinux/recipes-security/refpolicy/refpolicy-minimum_git.bb: Running export PATH="/home/user44/3.15_/build/tmp/work/g6s-poky-linux/refpolicy-minimum/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin/bzip2-native:/home/user443.15_/build/tmp/work/g6s-poky-linux/refpolicy-minimum/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin/python-native:/home/user44/3.15_/poky/scripts:/home/user44/3.15_/build/tmp/work/g6s-poky-linux/refpolicy-minimum/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/user44/3.15_/build/tm