Hi,
Im trying to set dev environment of GLSDK ver 6.4.0.2 according to http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_04_00_02/exports/OMAP5_GLSDK_Software_Developers_Guide.html
up to the building of the Yocto, everything works fine.
when issuing ./build-core-sdk.sh omap5-evm command, im getting the following warning and then error which stops the build (refer to BLOCK 1)
later, found on the internet to set $ARCH to arm, when doing it, im getting other error (refer to BLOCK 2)
i saw at the end the 32 /64 issue but im working on 64 bit ubuntu and according to the software developer guide i dont need to change anything.
Will appreciate any advise
BLOCK 1
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/downloads ]
[GLSDK]> MACHINE=omap5-evm bitbake arago-glsdk-multimedia-image
Pseudo is not present but is required, building this first before the main build
WARNING: Unable to get checksum for ti-compat-wireless-wl18xx SRC_URI entry 0001-wl12xx-additional-two-members-for-wl12xx_platform_da.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Add-linux-oe-g-platform.patch: file could not be found 00:03:05
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0003-Add-external-hostbindir-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0004-qt_functions-temporary-remove-isEmpty-check.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0006-Allow-building-a-separate-qmake-for-the-target.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0008-qt_module-Fix-pkgconfig-replacement.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0009-qt_module-Fix-paths-in-.prl-files.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0013-Disable-mkv8snapshot.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0014-enables-tslib-device-to-be-read-from-env-variable.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0015-qtbase-allow-build-of-examples.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0021-configure-make-pulseaudio-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0022-configure-make-alsa-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0023-configure-make-freetype-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Always-build-uic.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-preserve-built-qmake-and-swap-with-native-.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-bump-path-length-from-256-to-512-character.patch: file could not be found
NOTE: Error during finalise of /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt.bb | ETA: 00:01:28
ERROR: ExpansionError during parsing /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt.bb: Failure expanding variable toolchain_create_sdk_version: ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception OSError: [Errno 12] Cannot allocate memory
NOTE: Error during finalise of /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-rt/images/core-image-rt-sdk.bb
ERROR: Command execution failed: Exited with 1
Summary: There were 21 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Sun Nov 23 11:51:08 PST 2014
[GLSDK]>
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$
BLOCK 2
[GLSDK]> cp conf/local.conf conf/local.conf.pristine
[GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/downloads ]
[GLSDK]> MACHINE=omap5-evm bitbake arago-glsdk-multimedia-image
Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |########################################################################################################################################################################| ETA: 00:00:00
Loaded 1195 entries from dependency cache.
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Add-linux-oe-g-platform.patch: file could not be found | ETA: 00:01:16
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0003-Add-external-hostbindir-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0004-qt_functions-temporary-remove-isEmpty-check.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0006-Allow-building-a-separate-qmake-for-the-target.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0008-qt_module-Fix-pkgconfig-replacement.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0009-qt_module-Fix-paths-in-.prl-files.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0013-Disable-mkv8snapshot.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0014-enables-tslib-device-to-be-read-from-env-variable.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0015-qtbase-allow-build-of-examples.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0021-configure-make-pulseaudio-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0022-configure-make-alsa-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0023-configure-make-freetype-a-configurable-option.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Always-build-uic.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-preserve-built-qmake-and-swap-with-native-.patch: file could not be found
WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-bump-path-length-from-256-to-512-character.patch: file could not be found
Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:01:49
Parsing of 1638 .bb files complete (901 cached, 737 parsed). 2023 targets, 103 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/meta-qt5/recipes-devtools/cmake/cmake_2.8.12.1.bbappend
/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-connectivity/inetutils/inetutils_1.8.bbappend
Build Configuration:
BB_VERSION = "1.18.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "omap5-evm"
DISTRO = "arago"
DISTRO_VERSION = "2013.10"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "(nobranch):283813dffe8633af04c87faedb4c601518fa3a9c"
meta-qt5 = "(nobranch):775d77e482f1ea203c78003cccd2547075fd720f"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "(nobranch):44754206632dd5b0725aeb43e99e4ff9e0245dca"
meta-ti = "(nobranch):2a3aa0fedbcf5419af60cb97f01d15c1acdedd03"
meta-linaro-toolchain = "(nobranch):c9f78d6eff14ada3f2bc960e81883b27a10afecc"
meta = "(nobranch):394fa61d00b97c19610bfb38f02174c4e8aeeb15"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447 for further information)
ERROR: Logfile of failure stored in: /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447
Log data follows:
| DEBUG: Executing shell function do_compile
| WARNING: Can't find stubs-32.h, but usually need it to build 32-bit libpseudo.
| If the build fails, install 32-bit developer packages.
| If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional.
| make: *** No rule to make target `distclean'. Stop.
| WARNING: Guessing architecture CFLAGS '-m32'.
| If you need specific flags, use --cflags.
| SQLite header for version 3007015 found in /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr.
| Enabling in-memory database by default.
| NOTE: make -j 1 -e MAKEFLAGS= libpseudo
| mkdir -p lib/pseudo/lib
| ./makewrappers
| Checking for old/new clone mechanics...New clone.
| common
| ports/common/wrapfuncs.in: .......
| linux
| ports/linux/wrapfuncs.in: ................................................................
| unix
| ports/unix/wrapfuncs.in: ................................................................
| uids_generic
| ports/uids_generic/wrapfuncs.in: ........................
| linux/newclone
| ports/linux/newclone/wrapfuncs.in: .
| Writing functions... Warning: lchown from linux overriding unix
| done. Cleaning up.
| ./maketables enums/*.in
| enums/msg_type.in: type: msg_type_t (prefix 'PSEUDO_MSG_ENUM')
| ping shutdown op ack
| nak fastop
|
| enums/op.in: type: op_t (prefix 'OP_ENUM')
| extra column: int wait (default 0)
| chdir chmod chown chroot
| close creat dup fchmod
| fchown fstat link mkdir
| mknod open rename stat
| unlink symlink exec may-unlink
| did-unlink cancel-unlink
|
| enums/query_field.in: type: query_field_t (prefix 'PSQF_ENUM')
| access client dev fd
| ftype gid id inode
| mode op order path
| perm program result severity
| stamp tag text type
| uid
|
| enums/query_type.in: type: query_type_t (prefix 'PSQT_ENUM')
| extra column: const char * sql (default "LITTLE BOBBY TABLES")
| exact less greater bitand
| notequal like notlike sqlpat
|
| enums/res.in: type: res_t (prefix 'RESULT_ENUM')
| succeed fail error
|
| enums/sev.in: type: sev_t (prefix 'SEVERITY_ENUM')
| debug info warn error
| critical
|
| Writing datatypes... done. Cleaning up.
| gcc -fno-strict-aliasing -isystem/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include -O2 -pipe -pipe -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m32 -DPSEUDO_PREFIX='"/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' -DPSEUDO_LIBDIR='"lib/pseudo/lib"' -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.5.1"' -DUSE_MEMORY_DB -DPSEUDO_FORCE_ASYNC -O2 -g -L/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -I/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -c -o pseudo_wrappers.o pseudo_wrappers.c
| In file included from /usr/include/assert.h:37:0,
| from pseudo_wrappers.c:20:
| /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
| compilation terminated.
| make: *** [pseudo_wrappers.o] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/pseudo-native/1.5.1-r3/temp/log.do_compile.53447 for further information)
ERROR: Task 7 (virtual:native:/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 70 tasks of which 0 didn't need to be rerun and 1 failed.
No currently running tasks (70 of 72)
Summary: 1 task failed:
virtual:native:/home/dev/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_compile
Summary: There were 21 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Sun Nov 23 12:00:57 PST 2014
[GLSDK]>
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$ echo $ARCH
arm
dev@ubuntu:~/ti-glsdk_omap5-uevm_6_04_00_02/yocto-layers$