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.

AM3352: Bitbake error

Part Number: AM3352

Hi

Bitbake error for  arago-tiny-image-1.0-r0 do_image_ubi

I followed the Processor SDK Linux user guide in the website ==> (Using the snapshot of the source packages in Processor SDK release) , and run the following commands:

1) For AM3352 without SGX,  I inserted the following two command at the bottom of conf/local.conf

   MACHINE_FEATURES_remove="sgx"

   PACKAGECONFIG_remove="wayland-egl"

2) Run commands

After downloading all arago source packages from TI servers, I run the build commands :

$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=/(our SDK path)/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=/(our SDK_path)/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image

However, it report ERROR while compiling, the compile fail log are listed below, we mark the error message with red color.

Can you please advise what's problem?

The compile fail log
=============================================================================
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 browser-layer should set LAYERSERIES_COMPAT_browser-layer 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.
WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |#######################################################################################| Time: 0:00:02
Loaded 4697 entries from dependency cache.
WARNING: No recipes available for:
  /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_2.0.0.bbappend
  /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
  /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
Consider defining a PREFERRED_RPROVIDER entry to match python-bson

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "am335x-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2019.05"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-processor-sdk   = "HEAD:e5b633c0aa6d924ab6bea15906e3790c01c86633"
meta-ros             = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701"
meta-arago-distro    
meta-arago-extras    = "HEAD:9373674c699c8ad98f8b6b3eac45473448f55e94"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-virtualization  = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-multimedia      
meta-filesystems     = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
meta-ti              = "HEAD:28a2f128fbadd37463060eb5ee40c7c9a47cc530"
meta-linaro-toolchain
meta-optee           = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
meta                 = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:51
Sstate summary: Wanted 473 Found 0 Missed 473 Current 6085 (0% match, 92% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: arago-tiny-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463)
ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 72248.800000 = 55576 * 1.300000
| DEBUG: 72248.800000 = max(72248.800000, 65536)[72248.800000] + 1
| DEBUG: 72249.000000 = int(72248.800000)
| DEBUG: 72249 = aligned(72249)
| DEBUG: returning 72249
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'mklibs-native', 'depmodwrapper-cross', 'opkg-utils-native', 'mtd-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'update-rc.d-native', 'opkg-native', 'prelink-native', 'pigz-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'quilt-native', 'automake-native', 'gnu-config-native', 'libtool-native', 'autoconf-native', 'systemd-systemctl-native', 'debianutils-native', 'openssl-native', 'qemu-native', 'shadow-native', 'gettext-minimal-native', 'kmod-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'pkgconfig-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'elfutils-native', 'binutils-native', 'texinfo-dummy-native', 'm4-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'python3-native', 'gtk-doc-native', 'ncurses-native', 'attr-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'gdbm-native', 'readline-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_ubi
| ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
|          error 2 (No such file or directory)
| WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/run.do_image_ubi.3463:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-arago-tiny-image-am335x-evm-20191015150730.cfg'
| ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463)
ERROR: Task (/home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi) failed with exit code '1'
ERROR: tisdk-docker-rootfs-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460)
ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 949202.800000 = 730156 * 1.300000
| DEBUG: 949202.800000 = max(949202.800000, 65536)[949202.800000] + 1
| DEBUG: 949203.000000 = int(949202.800000)
| DEBUG: 949203 = aligned(949203)
| DEBUG: returning 949203
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'depmodwrapper-cross', 'opkg-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'opkg-native', 'prelink-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'mklibs-native', 'mtd-utils-native', 'update-rc.d-native', 'pigz-native', 'autoconf-native', 'quilt-native', 'automake-native', 'libtool-native', 'gnu-config-native', 'systemd-systemctl-native', 'kmod-native', 'qemu-native', 'shadow-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'pkgconfig-native', 'elfutils-native', 'binutils-native', 'gettext-minimal-native', 'debianutils-native', 'openssl-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'm4-native', 'texinfo-dummy-native', 'python3-native', 'gtk-doc-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'ncurses-native', 'attr-native', 'gdbm-native', 'readline-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_ubi
| ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
|          error 2 (No such file or directory)
| WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/run.do_image_ubi.3460:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-tisdk-docker-rootfs-image-am335x-evm-20191015150730.cfg'
| ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460)
ERROR: Task (/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi) failed with exit code '1'
NOTE: Tasks Summary: Attempted 17216 tasks of which 15988 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi
  /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi
Summary: There were 6 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



the error log file log.do_image_ubi.3460 and log.do_image_ubi.3463 are attached.

DEBUG: Executing python function set_image_size
DEBUG: 949202.800000 = 730156 * 1.300000
DEBUG: 949202.800000 = max(949202.800000, 65536)[949202.800000] + 1
DEBUG: 949203.000000 = int(949202.800000)
DEBUG: 949203 = aligned(949203)
DEBUG: returning 949203
DEBUG: Python function set_image_size finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'depmodwrapper-cross', 'opkg-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'opkg-native', 'prelink-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'mklibs-native', 'mtd-utils-native', 'update-rc.d-native', 'pigz-native', 'autoconf-native', 'quilt-native', 'automake-native', 'libtool-native', 'gnu-config-native', 'systemd-systemctl-native', 'kmod-native', 'qemu-native', 'shadow-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'pkgconfig-native', 'elfutils-native', 'binutils-native', 'gettext-minimal-native', 'debianutils-native', 'openssl-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'm4-native', 'texinfo-dummy-native', 'python3-native', 'gtk-doc-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'ncurses-native', 'attr-native', 'gdbm-native', 'readline-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_image_ubi
ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
         error 2 (No such file or directory)
WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/run.do_image_ubi.3460:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-tisdk-docker-rootfs-image-am335x-evm-20191015150730.cfg'
ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3460)



DEBUG: Executing python function set_image_size
DEBUG: 72248.800000 = 55576 * 1.300000
DEBUG: 72248.800000 = max(72248.800000, 65536)[72248.800000] + 1
DEBUG: 72249.000000 = int(72248.800000)
DEBUG: 72249 = aligned(72249)
DEBUG: returning 72249
DEBUG: Python function set_image_size finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'mklibs-native', 'depmodwrapper-cross', 'opkg-utils-native', 'mtd-utils-native', 'qemuwrapper-cross', 'ldconfig-native', 'update-rc.d-native', 'opkg-native', 'prelink-native', 'pigz-native', 'makedevs-native', 'pseudo-native', 'xz-native', 'quilt-native', 'automake-native', 'gnu-config-native', 'libtool-native', 'autoconf-native', 'systemd-systemctl-native', 'debianutils-native', 'openssl-native', 'qemu-native', 'shadow-native', 'gettext-minimal-native', 'kmod-native', 'lzo-native', 'util-linux-native', 'zlib-native', 'e2fsprogs-native', 'acl-native', 'pkgconfig-native', 'nss-native', 'libsolv-native', 'libarchive-native', 'elfutils-native', 'binutils-native', 'texinfo-dummy-native', 'm4-native', 'dtc-native', 'pixman-native', 'glib-2.0-native', 'alsa-lib-native', 'python3-native', 'gtk-doc-native', 'ncurses-native', 'attr-native', 'sqlite3-native', 'nspr-native', 'cmake-native', 'ninja-native', 'rpm-native', 'expat-native', 'bzip2-native', 'flex-native', 'libpng-native', 'util-macros-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'gdbm-native', 'readline-native', 'curl-native', 're2c-native', 'db-native', 'dbus-native', 'popt-native', 'file-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_image_ubi
ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730.rootfs.ubifs" referred from section "ubifs"
         error 2 (No such file or directory)
WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/run.do_image_ubi.3463:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191015150730${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-arago-tiny-image-am335x-evm-20191015150730.cfg'
ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3463)

  • Hello Jack,

    This shouldn't happen. Please, make sure that you have ran the prerequisites commands and start to build from scratch.

    Best regards,
    Kemal

  • Hi Kemal

    Many thanks for your reply rapidly, after following your instruction, i rebuild again,  the error message are list below.

    Beside, please see the attach file,  Five files  are made up for more detail analysis. (A)Build_procedure  B)local.conf,  C) download list file from Ti server, D)two Error log file

    Best Regards,

    Jack


    The compile fail log
    =============================================================================

    ym-pc@ympc-VirtualBox:~/tisdk$ cd build/
    ym-pc@ympc-VirtualBox:~/tisdk/build$ . conf/setenv
    ym-pc@ympc-VirtualBox:~/tisdk/build$ export TOOLCHAIN_PATH_ARMV7=/home/ym-pc/tisdk/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
    ym-pc@ympc-VirtualBox:~/tisdk/build$ export TOOLCHAIN_PATH_ARMV8=/home/ym-pc/tisdk/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
    ym-pc@ympc-VirtualBox:~/tisdk/build$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
    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 browser-layer should set LAYERSERIES_COMPAT_browser-layer 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.
    WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
    Loading cache: 100% |############################################################################| Time: 0:00:02
    Loaded 4697 entries from dependency cache.
    WARNING: No recipes available for:
      /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_2.0.0.bbappend
      /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
      /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
    NOTE: Resolving any missing task queue dependencies
    NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
    Consider defining a PREFERRED_RPROVIDER entry to match python-bson

    Build Configuration:
    BB_VERSION           = "1.40.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-16.04"
    TARGET_SYS           = "arm-linux-gnueabi"
    MACHINE              = "am335x-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2019.05"
    TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU           = "hard"
    meta-processor-sdk   = "HEAD:e5b633c0aa6d924ab6bea15906e3790c01c86633"
    meta-ros             = "HEAD:72068b17e4192b51e09c8dc633805a35edac8701"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:9373674c699c8ad98f8b6b3eac45473448f55e94"
    meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
    meta-virtualization  = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-multimedia      
    meta-filesystems     = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
    meta-ti              = "HEAD:28a2f128fbadd37463060eb5ee40c7c9a47cc530"
    meta-linaro-toolchain
    meta-optee           = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
    meta                 = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"

    Initialising tasks: 100% |#######################################################################| Time: 0:00:50
    Sstate summary: Wanted 473 Found 0 Missed 473 Current 6085 (0% match, 92% complete)
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: arago-tiny-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3621)
    ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3621
    Log data follows:
    | DEBUG: Executing python function set_image_size
    | DEBUG: 72248.800000 = 55576 * 1.300000
    | DEBUG: 72248.800000 = max(72248.800000, 65536)[72248.800000] + 1
    | DEBUG: 72249.000000 = int(72248.800000)
    | DEBUG: 72249 = aligned(72249)
    | DEBUG: returning 72249
    | DEBUG: Python function set_image_size finished
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['prelink-native', 'pigz-native', 'depmodwrapper-cross', 'opkg-native', 'xz-native', 'mtd-utils-native', 'pseudo-native', 'opkg-utils-native', 'cross-localedef-native', 'makedevs-native', 'ldconfig-native', 'update-rc.d-native', 'mklibs-native', 'qemuwrapper-cross', 'shadow-native', 'systemd-systemctl-native', 'elfutils-native', 'quilt-native', 'binutils-native', 'libtool-native', 'automake-native', 'gnu-config-native', 'autoconf-native', 'zlib-native', 'kmod-native', 'gettext-minimal-native', 'openssl-native', 'debianutils-native', 'qemu-native', 'libarchive-native', 'pkgconfig-native', 'libsolv-native', 'lzo-native', 'e2fsprogs-native', 'util-linux-native', 'acl-native', 'nss-native', 'texinfo-dummy-native', 'flex-native', 'm4-native', 'python3-native', 'gtk-doc-native', 'alsa-lib-native', 'dtc-native', 'glib-2.0-native', 'pixman-native', 'bzip2-native', 'cmake-native', 'ninja-native', 'expat-native', 'rpm-native', 'attr-native', 'ncurses-native', 'nspr-native', 'sqlite3-native', 'readline-native', 'gdbm-native', 'gettext-native', 'libpcre-native', 'libffi-native', 'util-macros-native', 'libpng-native', 'curl-native', 're2c-native', 'dbus-native', 'file-native', 'popt-native', 'db-native']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_image_ubi
    | ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191016152216.rootfs.ubifs" referred from section "ubifs"
    |          error 2 (No such file or directory)
    | WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/run.do_image_ubi.3621:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191016152216${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-arago-tiny-image-am335x-evm-20191016152216.cfg'
    | ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3621)
    ERROR: Task (/home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi) failed with exit code '1'
    ERROR: tisdk-docker-rootfs-image-1.0-r0 do_image_ubi: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3624)
    ERROR: Logfile of failure stored in: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3624
    Log data follows:
    | DEBUG: Executing python function set_image_size
    | DEBUG: 949202.800000 = 730156 * 1.300000
    | DEBUG: 949202.800000 = max(949202.800000, 65536)[949202.800000] + 1
    | DEBUG: 949203.000000 = int(949202.800000)
    | DEBUG: 949203 = aligned(949203)
    | DEBUG: returning 949203
    | DEBUG: Python function set_image_size finished
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['prelink-native', 'pigz-native', 'depmodwrapper-cross', 'xz-native', 'pseudo-native', 'opkg-utils-native', 'cross-localedef-native', 'makedevs-native', 'ldconfig-native', 'mklibs-native', 'opkg-native', 'mtd-utils-native', 'update-rc.d-native', 'qemuwrapper-cross', 'shadow-native', 'systemd-systemctl-native', 'elfutils-native', 'quilt-native', 'binutils-native', 'libtool-native', 'automake-native', 'gnu-config-native', 'autoconf-native', 'qemu-native', 'zlib-native', 'kmod-native', 'gettext-minimal-native', 'libarchive-native', 'pkgconfig-native', 'libsolv-native', 'openssl-native', 'debianutils-native', 'lzo-native', 'e2fsprogs-native', 'util-linux-native', 'acl-native', 'nss-native', 'flex-native', 'texinfo-dummy-native', 'm4-native', 'alsa-lib-native', 'dtc-native', 'glib-2.0-native', 'pixman-native', 'python3-native', 'gtk-doc-native', 'bzip2-native', 'cmake-native', 'ninja-native', 'expat-native', 'rpm-native', 'attr-native', 'ncurses-native', 'nspr-native', 'sqlite3-native', 'gettext-native', 'libpcre-native', 'libffi-native', 'libpng-native', 'util-macros-native', 'gdbm-native', 'readline-native', 'curl-native', 're2c-native', 'dbus-native', 'file-native', 'popt-native', 'db-native']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_image_ubi
    | ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191016152216.rootfs.ubifs" referred from section "ubifs"
    |          error 2 (No such file or directory)
    | WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/run.do_image_ubi.3624:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191016152216${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-tisdk-docker-rootfs-image-am335x-evm-20191016152216.cfg'
    | ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3624)
    ERROR: Task (/home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 17216 tasks of which 15988 didn't need to be rerun and 2 failed.

    Summary: 2 tasks failed:
      /home/ym-pc/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_image_ubi
      /home/ym-pc/tisdk/sources/meta-processor-sdk/recipes-core/images/tisdk-docker-rootfs-image.bb:do_image_ubi
    Summary: There were 6 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    ym-pc@ympc-VirtualBox:~/tisdk/build$

    (1) Install Virtualbox 6.0 and then install Ubuntu 16.04
       Virtualbox setting
       Intel Core i5 2 processor, 
       RAM 6G, Swap 18G, 
       HardDisk Space 500G for ubuntu 
       video memory 16MB 
    
    (2) install Prerequisites package from http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment
    $sudo dpkg --add-architecture i386
    $sudo apt-get install git build-essential diffstat texinfo gawk chrpath
    $sudo apt-get install libstdc++6:i386 libncurses5:i386 libz1:i386 libc6:i386 libc6-dev-i386 g++-multilib
    
    (3)Install Prerequisites package from http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html#prerequisites-one-time-setup
    $sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
    
    Install results==>
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'zlib1g:i386' instead of 'libz1:i386'
    build-essential is already the newest version (12.1ubuntu2).
    diffstat is already the newest version (1.61-1).
    gawk is already the newest version (1:4.1.3+dfsg-0.1).
    unzip is already the newest version (6.0-20ubuntu1).
    libncurses5:i386 is already the newest version (6.0+20160213-1ubuntu1).
    chrpath is already the newest version (0.16-1).
    dos2unix is already the newest version (6.0.4-1).
    socat is already the newest version (1.7.3.1-1).
    texinfo is already the newest version (6.1.0.dfsg.1-5).
    doxygen is already the newest version (1.8.11-1ubuntu0.1).
    git is already the newest version (1:2.7.4-0ubuntu1.6).
    python is already the newest version (2.7.12-1~16.04).
    wget is already the newest version (1.17.1-1ubuntu1.5).
    libc6:i386 is already the newest version (2.23-0ubuntu11).
    libstdc++6:i386 is already the newest version (5.4.0-6ubuntu1~16.04.11).
    zlib1g:i386 is already the newest version (1:1.2.8.dfsg-2ubuntu4.1).
    0 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
    
    (4) install qtquick1 related package
    qtquick1-5-dbg               qtquick1-5-dev-tools         qtquick1-qml-plugins         
    qtquick1-5-dev               qtquick1-5-examples          qtquick1-qmltooling-plugins
    
    
    (5) Run the commands
    $sudo apt-get updat 
    $sudo dpkg-reconfigure dash  ==> select "No"
    
    (6)Write the command line at the bottom of local.conf
    # Without SGX accerelator for AM3352
    RDEPENDS_packagegroup-arago-qte-toolchain-target_remove = "qtquick1-dev"
    MACHINE_FEATURES_remove = "sgx"
    PACKAGECONFIG_remove = "wayland-egl"
    
    (7)Rebulid by following the Processor SDK Linux user guide from http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html#using-the-snapshot-of-the-source-packages-in-processor-sdk-release
    Run commands
    $ . conf/setenv
    $ export TOOLCHAIN_PATH_ARMV7=/(our SDK path)/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
    $ export TOOLCHAIN_PATH_ARMV8=/(our SDK_path)/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
    $ MACHINE=am335x-evm bitbake arago-core-tisdk-image
    
    
    
    3162.download_file_list.txt
    # CONF_VERSION is increased each time build/conf/ changes incompatibly
    CONF_VERSION = "1"
    
    #
    # Where to place downloads
    #
    # During a first build the system will download many different source code
    # tarballs from various upstream projects. This can take a while, particularly
    # if your network connection is slow. These are all stored in DL_DIR. When
    # wiping and rebuilding you can preserve this directory to speed up this part
    # of subsequent builds. This directory is safe to share between multiple builds
    # on the same machine too.
    DL_DIR = "/home/ym-pc/tisdk/downloads"
    
    #
    # Where to place shared-state files
    #
    # BitBake has the capability to accelerate builds based on previously built
    # output. This is done using "shared state" files which can be thought of as
    # cache objects and this option determines where those files are placed.
    #
    # You can wipe out TMPDIR leaving this directory intact and the build would
    # regenerate from these files if no changes were made to the configuration.
    # If changes were made to the configuration, only shared state files where the
    # state was still valid would be used (done using checksums).
    SSTATE_DIR = "${OEBASE}/build/sstate-cache"
    
    #
    # Shared-state files from other locations
    #
    # As mentioned above, shared state files are prebuilt cache data objects which
    # can be used to accelerate build time. This variable can be used to configure
    # the system to search other mirror locations for these objects before it
    # builds the data itself.
    #
    # This can be a filesystem directory, or a remote url such as http or ftp.
    # These would contain the sstate-cache results from previous builds (possibly
    # from other machines). This variable works like fetcher MIRRORS/PREMIRRORS
    # and points to the cache locations to check for the shared objects.
    #SSTATE_MIRRORS ?= "\
    #file://.* http://someserver.tld/share/sstate/ \n \
    #file://.* file:///some/local/dir/sstate/"
    
    #
    # Where to place the build output
    #
    # This option specifies where the bulk of the building work should be done and
    # where BitBake should place its temporary files and output. Keep in mind that
    # this includes the extraction and compilation of many applications and the toolchain
    # which can use Gigabytes of hard disk space.
    TMPDIR = "${OEBASE}/build/arago-tmp"
    
    #
    # Machine Selection
    #
    # You need to select a specific machine to target the build with. There are a selection
    # of emulated machines available which can boot and run in the QEMU emulator:
    #
    MACHINE ?= "arago"
    
    #
    # Package Management configuration
    #
    # This variable lists which packaging formats to enable. Multiple package backends 
    # can be enabled at once and the first item listed in the variable will be used 
    # to generate the root filesystems.
    # Options are:
    #  - 'package_deb' for debian style deb files
    #  - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
    #  - 'package_rpm' for rpm style packages
    # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
    # We default to ipk:
    PACKAGE_CLASSES ?= "package_ipk"
    
    #
    # SDK/ADT target architecture
    #
    # This variable specified the architecture to build SDK/ADT items for and means
    # you can build the SDK packages for architectures other than the machine you are 
    # running the build on (i.e. building i686 packages on an x86_64 host._
    # Supported values are i686 and x86_64
    SDKMACHINE ?= "x86_64"
    
    #
    # Extra image configuration defaults
    #
    # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated 
    # images. Some of these options are added to certain image types automatically. The
    # variable can contain the following options:
    #  "dbg-pkgs"       - add -dbg packages for all installed packages
    #                     (adds symbol information for debugging/profiling)
    #  "dev-pkgs"       - add -dev packages for all installed packages
    #                     (useful if you want to develop against libs in the image)
    #  "tools-sdk"      - add development tools (gcc, make, pkgconfig etc.)
    #  "tools-debug"    - add debugging tools (gdb, strace)
    #  "tools-profile"  - add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
    #  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
    #  "debug-tweaks"   - make an image suitable for development
    #                     e.g. ssh root access has a blank password
    # There are other application targets that can be used here too, see
    # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
    # We default to enabling the debugging tweaks.
    EXTRA_IMAGE_FEATURES = "debug-tweaks"
    
    #
    # Additional image features
    #
    # The following is a list of additional classes to use when building images which
    # enable extra features. Some available options which can be included in this variable 
    # are:
    #   - 'buildstats' collect build statistics
    #   - 'image-mklibs' to reduce shared library files size for an image
    #   - 'image-prelink' in order to prelink the filesystem image
    #   - 'image-swab' to perform host system intrusion detection
    # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
    # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
    USER_CLASSES ?= "buildstats image-mklibs image-prelink"
    
    # By default disable interactive patch resolution (tasks will just fail instead):
    PATCHRESOLVE = "noop"
    
    # Qemu 0.12.x is giving too much problems recently (2010.05), so disable it for users
    ENABLE_BINARY_LOCALE_GENERATION = "0"
    
    # By default the machine configuration file sets the IMAGE_FSTYPES.  But if you
    # would like to add additional file system types you can uncomment the
    # following line and add the additional IMAGE_FSTYPES you want created
    # as part of the build flow.  Some common types are listed below and you
    # can remove the ones you do not want.
    # IMAGE_FSTYPES += "jffs2 cramfs ext2.gz ext3.gz squashfs ubi tar.gz tar.bz2 cpio"
    
    #
    # Parallelism Options
    #
    # These two options control how much parallelism BitBake should use. The first 
    # option determines how many tasks bitbake should run in parallel:
    #
    BB_NUMBER_THREADS = "2"
    # 
    # The second option controls how many processes make should run in parallel when
    # running compile tasks:
    #
    PARALLEL_MAKE = "-j 2"
    #
    # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
    # be appropriate for example
    
    DISTRO   = "arago"
    
    # Set branding policy for Processor SDK
    ARAGO_BRAND ?= "processor-sdk"
    
    # Set terminal types by default it expects gnome-terminal
    # but we chose xterm
    TERMCMD = "${XTERM_TERMCMD}"
    TERMCMDRUN = "${XTERM_TERMCMDRUN}"
    
    # Don't generate the mirror tarball for SCM repos, the snapshot is enough
    BB_GENERATE_MIRROR_TARBALLS = "0"
    
    # Uncomment this to remove work directory after packaging to save disk space
    #INHERIT += "rm_work"
    
    # Keep one set of images by default
    RM_OLD_IMAGE = "1"
    
    # Without SGX accerelator for AM3352
    RDEPENDS_packagegroup-arago-qte-toolchain-target_remove = "qtquick1-dev"
    MACHINE_FEATURES_remove = "sgx"
    PACKAGECONFIG_remove = "wayland-egl"
    
    DEBUG: Executing python function set_image_size
    DEBUG: 72248.800000 = 55576 * 1.300000
    DEBUG: 72248.800000 = max(72248.800000, 65536)[72248.800000] + 1
    DEBUG: 72249.000000 = int(72248.800000)
    DEBUG: 72249 = aligned(72249)
    DEBUG: returning 72249
    DEBUG: Python function set_image_size finished
    DEBUG: Executing python function extend_recipe_sysroot
    NOTE: Direct dependencies are ['virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot']
    NOTE: Installed into sysroot: []
    NOTE: Skipping as already exists in sysroot: ['prelink-native', 'pigz-native', 'depmodwrapper-cross', 'opkg-native', 'xz-native', 'mtd-utils-native', 'pseudo-native', 'opkg-utils-native', 'cross-localedef-native', 'makedevs-native', 'ldconfig-native', 'update-rc.d-native', 'mklibs-native', 'qemuwrapper-cross', 'shadow-native', 'systemd-systemctl-native', 'elfutils-native', 'quilt-native', 'binutils-native', 'libtool-native', 'automake-native', 'gnu-config-native', 'autoconf-native', 'zlib-native', 'kmod-native', 'gettext-minimal-native', 'openssl-native', 'debianutils-native', 'qemu-native', 'libarchive-native', 'pkgconfig-native', 'libsolv-native', 'lzo-native', 'e2fsprogs-native', 'util-linux-native', 'acl-native', 'nss-native', 'texinfo-dummy-native', 'flex-native', 'm4-native', 'python3-native', 'gtk-doc-native', 'alsa-lib-native', 'dtc-native', 'glib-2.0-native', 'pixman-native', 'bzip2-native', 'cmake-native', 'ninja-native', 'expat-native', 'rpm-native', 'attr-native', 'ncurses-native', 'nspr-native', 'sqlite3-native', 'readline-native', 'gdbm-native', 'gettext-native', 'libpcre-native', 'libffi-native', 'util-macros-native', 'libpng-native', 'curl-native', 're2c-native', 'dbus-native', 'file-native', 'popt-native', 'db-native']
    DEBUG: Python function extend_recipe_sysroot finished
    DEBUG: Executing shell function do_image_ubi
    ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191016152216.rootfs.ubifs" referred from section "ubifs"
             error 2 (No such file or directory)
    WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/run.do_image_ubi.3621:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/deploy-arago-tiny-image-image-complete/arago-tiny-image-am335x-evm-20191016152216${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-arago-tiny-image-am335x-evm-20191016152216.cfg'
    ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/arago-tiny-image/1.0-r0/temp/log.do_image_ubi.3621)
    
    DEBUG: Executing python function set_image_size
    DEBUG: 949202.800000 = 730156 * 1.300000
    DEBUG: 949202.800000 = max(949202.800000, 65536)[949202.800000] + 1
    DEBUG: 949203.000000 = int(949202.800000)
    DEBUG: 949203 = aligned(949203)
    DEBUG: returning 949203
    DEBUG: Python function set_image_size finished
    DEBUG: Executing python function extend_recipe_sysroot
    NOTE: Direct dependencies are ['virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/ym-pc/tisdk/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/home/ym-pc/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot']
    NOTE: Installed into sysroot: []
    NOTE: Skipping as already exists in sysroot: ['prelink-native', 'pigz-native', 'depmodwrapper-cross', 'xz-native', 'pseudo-native', 'opkg-utils-native', 'cross-localedef-native', 'makedevs-native', 'ldconfig-native', 'mklibs-native', 'opkg-native', 'mtd-utils-native', 'update-rc.d-native', 'qemuwrapper-cross', 'shadow-native', 'systemd-systemctl-native', 'elfutils-native', 'quilt-native', 'binutils-native', 'libtool-native', 'automake-native', 'gnu-config-native', 'autoconf-native', 'qemu-native', 'zlib-native', 'kmod-native', 'gettext-minimal-native', 'libarchive-native', 'pkgconfig-native', 'libsolv-native', 'openssl-native', 'debianutils-native', 'lzo-native', 'e2fsprogs-native', 'util-linux-native', 'acl-native', 'nss-native', 'flex-native', 'texinfo-dummy-native', 'm4-native', 'alsa-lib-native', 'dtc-native', 'glib-2.0-native', 'pixman-native', 'python3-native', 'gtk-doc-native', 'bzip2-native', 'cmake-native', 'ninja-native', 'expat-native', 'rpm-native', 'attr-native', 'ncurses-native', 'nspr-native', 'sqlite3-native', 'gettext-native', 'libpcre-native', 'libffi-native', 'libpng-native', 'util-macros-native', 'gdbm-native', 'readline-native', 'curl-native', 're2c-native', 'dbus-native', 'file-native', 'popt-native', 'db-native']
    DEBUG: Python function extend_recipe_sysroot finished
    DEBUG: Executing shell function do_image_ubi
    ubinize: error!: cannot stat "/home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191016152216.rootfs.ubifs" referred from section "ubifs"
             error 2 (No such file or directory)
    WARNING: /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/run.do_image_ubi.3624:1 exit 255 from 'ubinize -o /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/deploy-tisdk-docker-rootfs-image-image-complete/tisdk-docker-rootfs-image-am335x-evm-20191016152216${vname}.rootfs.ubi ${ubinize_args} ubinize${vname}-tisdk-docker-rootfs-image-am335x-evm-20191016152216.cfg'
    ERROR: Function failed: do_image_ubi (log file is located at /home/ym-pc/tisdk/build/arago-tmp-external-arm-toolchain/work/am335x_evm-linux-gnueabi/tisdk-docker-rootfs-image/1.0-r0/temp/log.do_image_ubi.3624)
    

  • I have no idea what is going on here. I've setup a Ubuntu 16.04 virtual machine, the same as yours with 6G RAM and 18G SWAP and the build completed successfully with no issues.

    You can add IMAGE_FSTYPES_remove = "ubifs ubi" line to <tisdk>/build/conf/local.conf file to workaround this issue on your computer.

  • Hi Kemal

    I will try by adding " IMAGE_FSTYPES_remove = "ubifs ubi" line into <tisdk>/build/conf/local.conf  

    Thanks

    Best Regards,

    Jack