poky master:a1d9b6df86b0829d591cae57ae351f6d96e63557 Steps to reproduce: 1) Set up poky and add LICENSE_FLAGS_WHITELIST = "commercial" in local.conf 2) 'bitbake x264' Notice build fails at x264 do_compile: " Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 8 | cat common/opencl/x264-cl.h common/opencl/motionsearch.cl common/opencl/subpel.cl common/opencl/intra.cl common/opencl/bidir.cl common/opencl/weightp.cl common/opencl/downscale.cl | perl ./tools/cltostr.pl x264_opencl_source > common/oclobj.h | Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./tools/cltostr.pl line 6. | BEGIN failed--compilation aborted at ./tools/cltostr.pl line 6. | make: *** [common/oclobj.h] Error 2 | make: *** Waiting for unfinished jobs.... | ERROR: oe_runmake failed | WARNING: /home/cornel/work/poky/build/tmp/work/x86_64-poky-linux/x264/r2265+gitAUTOINC+585324fee3-r0/temp/run.do_compile.1817:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /home/cornel/work/poky/build/tmp/work/x86_64-poky-linux/x264/r2265+gitAUTOINC+585324fee3-r0/temp/log.do_compile.1817) "
I can't actually reproduce this failure, but I can see how it could occur. If you add "inherit perlnative" to the x264 recipe does it fix the problem?
I also could not reproduce this on latest master. Marking as worksforme. Will keep an eye on this and mark as RESOLVED if cannot reproduce in the future.
Hmm, I'm not sure that's right; this is likely to be an intermittent problem. x264 definitely does check for perl when it's configuring; if perl somehow goes away while it's compiling (which could happen if there's no dependency and perl-native is rebuilding) that would probably lead to this error.
For some reason commit a1d9b6df86b0829d591cae57ae351f6d96e63557 is from September 2013. I don't understand how this came to be but I cannot reproduce using that exact commit either. I will keep investigating this.
I've sent a patch adding "inherit perlnative".
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=77de11f99bbcbbf8bcaa3ddb73deeabc13471a50
Verified on Ubuntu 13.10 with poky master:8c3eb5ee4582b6f6d489549290937657f37fc19e .