All of lore.kernel.org
 help / color / mirror / Atom feed
* Extensible SDK with TI SDK?
@ 2018-01-12 18:18 Adam Lee
  2018-01-12 20:52 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lee @ 2018-01-12 18:18 UTC (permalink / raw)
  To: meta-ti@yoctoproject.org

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

Has anyone successfully built Yocto's Extensible SDK with meta-ti included?
I am getting this error on the latest version:

ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Error executing a
python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:copy_buildsystem(d)
     0003:
File: '/home/tisdk/sources/oe-core/meta/classes/populate_sdk_ext.bbclass',
lineno: 331, function: copy_buildsystem
     0327:            f.write('TCLIBCAPPEND = ""\n')
     0328:            f.write('DL_DIR = "${TOPDIR}/downloads"\n')
     0329:
     0330:            f.write('INHERIT += "%s"\n' % 'uninative')
 *** 0331:            f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' %
(d.getVar('BUILD_ARCH'), uninative_checksum))
     0332:            f.write('CONF_VERSION = "%s"\n\n' %
d.getVar('CONF_VERSION', False))
     0333:
     0334:            # Some classes are not suitable for SDK, remove them
from INHERIT
     0335:            f.write('INHERIT_remove = "%s"\n' %
d.getVar('SDK_INHERIT_BLACKLIST', False))
Exception: UnboundLocalError: local variable 'uninative_checksum'
referenced before assignment

ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Function failed:
copy_buildsystem
ERROR: Logfile of failure stored in:
/home/tisdk/build/arago-tmp-glibc/work/am57xx_evm-oe-linux-gnueabi/tisdk-rootfs-image/1.0-r0/temp/log.do_populate_sdk_ext.42114
ERROR: Task
(/home/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb:do_populate_sdk_ext)
failed with exit code '1'

Regards,

Adam

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

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

* Re: Extensible SDK with TI SDK?
  2018-01-12 18:18 Extensible SDK with TI SDK? Adam Lee
@ 2018-01-12 20:52 ` Denys Dmytriyenko
  2018-01-23 18:34   ` Adam Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2018-01-12 20:52 UTC (permalink / raw)
  To: Adam Lee; +Cc: meta-ti@yoctoproject.org

Adam,

meta-ti is a pure BSP layer and has absolutely no knowledge of tisdk-rootfs-image.
That means that meta-ti itself shouldn't have any issues with Yocto Extensible 
SDK.

Now, TI SDK specifically is covered by meta-arago, which is a separate layer 
with its own list, and does not currently support extensible SDK.

-- 
Denys


On Fri, Jan 12, 2018 at 06:18:32PM +0000, Adam Lee wrote:
> Has anyone successfully built Yocto's Extensible SDK with meta-ti included?
> I am getting this error on the latest version:
> 
> ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Error executing a
> python function in exec_python_func() autogenerated:
> 
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
>      0001:
>  *** 0002:copy_buildsystem(d)
>      0003:
> File: '/home/tisdk/sources/oe-core/meta/classes/populate_sdk_ext.bbclass',
> lineno: 331, function: copy_buildsystem
>      0327:            f.write('TCLIBCAPPEND = ""\n')
>      0328:            f.write('DL_DIR = "${TOPDIR}/downloads"\n')
>      0329:
>      0330:            f.write('INHERIT += "%s"\n' % 'uninative')
>  *** 0331:            f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' %
> (d.getVar('BUILD_ARCH'), uninative_checksum))
>      0332:            f.write('CONF_VERSION = "%s"\n\n' %
> d.getVar('CONF_VERSION', False))
>      0333:
>      0334:            # Some classes are not suitable for SDK, remove them
> from INHERIT
>      0335:            f.write('INHERIT_remove = "%s"\n' %
> d.getVar('SDK_INHERIT_BLACKLIST', False))
> Exception: UnboundLocalError: local variable 'uninative_checksum'
> referenced before assignment
> 
> ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Function failed:
> copy_buildsystem
> ERROR: Logfile of failure stored in:
> /home/tisdk/build/arago-tmp-glibc/work/am57xx_evm-oe-linux-gnueabi/tisdk-rootfs-image/1.0-r0/temp/log.do_populate_sdk_ext.42114
> ERROR: Task
> (/home/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb:do_populate_sdk_ext)
> failed with exit code '1'
> 
> Regards,
> 
> Adam

> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti



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

* Re: Extensible SDK with TI SDK?
  2018-01-12 20:52 ` Denys Dmytriyenko
@ 2018-01-23 18:34   ` Adam Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lee @ 2018-01-23 18:34 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti@yoctoproject.org

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

Thanks for clarifying this Denys.

Adam

On Fri, Jan 12, 2018 at 3:52 PM Denys Dmytriyenko <denys@ti.com> wrote:

> Adam,
>
> meta-ti is a pure BSP layer and has absolutely no knowledge of
> tisdk-rootfs-image.
> That means that meta-ti itself shouldn't have any issues with Yocto
> Extensible
> SDK.
>
> Now, TI SDK specifically is covered by meta-arago, which is a separate
> layer
> with its own list, and does not currently support extensible SDK.
>
> --
> Denys
>
>
> On Fri, Jan 12, 2018 at 06:18:32PM +0000, Adam Lee wrote:
> > Has anyone successfully built Yocto's Extensible SDK with meta-ti
> included?
> > I am getting this error on the latest version:
> >
> > ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Error executing a
> > python function in exec_python_func() autogenerated:
> >
> > The stack trace of python calls that resulted in this exception/failure
> was:
> > File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
> >      0001:
> >  *** 0002:copy_buildsystem(d)
> >      0003:
> > File:
> '/home/tisdk/sources/oe-core/meta/classes/populate_sdk_ext.bbclass',
> > lineno: 331, function: copy_buildsystem
> >      0327:            f.write('TCLIBCAPPEND = ""\n')
> >      0328:            f.write('DL_DIR = "${TOPDIR}/downloads"\n')
> >      0329:
> >      0330:            f.write('INHERIT += "%s"\n' % 'uninative')
> >  *** 0331:            f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' %
> > (d.getVar('BUILD_ARCH'), uninative_checksum))
> >      0332:            f.write('CONF_VERSION = "%s"\n\n' %
> > d.getVar('CONF_VERSION', False))
> >      0333:
> >      0334:            # Some classes are not suitable for SDK, remove
> them
> > from INHERIT
> >      0335:            f.write('INHERIT_remove = "%s"\n' %
> > d.getVar('SDK_INHERIT_BLACKLIST', False))
> > Exception: UnboundLocalError: local variable 'uninative_checksum'
> > referenced before assignment
> >
> > ERROR: tisdk-rootfs-image-1.0-r0 do_populate_sdk_ext: Function failed:
> > copy_buildsystem
> > ERROR: Logfile of failure stored in:
> >
> /home/tisdk/build/arago-tmp-glibc/work/am57xx_evm-oe-linux-gnueabi/tisdk-rootfs-image/1.0-r0/temp/log.do_populate_sdk_ext.42114
> > ERROR: Task
> >
> (/home/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb:
> do_populate_sdk_ext)
> > failed with exit code '1'
> >
> > Regards,
> >
> > Adam
>
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
>

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

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

end of thread, other threads:[~2018-01-23 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 18:18 Extensible SDK with TI SDK? Adam Lee
2018-01-12 20:52 ` Denys Dmytriyenko
2018-01-23 18:34   ` Adam Lee

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.