Yocto project build for Processor SDK Linux Automotive Release 06.02.00 is failing on Ubuntu 18.04 host. I downloaded the Linux SDK from this link and set it up using the instructions provided in getting started guide. The build fails for chromium-ozone-wayland recipe for want of max open file descriptor limit on the host, which is already set well beyond the suggested value 4096. Here's the build log:
$ bitbake tisdk-rootfs-image 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: /var/mentor/ti-j7-evm/ti-processor-sdk-linux-automotive-j7-evm-06_02_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38021, PID: 8208 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 4012 entries from dependency cache. WARNING: No recipes available for: /var/mentor/ti-j7-evm/ti-processor-sdk-linux-automotive-j7-evm-06_02_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.40.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-18.04" TARGET_SYS = "aarch64-linux" MACHINE = "j7-evm" DISTRO = "arago" DISTRO_VERSION = "2019.11" TUNE_FEATURES = "aarch64" TARGET_FPU = "" meta-arago-distro meta-arago-extras = "HEAD:605813a3f91146c7537b4d7537f55ef17b0ab80e" meta-psdkla = "HEAD:2e5243668840d2df6083c07af32608c87c50dcfd" meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3" meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca" meta-virtualization = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5" meta-networking meta-python meta-oe meta-gnome meta-filesystems = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93" meta-ti = "HEAD:aa7bc18ca835e1ab6520790fc5e21ba54b792c55" meta-linaro-toolchain meta-optee = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab" meta = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320" Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:08 Sstate summary: Wanted 17 Found 0 Missed 17 Current 2601 (0% match, 99% complete) NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: chromium-ozone-wayland-75.0.3770.142-r0.arago0 do_check_fdlimit_for_linking: The current maximum number of open file descriptors is too low (1024), and causes ld.bfd to fail to link Chromium. Please use ulimit -n to increase it to a higher value, such as 4096, or switch to gold or lld. ERROR: chromium-ozone-wayland-75.0.3770.142-r0.arago0 do_check_fdlimit_for_linking: Function failed: do_check_fdlimit_for_linking ERROR: Logfile of failure stored in: /var/mentor/ti-j7-evm/ti-processor-sdk-linux-automotive-j7-evm-06_02_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/chromium-ozone-wayland/75.0.3770.142-r0.arago0/temp/log.do_check_fdlimit_for_linking.8273 ERROR: Task (/var/mentor/ti-j7-evm/ti-processor-sdk-linux-automotive-j7-evm-06_02_00/yocto-build/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_check_fdlimit_for_linking) failed with exit code '1' NOTE: Tasks Summary: Attempted 3674 tasks of which 3673 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory Summary: 1 task failed: /var/mentor/ti-j7-evm/ti-processor-sdk-linux-automotive-j7-evm-06_02_00/yocto-build/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_check_fdlimit_for_linking Summary: There were 3 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. $ $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
The same issue is reproducible on Ubuntu 16.04 LTS host.