Part Number:AM4376
Tool/software: Linux
As we learn that AM4376 doesn't support SGX, we try to rebuild sdk rootfs without SGX. Unfortunately rebuilding is failed. Please refer to the "Rebuilding logs" for details.
Note that we have successfully built the sdk rootfs with default configurations before, then added below two lines in the configuration file and rebuild it. The SDK we're using is "ti-processor-sdk-linux-am437x-evm-05.00.00.15". Maybe cleanning the build is required before rebuilding, but we don't find any instructions on how to clean the build.
MACHINE_FEATURES_remove=”sgx”
PACKAGECONFIG_remove="wayland-egl"
Rebuilding logs:
sitara@OptiPlex-7040:~/tisdk/build$ MACHINE=am437x-evm bitbake tisdk-rootfs-image
Loading cache: 100% |##########################################################################################################| Time: 0:00:00
Loaded 4043 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 0:00:07
Parsing of 3137 .bb files complete (3134 cached, 3 parsed). 4046 targets, 487 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/sitara/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
/home/sitara/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
/home/sitara/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_1.11.0.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.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-14.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am437x-evm"
DISTRO = "arago"
DISTRO_VERSION = "2018.04"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:264dc66c689e0e4212c43358382986ee470619d4"
meta-ros = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro
meta-arago-extras = "HEAD:d54e9d6c1d461dbf3189e691088d328bf4c4fb19"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5 = "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-networking
meta-python
meta-oe
meta-gnome
meta-multimedia = "HEAD:352531015014d1957d6444d114f4451e241c4d23"
meta-ti = "HEAD:8555084679dc5c668e5fb60a16425ca32b10ff21"
meta-linaro-toolchain
meta-optee = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta = "HEAD:931a52e8698f684ccbb26ddec18764ad9d9a3e8f"
WARNING: /home/sitara/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb.do_compile is tainted from a forced run
Initialising tasks: 100% |#####################################################################################################| Time: 0:00:27
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
No currently running tasks (3463 of 14127) 24% |###################### |
$<50>No currently running tasks (3702 of 14127) 26% |######################## |
$<50>Currently 1 running tasks (3702 of 14127) 26% |######################## |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
$<50>Currently 2 running tasks (3702 of 14127) 26% |######################## |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
1: opencv-3.1+gitAUTOINC+9b88e8c746-r3 do_packagedata - 0s (pid 15447)
$<50>Currently 1 running tasks (3702 of 14127) 26% |######################## |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
$<50>Currently 1 running tasks (4342 of 14127) 30% |############################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
$<50>Currently 2 running tasks (4342 of 14127) 30% |############################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15476)
$<50>Currently 2 running tasks (4920 of 14127) 34% |################################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 0s (pid 15476)
$<50>Currently 3 running tasks (4920 of 14127) 34% |################################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 1s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 1s (pid 15476)
2: qtwebkit-5.9.6+gitAUTOINC+bd0657f98a-r0.arago4 do_install - 0s (pid 15489)
$<50>ERROR: qtwebkit-5.9.6+gitAUTOINC+bd0657f98a-r0.arago4 do_install: Function failed: do_install (log file is located at /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/temp/log.do_install.15489)
Currently 3 running tasks (4920 of 14127) 34% |################################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 2s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 1s (pid 15476)
2: qtwebkit-5.9.6+gitAUTOINC+bd0657f98a-r0.arago4 do_install - 0s (pid 15489)
$<50>ERROR: Logfile of failure stored in: /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/temp/log.do_install.15489
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/sitara/tisdk/sources/oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.12.4.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebchannel_git.bb:do_populate_sysroot', 'virtual:native:/home/sitara/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-core/glib-2.0/glib-2.0_2.52.3.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtsensors_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-support/sqlite/sqlite3_3.20.0.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-support/libxslt/libxslt_1.1.29.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-support/icu/icu_59.1.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.2.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/oe-core/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.2.bb:do_populate_sysroot', 'virtual:native:/home/sitara/tisdk/sources/oe-core/meta/recipes-extended/gperf/gperf_3.1.bb:do_populate_sysroot', 'virtual:native:/home/sitara/tisdk/sources/oe-core/meta/recipes-devtools/ruby/ruby_2.4.4.bb:do_populate_sysroot', '/home/sitara/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['fontconfig', 'qtwebchannel', 'pseudo-native', 'qtdeclarative', 'qtlocation', 'glib-2.0', 'qtmultimedia', 'qtsensors', 'quilt-native', 'sqlite3', 'libxslt', 'qtbase-native', 'qtbase', 'icu', 'gstreamer1.0-plugins-base', 'gstreamer1.0', 'gperf-native', 'ruby-native', 'external-linaro-toolchain', 'expat', 'freetype', 'zlib', 'qtwebsockets', 'qtxmlpatterns', 'qtquickcontrols', 'libpcre', 'libffi', 'bash-completion', 'util-linux', 'gstreamer1.0-plugins-bad', 'alsa-lib', 'pulseaudio', 'libxml2', 'xz-native', 'zlib-native', 'dbus-native', 'systemd', 'dbus', 'openssl', 'libxkbcommon', 'ti-sgx-ddk-um', 'libpng', 'libjpeg-turbo', 'libdrm', 'libtheora', 'libvorbis', 'orc', 'libogg', 'pango', 'iso-codes', 'gobject-introspection', 'libcap', 'gnu-config-native', 'automake-native', 'libtool-native', 'autoconf-native', 'openssl-native', 'libyaml-native', 'pigz-native', 'bzip2', 'opkg-utils', 'ncurses', 'libpam', 'wayland', 'faad2', 'wayland-protocols', 'libatomic-ops', 'libsndfile1', 'shadow-sysroot', 'speexdsp', 'libtool', 'bluez5', 'ofono', 'sbc', 'shadow-native', 'base-passwd', 'base-files', 'gconf', 'avahi', 'shadow', 'python3', 'gettext-minimal-native', 'expat-native', 'pkgconfig-native', 'initscripts', 'libcgroup', 'acl', 'kmod', 'readline', 'update-rc.d', 'xz', 'cryptodev-linux', 'util-macros', 'libgbm', 'libpciaccess', 'libpthread-stubs', 'cairo', 'harfbuzz', 'texinfo-dummy-native', 'm4-native', 'cryptodev-linux-native', 'makedepend-native', 'flex', 'cracklib', 'flac', 'libcheck', 'libical', 'dbus-glib', 'mobile-broadband-provider-info', 'libdaemon', 'attr', 'db', 'gdbm', 'pixman', 'util-macros-native', 'xproto-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 3 MAKEFLAGS=-j 3 OE_QMAKE_COMPILER=arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot OE_QMAKE_CC=arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot OE_QMAKE_CXX=arm-linux-gnueabihf-g++ -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot OE_QMAKE_CFLAGS= -isystem/home/sitara/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4=/usr/src/debug/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4 -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot-native= -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot= OE_QMAKE_CXXFLAGS= -isystem/home/sitara/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4=/usr/src/debug/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4 -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot-native= -fdebug-prefix-map=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot= OE_QMAKE_LINK=arm-linux-gnueabihf-g++ -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot OE_QMAKE_LDFLAGS= -L/home/sitara/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-rpath-link,/home/sitara/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu OE_QMAKE_AR=arm-linux-gnueabihf-ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot-native/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/recipe-sysroot//usr/include/qt5 install INSTALL_ROOT=/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/image
| make: Nothing to be done for `install'.
| sed: can't read /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/image/usr/lib/pkgconfig/Qt5WebKit.pc: No such file or directory
| WARNING: /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/temp/run.do_install.15489:1 exit 2 from 'sed -i 's@-Wl,-no-whole-archive -L/home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/build[^ ]* @ @g' /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/image/usr/lib/pkgconfig/Qt5WebKit.pc'
| ERROR: Function failed: do_install (log file is located at /home/sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtwebkit/5.9.6+gitAUTOINC+bd0657f98a-r0.arago4/temp/log.do_install.15489)
Currently 2 running tasks (4920 of 14127) 34% |################################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 2s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 1s (pid 15476)
$<50>ERROR: Task (/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_install) failed with exit code '1'
Currently 2 running tasks (4920 of 14127) 34% |################################ |
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 2s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 1s (pid 15476)
$<50>Waiting for 2 running tasks to finish:
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 4s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 4s (pid 15476)
$<50>Waiting for 2 running tasks to finish:
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 9s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 9s (pid 15476)
$<50>Waiting for 2 running tasks to finish:
0: cv-bridge-1.11.16-r0 do_prepare_recipe_sysroot - 14s (pid 15446)
1: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 14s (pid 15476)
$<50>Waiting for 1 running tasks to finish:
0: image-geometry-1.11.16-r0 do_prepare_recipe_sysroot - 15s (pid 15476)
$<50>Waiting for 0 running tasks to finish:
$<50>NOTE: Tasks Summary: Attempted 4921 tasks of which 4917 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
$<50>
Summary: 1 task failed:
/home/sitara/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_install
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Thanks,
Tony