This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error while building the openh264 recipe in yocto

Hi, 

I am trying to build the openh264 recipe in yocto  but i am getting the following error.

ERROR: Nothing PROVIDES 'openh264'
openh264 was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
openh264 was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST

Can anyone please help me with the issue.

I have attached the complete log for reference.

paneesh@awsmblx404bs005:~/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/build$ TOOLCHAIN_BASE=$HOME MACHINE=j7-evm bitbake openh264
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Started PRServer with DBfile: /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 33195, PID: 25947
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache: 100% |#########################################################################################################################################################| Time: 0:00:01
Loaded 8296 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################| Time: 0:00:02
Parsing of 2964 .bb files complete (2963 cached, 1 parsed). 8298 targets, 1204 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.19.0.bbappend
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
ERROR: Nothing PROVIDES 'openh264'
openh264 was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
openh264 was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST

Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thanks and Regards,

Aneesh

  • Hi Aneesh,

    You need to match the dependencies correctly, downgrading components may involve additional changes apart from changing just this recipe only.

    We are having the exact same discussion in parallel with your colleague, I suggest we have the discussion in one place. 

    I'm closing this request here.

    Regards

    Karthik