我正在尝试构建我的Yocto发行版。 (基于Yocto 2.1 / krogoth,My BUild Machine是Ubuntu 16.04)
无法正确安装包perl
。 (我认为这是步骤do_populate_sysroot
)
我的错误消息:
ERROR: Error executing a python function in /home/ubuntu/fsl-release-bsp/sources/poky/meta/recipes-devtools/perl/perl_5.22.0.bb: ... Exception: CalledProcessError: Command 'cd /home/ubuntu/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/perl/5.22.0-r0/sysroot-destdir; find . -type d -print | tar -cf - -C /home/ubuntu/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/perl/5.22.0-r0/sysroot-destdir -p --files-from - --no-recursion | tar -xf - -C /home/ubuntu/fsl-release-bsp/build/tmp/sysroots/nuco-solo' returned non-zero exit status 2 with output tar: ./usr/lib/perl5: Cannot create symlink to 'perl': File exists tar: ./usr/lib/perl5: Cannot create symlink to 'perl': File exists tar: ./usr/lib/perl5: Cannot create symlink to 'perl': File exists tar: Exiting with failure status due to previous errors ERROR: Function failed: sstate_task_postfunc ERROR: Logfile of failure stored in: /home/ubuntu/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/perl/5.22.0-r0/temp/log.do_populate_sysroot.10030 ERROR: Task 2104 (/home/ubuntu/fsl-release-bsp/sources/poky/meta/recipes-devtools/perl/perl_5.22.0.bb, do_populate_sysroot) failed with exit code '1'
我该怎么做才能解决这个问题?