<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5768</bug_id>
          
          <creation_ts>2014-01-29 14:58:01 +0000</creation_ts>
          <short_desc>x264 fails at do_compile</short_desc>
          <delta_ts>2014-03-28 12:45:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>multimedia</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40079</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-01-29 14:58:01 +0000</bug_when>
    <thetext>poky master:a1d9b6df86b0829d591cae57ae351f6d96e63557

Steps to reproduce:
1) Set up poky and add LICENSE_FLAGS_WHITELIST = &quot;commercial&quot; in local.conf
2) &apos;bitbake x264&apos;

Notice build fails at x264 do_compile:

&quot;
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 &gt; common/oclobj.h
| Can&apos;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)
&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40188</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-05 11:09:14 +0000</bug_when>
    <thetext>I can&apos;t actually reproduce this failure, but I can see how it could occur. If you add &quot;inherit perlnative&quot; to the x264 recipe does it fix the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40677</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-02-25 11:44:24 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40678</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-25 11:51:13 +0000</bug_when>
    <thetext>Hmm, I&apos;m not sure that&apos;s right; this is likely to be an intermittent problem. x264 definitely does check for perl when it&apos;s configuring; if perl somehow goes away while it&apos;s compiling (which could happen if there&apos;s no dependency and perl-native is rebuilding) that would probably lead to this error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40680</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-02-25 12:28:33 +0000</bug_when>
    <thetext>For some reason commit a1d9b6df86b0829d591cae57ae351f6d96e63557 is from September 2013. I don&apos;t understand how this came to be but I cannot reproduce using that exact commit either. I will keep investigating this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41546</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-20 15:16:06 +0000</bug_when>
    <thetext>I&apos;ve sent a patch adding &quot;inherit perlnative&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41582</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-21 16:41:20 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=77de11f99bbcbbf8bcaa3ddb73deeabc13471a50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41894</commentid>
    <comment_count>7</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-03-28 12:45:08 +0000</bug_when>
    <thetext>Verified on Ubuntu 13.10 with poky master:8c3eb5ee4582b6f6d489549290937657f37fc19e .</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>