All of lore.kernel.org
 help / color / mirror / Atom feed
* Build errors for ti sdk image build
@ 2018-01-30  5:46 Brahmmi Boss
  2018-01-30  6:14 ` Reyna, David
  0 siblings, 1 reply; 3+ messages in thread
From: Brahmmi Boss @ 2018-01-30  5:46 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Hi,

I am trying to build  arago ti sdk with yocto toaster  in in build mode
locally on ubuntu pc.but i got the following errors,
please help to resolve the errors.

Task do_create_srcipk from
/home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb
seems to be empty?!


ExpansionError during parsing
/home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb

Thanks and Regards
     veera

[-- Attachment #2: Type: text/html, Size: 2101 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build errors for ti sdk image build
  2018-01-30  5:46 Build errors for ti sdk image build Brahmmi Boss
@ 2018-01-30  6:14 ` Reyna, David
  2018-01-30  6:37   ` Brahmmi Boss
  0 siblings, 1 reply; 3+ messages in thread
From: Reyna, David @ 2018-01-30  6:14 UTC (permalink / raw)
  To: Brahmmi Boss, toaster

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

Hi Veera,

These appear to be bitbake errors. The layers just happen to be in the “_toaster_clones” directory.

It appears that you are using the Morty branch. I assume that this is the layer version that you want.

If it were me, I would look at the file “/home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb<http://opencl-examples-rtos_git.bb>” and see if the “do_create_srcipk” is in fact empty, as per the message.

- David

From: toaster-bounces@yoctoproject.org [mailto:toaster-bounces@yoctoproject.org] On Behalf Of Brahmmi Boss
Sent: Monday, January 29, 2018 9:47 PM
To: toaster@yoctoproject.org
Subject: [Toaster] Build errors for ti sdk image build

Hi,
I am trying to build  arago ti sdk with yocto toaster  in in build mode locally on ubuntu pc.but i got the following errors,
please help to resolve the errors.



Task do_create_srcipk from /home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb<http://opencl-examples-rtos_git.bb> seems to be empty?!



ExpansionError during parsing /home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb<http://external-linaro-sdk-toolchain.bb>
Thanks and Regards
     veera

[-- Attachment #2: Type: text/html, Size: 5997 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build errors for ti sdk image build
  2018-01-30  6:14 ` Reyna, David
@ 2018-01-30  6:37   ` Brahmmi Boss
  0 siblings, 0 replies; 3+ messages in thread
From: Brahmmi Boss @ 2018-01-30  6:37 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster


[-- Attachment #1.1: Type: text/plain, Size: 1748 bytes --]

Hi David,

Yes all said is correct.

I attached the two two files involved in errors.

please suggest me solution if any .

Thanks and Regards
    veera


On Tue, Jan 30, 2018 at 11:44 AM, Reyna, David <david.reyna@windriver.com>
wrote:

> Hi Veera,
>
>
>
> These appear to be bitbake errors. The layers just happen to be in the
> “_toaster_clones” directory.
>
>
>
> It appears that you are using the Morty branch. I assume that this is the
> layer version that you want.
>
>
>
> If it were me, I would look at the file “/home/veera/toaster/poky/_
> toaster_clones/_git___arago-project.org_git_meta-arago.
> git_morty/meta-arago-extras/recipes-ti/ocl-rtos/opencl-
> examples-rtos_git.bb” and see if the “do_create_srcipk” is in fact empty,
> as per the message.
>
>
>
> - David
>
>
>
> *From:* toaster-bounces@yoctoproject.org [mailto:toaster-bounces@
> yoctoproject.org] *On Behalf Of *Brahmmi Boss
> *Sent:* Monday, January 29, 2018 9:47 PM
> *To:* toaster@yoctoproject.org
> *Subject:* [Toaster] Build errors for ti sdk image build
>
>
>
> Hi,
>
> I am trying to build  arago ti sdk with yocto toaster  in in build mode
> locally on ubuntu pc.but i got the following errors,
>
> please help to resolve the errors.
>
>
>
> Task do_create_srcipk from /home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb seems to be empty?!
>
>
>
> ExpansionError during parsing /home/veera/toaster/poky/_toaster_clones/_git___arago-project.org_git_meta-arago.git_morty/meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb
>
> Thanks and Regards
>
>      veera
>

[-- Attachment #1.2: Type: text/html, Size: 5164 bytes --]

[-- Attachment #2: opencl-examples-rtos_git.bb --]
[-- Type: application/octet-stream, Size: 2345 bytes --]

SUMMARY = "TI OpenCL example applications"
HOMEPAGE = "http://software-dl.ti.com/mctools/docs/opencl/intro.html"
LICENSE = "BSD"

require recipes-ti/ocl/ocl.inc
require recipes-ti/includes/arago-paths.inc

PR = "${INC_PR}.1"

COMPATIBLE_MACHINE = "omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"

DEPENDS = "opencl-rtos ti-cgt6x-native clocl-rtos-native opencl-monitor-rtos \
           clocl-win \
"

S = "${WORKDIR}/git/opencl_example_src"
B = "${S}"

OCL_EXAMPLE_LIST = " abort_exit \
                     buffer \
                     ccode \
                     dsplib_fft \
                     float_compute \
                     null \
                     offline_embed \
                     platforms \
                     simple \
                     timeout \
                     vecadd \
                     matmpy \
                     ooo_callback \
                     sgemm \
                     edmamgr \
                     vecadd_openmp \
                     vecadd_openmp_t \
"

RELEASE_TARGET = ""
RELEASE_TARGET_omap-a15 = "am57xx"

export BIOS_INSTALL_DIR = "${SYSBIOS_INSTALL_DIR}"
export DESTDIR="${OCL_RTOS_INSTALL_DIR}/ti-opencl-rtos-${RELEASE_TARGET}-${PV}"
export TI_OCL_INSTALL = "${DESTDIR}/packages/ti/opencl"

python do_unpack_append() {
    import shutil

    git_dir = d.expand("${WORKDIR}/git/examples")
    s = d.getVar("S", True)

    os.makedirs(s)
    shutil.copy(os.path.join(git_dir,"Makefile"),s)
    shutil.copy(os.path.join(git_dir,"make_rtos.inc"),s)
    shutil.copy(os.path.join(git_dir,"rtos_main.c"),s)
    shutil.copy(os.path.join(git_dir,"load_am57_rtos.js"),s)
    for example in d.getVar("OCL_EXAMPLE_LIST", True).split():
        shutil.copytree(os.path.join(git_dir,example), os.path.join(s,example))
}

EXTRA_OEMAKE = "BUILD_OS=SYS_BIOS \
                TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \
"

do_compile() {
    unset LDFLAGS
    unset TARGET_LDFLAGS

    oe_runmake
}

do_install() {
    install -d ${DESTDIR}/examples

    install ${B}/Makefile ${DESTDIR}/examples
    install ${B}/make_rtos.inc ${DESTDIR}/examples
    install ${B}/rtos_main.c ${DESTDIR}/examples

    for ocl_example in ${OCL_EXAMPLE_LIST}; do
        install -d ${DESTDIR}/examples/${ocl_example}
        cp -rv ${B}/${ocl_example}/* ${DESTDIR}/examples/${ocl_example}
    done
}

[-- Attachment #3: external-linaro-sdk-toolchain.bb --]
[-- Type: application/octet-stream, Size: 5906 bytes --]

inherit cross-canadian

require external-linaro-bfd-version.inc

PR = "r8"

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_SHLIBS = "1"

# License applies to this recipe code, not the toolchain itself
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
	file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
	file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
"

INSANE_SKIP_gcc-cross-canadian-arm = "dev-so staticdev"
INSANE_SKIP_gdb-cross-canadian-arm = "dev-so"
INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"

PROVIDES = "\
	gcc-cross-canadian-arm \
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'gdb-cross-canadian-arm', '', d)} \
	binutils-cross-canadian-arm \
"

PACKAGES = "\
	gcc-cross-canadian-arm \
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'gdb-cross-canadian-arm', '', d)} \
	binutils-cross-canadian-arm \
"

# Don't need the extra target triplet in the new SDK dir structure
bindir = "${exec_prefix}/bin"
libdir = "${exec_prefix}/lib"
libexecdir = "${exec_prefix}/libexec"
datadir = "${exec_prefix}/share"
gcclibdir = "${libdir}/gcc"

# New Linaro toolchain misses these binaries, comment out for now
#	${prefix}/${ELT_TARGET_SYS}/bin/cpp
#	${prefix}/${ELT_TARGET_SYS}/bin/cc
#	${prefix}/${ELT_TARGET_SYS}/bin/g++
#	${prefix}/${ELT_TARGET_SYS}/bin/c++
#	${prefix}/${ELT_TARGET_SYS}/bin/gcov
#	${prefix}/${ELT_TARGET_SYS}/bin/gcc*

FILES_gcc-cross-canadian-arm = "\
	${prefix}/${ELT_TARGET_SYS}/lib/libstdc++.* \
	${prefix}/${ELT_TARGET_SYS}/lib/libgcc_s.* \
	${prefix}/${ELT_TARGET_SYS}/lib/libsupc++.* \
	${gcclibdir}/${ELT_TARGET_SYS}/${ELT_VER_GCC}/* \
	${bindir}/${TARGET_PREFIX}gcov \
	${bindir}/${TARGET_PREFIX}gcc* \
	${bindir}/${TARGET_PREFIX}g++ \
	${bindir}/${TARGET_PREFIX}cpp \
	${libexecdir}/* \
"

FILES_gdb-cross-canadian-arm = "\
	${bindir}/${TARGET_PREFIX}gdb \
	${bindir}/${TARGET_PREFIX}gdbtui \
	${datadir}/gdb/* \
	${datadir}/info/* \
	${datadir}/man/man1/${TARGET_PREFIX}* \
"

FILES_binutils-cross-canadian-arm = "\
	${prefix}/${ELT_TARGET_SYS}/bin/ld* \
	${prefix}/${ELT_TARGET_SYS}/bin/objcopy \
	${prefix}/${ELT_TARGET_SYS}/bin/strip \
	${prefix}/${ELT_TARGET_SYS}/bin/nm \
	${prefix}/${ELT_TARGET_SYS}/bin/ranlib \
	${prefix}/${ELT_TARGET_SYS}/bin/as \
	${prefix}/${ELT_TARGET_SYS}/bin/ar \
	${prefix}/${ELT_TARGET_SYS}/bin/objdump \
	${prefix}/${ELT_TARGET_SYS}/lib/ldscripts/* \
	${bindir}/${TARGET_PREFIX}ld* \
	${bindir}/${TARGET_PREFIX}addr2line \
	${bindir}/${TARGET_PREFIX}objcopy \
	${bindir}/${TARGET_PREFIX}readelf \
	${bindir}/${TARGET_PREFIX}strip \
	${bindir}/${TARGET_PREFIX}nm \
	${bindir}/${TARGET_PREFIX}ranlib \
	${bindir}/${TARGET_PREFIX}gprof \
	${bindir}/${TARGET_PREFIX}as \
	${bindir}/${TARGET_PREFIX}c++filt \
	${bindir}/${TARGET_PREFIX}ar \
	${bindir}/${TARGET_PREFIX}strings \
	${bindir}/${TARGET_PREFIX}objdump \
	${bindir}/${TARGET_PREFIX}size \
"

DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers"
DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger"
DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"

#LICENSE = "${ARG_LIC_LIBC}"
#LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}"
#LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}"
#LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"

PKGV = "${ELT_VER_MAIN}"
PKGV_gcc-cross-canadian-arm = "${ELT_VER_GCC}"
PKGV_gdb-cross-canadian-arm = "${ELT_VER_GDB}"
PKGV_binutils-cross-canadian-arm = "${ELT_VER_BFD}"

do_install() {
	install -d ${D}${prefix}/${ELT_TARGET_SYS}/bin
	install -d ${D}${prefix}/${ELT_TARGET_SYS}/lib
	install -d ${D}${bindir}
	install -d ${D}${libdir}
	install -d ${D}${prefix}/${ELT_TARGET_SYS}/lib/ldscripts
	install -d ${D}${libexecdir}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'install -d ${D}${datadir}/gdb', '', d)}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'install -d ${D}${datadir}/info', '', d)}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'install -d ${D}${datadir}/man/man1', '', d)}
	install -d ${D}${gcclibdir}/${ELT_TARGET_SYS}/${ELT_VER_GCC}/include

#	cp -a ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/bin/{c++,g++,gcc*} ${D}${prefix}/${ELT_TARGET_SYS}/bin
	cp -a ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/lib/{libstdc++.*,libgcc_s.*,libsupc++.*} ${D}${prefix}/${ELT_TARGET_SYS}/lib
	cp -a ${TOOLCHAIN_PATH}/lib/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/* ${D}${gcclibdir}/${ELT_TARGET_SYS}/${ELT_VER_GCC}
	cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{gcov,gcc*,g++,cpp} ${D}${bindir}
	cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir}

	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gdb* ${D}${bindir}', '', d)}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/share/gdb/* ${D}${datadir}/gdb/', '', d)}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/share/info/* ${D}${datadir}/info/', '', d)}
	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-linaro-sdk-toolchain', 'cp -a ${TOOLCHAIN_PATH}/share/man/man1/${TARGET_PREFIX}* ${D}${datadir}/man/man1/', '', d)}

	cp -a ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/bin/{ld*,objcopy,strip,nm,ranlib,as,ar,objdump} ${D}${prefix}/${ELT_TARGET_SYS}/bin
	cp -a ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/lib/ldscripts/* ${D}${prefix}/${ELT_TARGET_SYS}/lib/ldscripts
	cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{ld*,addr2line,objcopy,readelf,strip,nm,ranlib,gprof,as,c++filt,ar,strings,objdump,size} ${D}${bindir}
}

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-30  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30  5:46 Build errors for ti sdk image build Brahmmi Boss
2018-01-30  6:14 ` Reyna, David
2018-01-30  6:37   ` Brahmmi Boss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.