Yocto Build x264 Error for Intel® Galileo Boards

Documentation

Troubleshooting

000006363

04/25/2017

What are you seeing?

You get the following error when you follow the Build Support package for Intel® Galileo Boards:

/ ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
/ fatal: reference is not a tree: c6bfcec47c9d1fff0489a30215501babea29f59c
/

ERROR: Task 1880
(/home/ubuntu/Desktop/galileo/FreshStart/Board_Support_Package_Sources_for_Intel_Quark_v1.0.0/meta-clanton_v1.0.0/meta-oe/meta-oe/recipes-multimedia/x264/x264_git.bb, do_unpack) failed with exit code '1'

 

Why are you seeing it?

Because the x264 hash code has been updated.

How to fix it:

To fix this issue, update the hash code.

  1. Open the x264_git.bb file found in the following directory:
    /meta-clanton_v1.0.0/meta-oe/meta-oe/recipes-multimedia/x264/x264_git.bb
     
  2. Replace the SRCREV with the new hash code:
    OLD: SRCREV = "1cffe9f406cc54f4759fc9eeb85598fb8cae66c7"
    NEW: SRCREV = "bfed708c5358a2b4ef65923fb0683cefa9184e6f"


After changing the x264_git.bb file, finish building your image with bitbake. If the error message continues, it's possible the hash code has changed again. To get the updated hash code, run the following commands. Then copy and replace the new code.

git clone git://git.videolan.org/x264.git
cd x264
git log --grep 'Fix possible issues with out-of-spec QP value