Recently I met a /usr/lib/perl5 conflict error, following is the details, is there any idea to solve such kind of issue?
When perl is built, the output includes /usr/lib/perl folder and /usr/lib/perl5 symbol link, libhugetlbfs also produces /usr/lib/perl5 folder, there might be conflict when doing populate_sysroot, DEPENDS = "perl" can be added into libhugetlbfs recipe to bypass the issue, but the perl5 symbol link is not available anymore, this should be an incorrect method. Meanwhile, even if above way is used, same error will appear if perl is rebuilt due to perl5 folder of libhugetlbfs exists and perl5 symbol link can't be created. Error log: ERROR: Error executing a python function in /home/yocto/workspace/sdk-devel/poky/meta/recipes-devtools/perl/perl_5.14.3.bb: CalledProcessError: Command 'tar -cf - -C /home/yocto/workspace/sdk-devel/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/perl/5.14.3-r1/sysroot-destdir -ps . | tar -xf - -C /home/yocto/workspace/sdk-devel/build_t4240qds_release/tmp/sysroots/t4240qds' returned non-zero exit status 2 with output tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists tar: Exiting with failure status due to previous errors Best Regards, Zhenhua _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core