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.

[Linux] TI J7 demo



Hi Ti team,

    Our hw platform is J7, sw platform is Linux.

    1. TI provides the SDK to us. I try to build the filesystem. But I meet some ERRORs when building.

    The following is the my steps of building:

    # cd /home/bsp/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00

    # cd yocto-build

    # ./oe-layertool-setup.sh -f configs/psdkla/psdkla-06_00_00_00.txt

    # cd build

    # . conf/setenv

    # TOOLCHAIN_BASE=/home/bsp/working/20190822/J7 MACHINE=j7-evm bitbake -k tisdk-rootfs-image

    The following is ERROR:

This is the full print information;


bsp@bsp-HP-EliteBook-8560w:~/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build$ TOOLCHAIN_BASE=/home/bsp/working/20190822/J7 MACHINE=j7-evm bitbake -k 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.
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.
NOTE: Your conf/bblayers.conf has been automatically updated.
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 browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Your conf/bblayers.conf has been automatically updated.
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 browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Started PRServer with DBfile: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42081, PID: 7314
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 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:01
Loaded 4066 entries from dependency cache.
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           = "aarch64-linux"
MACHINE              = "j7-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2019.05"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-psdkla          = "HEAD:3a497ba07d5e0efa2d9b51d71ea72db1ddcaef82"
meta-arago-distro    
meta-arago-extras    = "HEAD:72292dbc24c49b209e3279a8fcf4c45162eef3d6"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-virtualization  = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
meta-ti              = "HEAD:cef713237252ef3c548e4374dc8e75b20cc4db18"
meta-linaro-toolchain 
meta-optee           = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
meta                 = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"

Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:07
Sstate summary: Wanted 215 Found 0 Missed 215 Current 2422 (0% match, 91% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: ti-img-rogue-umlibs-1.10.5187610-r9 do_install: oe_runmake failed
ERROR: ti-img-rogue-umlibs-1.10.5187610-r9 do_install: Function failed: do_install (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/temp/log.do_install.7384)
ERROR: Logfile of failure stored in: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/temp/log.do_install.7384
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-graphics/wayland/wayland_1.16.0.bb:do_populate_sysroot', 'virtual:native:/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-core/initscripts/initscripts_1.0.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-graphics/drm/libdrm_2.4.94.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-core/expat/expat_2.2.6.bb:do_populate_sysroot', '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['external-arm-toolchain', 'wayland', 'pseudo-native', 'initscripts', 'quilt-native', 'xz-native', 'libdrm', 'expat', 'update-rc.d', 'libxml2', 'libffi', 'opkg-utils', 'libpciaccess', 'libpthread-stubs', 'libtool-native', 'gettext-minimal-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'zlib', 'python3', 'util-macros', 'texinfo-dummy-native', 'm4-native', 'readline', 'openssl', 'gdbm', 'bzip2', 'xz', 'sqlite3', 'ncurses']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 6 install DESTDIR=/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image TARGET_PRODUCT=j721e_linux BUILD=release WINDOW_SYSTEM=wayland
| mkdir -p /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image/etc
| mkdir -p /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image/usr
| mkdir -p /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image/lib
| cp -ar ./targetfs/j721e_linux/wayland/release/etc/* /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image/etc
| cp -ar ./targetfs/j721e_linux/wayland/release/usr/* /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/image/usr
| cp: failed to restore the default file creation context: Invalid argument
| Makefile:14: recipe for target 'install' failed
| make: *** [install] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/temp/run.do_install.7384:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_install (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/ti-img-rogue-umlibs/1.10.5187610-r9/temp/log.do_install.7384)
ERROR: Task (/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-ti/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5187610.bb:do_install) failed with exit code '1'
ERROR: optee-client-3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0 do_compile: oe_runmake failed
ERROR: optee-client-3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0 do_compile: Function failed: do_compile (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/optee-client/3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0/temp/log.do_compile.7395)
ERROR: Logfile of failure stored in: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/optee-client/3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0/temp/log.do_compile.7395
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6
| Building libteec.so
| Building tee-supplicant
| make --directory=tee-supplicant  --no-print-directory --no-builtin-variables CFG_TEE_SUPP_LOG_LEVEL=1
| make[1]: Nothing to be done for 'all'.
| mkdir -p out/export/usr/sbin out/export/usr/lib out/export/usr/include
| cp -a out/libteec/libteec.so* out/export/usr/lib
| cp: failed to restore the default file creation context: Invalid argument
| Makefile:127: recipe for target 'copy_export' failed
| make: *** [copy_export] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/optee-client/3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0/temp/run.do_compile.7395:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/optee-client/3.5.0+gitAUTOINC+1f8f9abe4a-r0.arago0/temp/log.do_compile.7395)
ERROR: Task (/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-linaro/meta-optee/recipes-security/optee/optee-client.bb:do_compile) failed with exit code '1'
ERROR: qt3d-native-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_compile: oe_runmake failed
ERROR: qt3d-native-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_compile: Function failed: do_compile (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_compile.7407)
ERROR: Logfile of failure stored in: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_compile.7407
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 MAKEFLAGS=-j 6 OE_QMAKE_COMPILER=gcc  OE_QMAKE_CC=gcc  OE_QMAKE_CXX=g++  OE_QMAKE_CFLAGS=-isystem/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/include -O2 -pipe OE_QMAKE_CXXFLAGS=-isystem/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/include -O2 -pipe OE_QMAKE_LINK=g++  OE_QMAKE_LDFLAGS=-L/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/lib -L/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/lib -Wl,-O1 OE_QMAKE_AR=ar OE_QMAKE_STRIP=echo OE_QMAKE_INCDIR_QT=//home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/include
| cd tools/ && ( test -e Makefile || /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/git/tools/tools.pro CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib ) && make -f Makefile
| make[1]: Entering directory '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/build/tools'
| cd qgltf/ && ( test -e Makefile || /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/git/tools/qgltf/qgltf.pro CONFIG+=tools-only QMAKE_USE_PRIVATE+=zlib ) && make -f Makefile
| make[2]: Entering directory '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/build/tools/qgltf'
| linking ../../bin/qgltf
| .obj/IFCLoader.o: In function `Assimp::IFCImporter::InternReadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':
| IFCLoader.cpp:(.text+0x91e6): undefined reference to `Assimp::IFC::GetSchema(Assimp::STEP::EXPRESS::ConversionSchema&)'
| collect2: error: ld returned 1 exit status
| Makefile:1002: recipe for target '../../bin/qgltf' failed
| make[2]: *** [../../bin/qgltf] Error 1
| make[2]: Leaving directory '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/build/tools/qgltf'
| ERROR: oe_runmake failed
| Makefile:44: recipe for target 'sub-qgltf-make_first' failed
| make[1]: *** [sub-qgltf-make_first] Error 2
| make[1]: Leaving directory '/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/build/tools'
| Makefile:44: recipe for target 'sub-tools-make_first' failed
| make: *** [sub-tools-make_first] Error 2
| WARNING: /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/run.do_compile.7407:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/qt3d-native/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_compile.7407)
ERROR: Task (virtual:native:/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_compile) failed with exit code '1'
WARNING: php-7.2.10-r0.arago1 do_package: QA Issue: php: Files/directories were installed but not shipped in any package:
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/php-fpm.service
  /etc/php-fpm.conf
  /etc/apache2
  /etc/init.d
  /etc/apache2/conf.d
  /etc/apache2/conf.d/php-fpm.conf
  /etc/init.d/php-fpm
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
php: 10 installed and not shipped files. [installed-vs-shipped]
NOTE: Tasks Summary: Attempted 7030 tasks of which 7019 didn't need to be rerun and 3 failed.
NOTE: Writing buildhistory

Summary: 3 tasks failed:
  /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-ti/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5187610.bb:do_install
  /home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-linaro/meta-optee/recipes-security/optee/optee-client.bb:do_compile
  virtual:native:/home/bsp/working/20190822/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_compile
Summary: There were 10 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.

Thanks

Br,

Yanhong CHEN

  • Hi Yanhong,

    which is the OS on the PC you use for building?

    Also can you confirm you followed the instructions in chapter "1.3.2.1. Prerequisites (One-time setup)" in ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/docs/linux/Overview_Building_the_SDK.html

    Regards,

    Yordan

  • Hi, Yordan

    I'm using UBUNTU 16.04 to build.

    Because I can not use the extern network, the TI engineer told me that I can copy the content of <downloads>. Then I can build the SDK.

    # cd <my_SDK>/yocto-build

    # ./oe-layertool-setup.sh -f configs/processor-sdk/psdkla-<version>.txt

    # cd build

    # cp <TI_full_SDK>/yocto-build/downloads <my_SDK>/yocto-build/ -r

    # . conf/setenv

    # TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake -k tisdk-rootfs-image

    Bset regards,

    Yanhong Chen

  • Hi,

    Unfortunately, I'm not able to recreate the error or have further clues about your error scenario. Could you please provide me with the following information?

    1. Have you installed all the pre-requisite tools that are mentioned in the documents?

    2. Have you tried to clean build the components that are failing?

    3. Is there anyone in your team who has attempted this and able to build the Yocto completely? Wondering if its a machine specific issue.

    4. How did you get the downloads folder that you are copying into the yocto-build folder?

    Regards

    Karthik

  • Hi,

    1. I had followed the steps of pre-requisite in document

    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
    sudo dpkg-reconfigure dash

    Get the toolchain compilers

    2. I have not try to clean, can you provide the command? Thanks.

    3. No, it's only me. Everyone else doesn't build the yocto. I will use another machine to detect whether my machine is unable.

    4. TI sent an engineer to guide us. He gave us a full SDK which is built completely by TI. He told me that if our network is unable, I can copy the downloads to my SDK path.

    sudo cp TI_SDK_path/yocto-build/downloads MY_SDK_path/yocto-build/ -r

    Firstly building, the machine displayed error about downloads catalog immediately. So I gave the rwx permission to the downloads. It can go on building. But after about 8 hours building, it showed the errors just like I said above.

    Best regards,

    Yanhong

  • Hi Yanhong,

    You could try the following:

    TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake -c cleanall qt3d

    TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake qt3d

    And repeat the same for the other failing components?

    Regards

    Karthik

  • Hi Karthik,

    Thank you for your reply, it helps me a lot.

    I rebuild the filesystem and some errors have been removed.

    But I follow the steps you provide, I still find some failure.

    These is the print information and log :

    bsp@bsp-HP-EliteBook-8560w:~/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build$ TOOLCHAIN_BASE=/home/bsp/working/20190822/J7 MACHINE=j7-evm bitbake -c cleanall qt3d
    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 browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    NOTE: Started PRServer with DBfile: /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 39313, PID: 17054
    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 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:01
    Loaded 4066 entries from dependency cache.
    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           = "aarch64-linux"
    MACHINE              = "j7-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2019.05"
    TUNE_FEATURES        = "aarch64"
    TARGET_FPU           = ""
    meta-psdkla          = "HEAD:3a497ba07d5e0efa2d9b51d71ea72db1ddcaef82"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:72292dbc24c49b209e3279a8fcf4c45162eef3d6"
    meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
    meta-virtualization  = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
    meta-ti              = "HEAD:cef713237252ef3c548e4374dc8e75b20cc4db18"
    meta-linaro-toolchain 
    meta-optee           = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
    meta                 = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"
    
    Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:00
    NOTE: Executing RunQueue Tasks
    NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and all succeeded.
    NOTE: Writing buildhistory
    
    Summary: There were 5 WARNING messages shown.
    bsp@bsp-HP-EliteBook-8560w:~/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build$ 
    
    
    
    bsp@bsp-HP-EliteBook-8560w:~/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build$ TOOLCHAIN_BASE=/home/bsp/working/20190822/J7 MACHINE=j7-evm bitbake qt3d
    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 browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    NOTE: Started PRServer with DBfile: /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34345, PID: 17236
    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 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:01
    Loaded 4066 entries from dependency cache.
    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           = "aarch64-linux"
    MACHINE              = "j7-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2019.05"
    TUNE_FEATURES        = "aarch64"
    TARGET_FPU           = ""
    meta-psdkla          = "HEAD:3a497ba07d5e0efa2d9b51d71ea72db1ddcaef82"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:72292dbc24c49b209e3279a8fcf4c45162eef3d6"
    meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
    meta-virtualization  = "HEAD:bbc38dc9d6d02e73c08df289bb22a292c2264e9b"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     = "HEAD:9b3b907f30b0d5b92d58c7e68289184fda733d3e"
    meta-ti              = "HEAD:cef713237252ef3c548e4374dc8e75b20cc4db18"
    meta-linaro-toolchain 
    meta-optee           = "HEAD:b30036d4ef7ce9fe746833fc54de6ac7b0e00638"
    meta                 = "HEAD:f162d5bfe6eaeca24f441c83c87252c8d05744fc"
    
    Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:01
    Sstate summary: Wanted 14 Found 0 Missed 14 Current 345 (0% match, 96% complete)
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qt3d.git;name=qt3d;branch=5.11;protocol=git, attempting MIRRORS if available
    ERROR: qtxmlpatterns-5.11.3+gitAUTOINC+657995db76-r0 do_compile: oe_runmake failed
    ERROR: qtxmlpatterns-5.11.3+gitAUTOINC+657995db76-r0 do_compile: Function failed: do_compile (log file is located at /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/temp/log.do_compile.17289)
    ERROR: Logfile of failure stored in: /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/temp/log.do_compile.17289
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 6 MAKEFLAGS=-j 6 OE_QMAKE_COMPILER=aarch64-linux-gnu-gcc  --sysroot=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot OE_QMAKE_CC=aarch64-linux-gnu-gcc  --sysroot=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot OE_QMAKE_CXX=aarch64-linux-gnu-g++  --sysroot=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot OE_QMAKE_CFLAGS= -isystem/home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/include  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0=/usr/src/debug/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0 -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot= -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot-native=  OE_QMAKE_CXXFLAGS= -isystem/home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/include  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0=/usr/src/debug/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0 -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot= -fdebug-prefix-map=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot-native=  OE_QMAKE_LINK=aarch64-linux-gnu-g++  --sysroot=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot OE_QMAKE_LDFLAGS= -L/home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/lib -Wl,-rpath-link,/home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed OE_QMAKE_AR=aarch64-linux-gnu-ar OE_QMAKE_STRIP=echo OE_QMAKE_INCDIR_QT=/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot//usr/include
    | cd src/ && ( test -e Makefile || /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/git/src/src.pro ) && make -f Makefile
    | make[1]: Entering directory '/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/build/src'
    | cd xmlpatterns/ && ( test -e Makefile || /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/git/src/xmlpatterns/xmlpatterns.pro ) && make -f Makefile
    | make[2]: Entering directory '/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/build/src/xmlpatterns'
    | rm -f libQt5XmlPatterns.so.5.11.3 libQt5XmlPatterns.so libQt5XmlPatterns.so.5 libQt5XmlPatterns.so.5.11
    | linking ../../lib/libQt5XmlPatterns.so.5.11.3
    | /home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: .obj/qassemblestringfns.o: file not recognized: file truncated
    | collect2: error: ld returned 1 exit status
    | Makefile:1417: recipe for target '../../lib/libQt5XmlPatterns.so.5.11.3' failed
    | make[2]: *** [../../lib/libQt5XmlPatterns.so.5.11.3] Error 1
    | make[2]: Leaving directory '/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/build/src/xmlpatterns'
    | Makefile:44: recipe for target 'sub-xmlpatterns-make_first' failed
    | make[1]: *** [sub-xmlpatterns-make_first] Error 2
    | make[1]: Leaving directory '/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/build/src'
    | Makefile:47: recipe for target 'sub-src-make_first' failed
    | make: *** [sub-src-make_first] Error 2
    | ERROR: oe_runmake failed
    | WARNING: /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/temp/run.do_compile.17289:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_compile (log file is located at /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtxmlpatterns/5.11.3+gitAUTOINC+657995db76-r0/temp/log.do_compile.17289)
    ERROR: Task (/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_compile) failed with exit code '1'
    ERROR: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-HP8pCnZbS6"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/bin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/oe-core/scripts:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/bin/aarch64-linux:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot/usr/bin/crossscripts:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/sbin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/usr/bin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/sbin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/recipe-sysroot-native/bin:/home/bsp/working/20190822/J7/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/bitbake/bin:/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/hosttools"; export HOME="/home/bsp"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qt3d.git /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/downloads/git2/code.qt.io.qt.qt3d.git --progress failed with exit code 128, output:
    Cloning into bare repository '/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/downloads/git2/code.qt.io.qt.qt3d.git'...
    fatal: unable to connect to code.qt.io:
    code.qt.io[0: 34.242.127.58]: errno=Connection refused
    
    
    ERROR: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qt3d.git;name=qt3d;branch=5.11;protocol=git'. Unable to fetch URL from any source.
    ERROR: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_fetch: Function failed: base_do_fetch
    ERROR: Logfile of failure stored in: /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_fetch.17288
    ERROR: Task (/home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1556 tasks of which 1554 didn't need to be rerun and 2 failed.
    NOTE: Writing buildhistory
    
    Summary: 2 tasks failed:
      /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_compile
      /home/bsp/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/sources/meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_fetch
    Summary: There were 6 WARNING messages shown.
    Summary: There were 5 ERROR messages shown, returning a non-zero exit code.
    bsp@bsp-HP-EliteBook-8560w:~/working/20190912/ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/yocto-build/build$ 
    
    
     

    0268.log.do_fetch.txt

    Please check for this problem. I'm waiting for your good news.

    Thanks

    Best regards,

    Yanhong

  • HI Yanhong,

    I tried the clone command that is failing for you, but it works on my side.

    LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qt3d.git code.qt.io.qt.qt3d.git --progress Cloning into bare repository 'code.qt.io.qt.qt3d.git'...
    remote: Counting objects: 108994, done.
    remote: Compressing objects: 100% (390/390), done.
    Receiving objects: 21% (22903/108994), 30.17 MiB | 478.00 KiB/s

    So, I'm suspecting that this is related to your interconnection problem. 

    Would you be able to copy only the qt3d repo from the downloads folder provided by the TI engineer earlier and see if that resolves your problem.

    I normally don't do such operations at my end and therefore these problems are not very common for me. Lets these experiments to see if we can get your further.

    Regards

    Karthik

  • Hi Karthik,

    I think the network is one of problems, so I set my proxy and retry.

    The do_fetch tast is seccessful, but do_compile and do_install are failed again.

    This is the log:0841.log_compile_install.txt

    Please check for this problem. I'm waiting for your good news.

    Thanks

    Best regards,

    Yanhong

  • Hi Karthik,

    I copy the qt3d folder to my SDK but it doesn't work.

    The log of last reply should provide you more detail about failure.

    Can you find some useful information?

    Thanks

    Best regards,

    Yanhong

  • Hi Yanhong,

    We tried real hard to reproduce the issue and we were successful. It seems to be some random build issue.

    However, when this problem occured, the following helped resolve problem, I would request you to try again.

    TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake -c cleanall qt3d

    TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake qt3d

    Regards

    Karthik