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.

OMAP-L138: Bitbake Issue

Part Number: OMAP-L138


Hi,

I am trying to setup the yocto (thud) build environment for OMAP LI38 custom board. I have referred the below link for setting up the same.

software-dl.ti.com/.../Overview_Building_the_SDK.html

I am trying to build only linux package . The commands I used is as below

$ cd build
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=omapl138-lcdk bitbake linux-ti-staging

I am getting the do_package error as below

ERROR: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Function failed: split_and_strip_files

I have attached the build log for the same.

Please check and provide me the input to resolve the error.

Thank you,

With Best Regards,

Sharmila D

h440246@h440246-VirtualBox:~/Projects/rfid/BSP/tisdk/build$ bitbake  linux-ti-staging
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:06
Loaded 4658 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:22
Parsing of 3522 .bb files complete (3519 cached, 3 parsed). 4658 targets, 571 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/h440246/Projects/rfid/BSP/tisdk/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-wayland_%.bbappend
  /home/h440246/Projects/rfid/BSP/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
  /home/h440246/Projects/rfid/BSP/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "omapl138-lcdk"
DISTRO               = "arago"
DISTRO_VERSION       = "2019.11"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta-processor-sdk   = "HEAD:56d9d47f18eeec31a1086ca29e54b5956c46de84"
meta-aws             = "HEAD:6432f1b38b9dcbbb55020167f5b1cfe55e858c6d"
meta-ros             = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701"
meta-arago-distro    
meta-arago-extras    = "HEAD:70436496d2617b281c51390faa3d421814055cd6"
meta-browser         = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-qt5             = "HEAD:e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f"
meta-virtualization  = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-multimedia      
meta-filesystems     = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-ti              = "HEAD:b27317ab4f9be931a66344ca502c7e3f4ec780e5"
meta-linaro-toolchain 
meta-optee           = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab"
meta                 = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 9 Found 0 Missed 9 Current 66 (0% match, 88% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-pseudo-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-rpm-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64_arm-gcc-cross-arm.populate_sysroot not found in x86_64_arm (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-quilt-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-dwarfsrcfiles-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-bison-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64_arm-binutils-cross-arm.populate_sysroot not found in x86_64_arm (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-kmod-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-lzop-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-xz-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-bc-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-automake-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-db-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-libtool-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-dbus-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-python3-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-autoconf-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-gnu-config-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-pkgconfig-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-popt-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-bzip2-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-elfutils-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-nss-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-libarchive-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-gettext-minimal-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-file-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-flex-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-glibc.populate_sysroot not found in omapl138_lcdk armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-zlib-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-libmpc-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-gmp-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-mpfr-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-texinfo-dummy-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-gtk-doc-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-lzo-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-readline-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-expat-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-gdbm-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-sqlite3-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-openssl-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-m4-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-nspr-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-e2fsprogs-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-ncurses-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-attr-native.populate_sysroot not found in x86_64 (variant '')?
WARNING: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Manifest /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/sstate-control/manifest-x86_64-util-linux-native.populate_sysroot not found in x86_64 (variant '')?
ERROR: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Fatal errors occurred in subprocesses:
[Errno 2] No such file or directory: 'arm-oe-linux-gnueabi-strip': Traceback (most recent call last):
  File "/home/h440246/Projects/rfid/BSP/tisdk/sources/oe-core/meta/lib/oe/utils.py", line 272, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/h440246/Projects/rfid/BSP/tisdk/sources/oe-core/meta/lib/oe/package.py", line 44, in runstrip
    output = subprocess.check_output(stripcmd, stderr=subprocess.STDOUT)
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 693, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'arm-oe-linux-gnueabi-strip'


ERROR: linux-ti-staging-4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/h440246/Projects/rfid/BSP/tisdk/build/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/linux-ti-staging/4.19.94+gitAUTOINC+be5389fd85-r54a.arago5.tisdk1.1/temp/log.do_package.4047
ERROR: Task (/home/h440246/Projects/rfid/BSP/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.19.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 521 tasks of which 520 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/h440246/Projects/rfid/BSP/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.19.bb:do_package
Summary: There were 49 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
h440246@h440246-VirtualBox:~/Projects/rfid/BSP/tisdk/build$