Skip to main content

Compile

The fetch speed is slow when compiling nativesdk-glibc

Resolution: Change the source settings as follows:
  1. Open the recipe file:
     vim <workspace>/layers/poky/meta/recipes-core/glibc/glibc_2.39.bb +35
    
  2. Add the following line to the file:
     PREMIRRORS = ""
    
  3. Save the and exit.
  4. Clean and fetch nativesdk-glibc again:
    bitbake -c cleanall nativesdk-glibc
    bitbake -c do_fetch nativesdk-glibc
    
  5. After the commands finish, rebuild according to the original procedure.

Kas reports remote HEAD refers to nonexistent ref

Symptom: When you run a kas shell command, the build fails with the following error even though the layer repository is intact:
ERROR    - warning: remote HEAD refers to nonexistent ref, unable to checkout
Resolution: This error is caused by an outdated version of kas. Check your kas version and confirm that it is 4.8 or later:
kas --version
If the version is earlier than 4.8, upgrade kas and run the command again.

eSDK build fails after switching MACHINE in the same workspace

Symptom: When you build the eSDK with a different MACHINE in a workspace that was previously used for another MACHINE, the build fails with an error similar to the following:
ERROR: Task (<WORKSPACE>/build/tmp/work/iq_8275_evk-qcom-linux/qcom-robotics-proprietary-image/1.0/sdk-ext/im
age/tmp-renamed-sdk/layers/meta-qcom-robotics-sdk/recipes-products/packagegroups/packagegroup-robotics-opensource.bb:do_populate_lic) failed with
exit code 'setscene ignore_tasks'
NOTE: Tasks Summary: Attempted 12 tasks of which 6 didn't need to be rerun and 1 failed.
Resolution: Clean the robotics package group sstate cache, then rebuild the eSDK:
kas shell <YOUR KAS CONFIG> -c "bitbake packagegroup-robotics-proprietary packagegroup-oss-with-prop-deps packagegroup-robotics-opensource -c cleansstate"