Hi all,

 

Now I am following sitara training process to build yocto for am335x sk-evm.

 

I am getting the python related errors I guess.

 

Please find the below log.

 

@Denys & Maupin: Thanks for the reply for both of you.

 

 

Thanks and Regards,

Siva.

 

 

Loading cache: 100% |########################################################################################################################################################################################################| ETA:  00:00:00

Loaded 48 entries from dependency cache.

ERROR: Error executing a python function in <code>:                                                                                                                                                                          | ETA:  --:--:--

ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:

fatal: Unable to look up github.com (port 9418) (Name or service not known)

 

 

ERROR: The stack trace of python calls that resulted in this exception/failure was:

ERROR:   File "<code>", line 2, in <module>

ERROR:

ERROR:   File "__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass", line 203, in __anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefs

ERROR:     raise ExpansionError(varname, s, exc)

ERROR:

ERROR: The code that was being executed was:

ERROR:      0001:__anon_125__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_staging_bbclass(d)

ERROR:  *** 0002:__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass(d)

ERROR:      0003:__anon_172__home_xxx_build_system_try_tisdk_sources_meta_arago_meta_arago_distro_classes_sourceipk_bbclass(d)

ERROR:      0004:__anon_218__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_package_bbclass(d)

ERROR:      0005:__anon_471__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_package_ipk_bbclass(d)

ERROR:      0006:__anon_822__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_insane_bbclass(d)

ERROR: [From file: '<code>', lineno: 2, function: <module>]

ERROR:      0199:    #

ERROR:      0200:    override = d.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', True)

ERROR:      0201:    if override != '0':

ERROR:      0202:        paths = []

ERROR:  *** 0203:        fpaths = (d.getVar('FILESPATH', True) or '').split(':')

ERROR:      0204:        machine = d.getVar('MACHINE', True)

ERROR:      0205:        for p in fpaths:

ERROR:      0206:            if os.path.basename(p) == machine and os.path.isdir(p):

ERROR:      0207:                paths.append(p)

ERROR: [From file: '__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass', lineno: 203, function: __anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass]

ERROR: Failed to parse recipe: /home/xxx/build_system/try/tisdk/sources/meta-arago/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb

ERROR: Error executing a python function in <code>:

ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:

fatal: Unable to look up github.com (port 9418) (Name or service not known)

 

 

ERROR: The stack trace of python calls that resulted in this exception/failure was:

ERROR:   File "<code>", line 2, in <module>

ERROR:

ERROR:   File "__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass", line 203, in __anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefs

ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 61, in var_sub

ERROR:     var = self.d.getVar(key, True)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVar

ERROR:     return self.expand(value, var)

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expand

ERROR:     return self.expandWithRefs(s, varname).value

ERROR:

ERROR:   File "/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefs

ERROR:     raise ExpansionError(varname, s, exc)

ERROR:

ERROR: The code that was being executed was:

ERROR:      0001:__anon_125__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_staging_bbclass(d)

ERROR:  *** 0002:__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass(d)

ERROR:      0003:__anon_172__home_xxx_build_system_try_tisdk_sources_meta_arago_meta_arago_distro_classes_sourceipk_bbclass(d)

ERROR:      0004:__anon_218__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_package_bbclass(d)

ERROR:      0005:__anon_471__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_package_ipk_bbclass(d)

ERROR:      0006:__anon_822__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_insane_bbclass(d)

ERROR: [From file: '<code>', lineno: 2, function: <module>]

ERROR:      0199:    #

ERROR:      0200:    override = d.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', True)

ERROR:      0201:    if override != '0':

ERROR:      0202:        paths = []

ERROR:  *** 0203:        fpaths = (d.getVar('FILESPATH', True) or '').split(':')

ERROR:      0204:        machine = d.getVar('MACHINE', True)

ERROR:      0205:        for p in fpaths:

ERROR:      0206:            if os.path.basename(p) == machine and os.path.isdir(p):

ERROR:      0207:                paths.append(p)

ERROR: [From file: '__anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass', lineno: 203, function: __anon_567__home_xxx_build_system_try_tisdk_sources_oe_core_meta_classes_base_bbclass]

ERROR: Command execution failed: Exited with 1

 

Summary: There were 140 ERROR messages shown, returning a non-zero exit code.

xxx@xxx-desktop:~/build_system/try/tisdk/build$

 

 

 

-----Original Message-----
From: Denys Dmytriyenko [mailto:denys@ti.com]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); meta-arago@arago-project.org
Subject: Re: [meta-arago] error while building yocto for am335x

 

On Thu, Aug 01, 2013 at 08:57:00AM +0000, Maupin, Chase wrote:

> >-----Original Message-----

> >From: Sivaprasad Pala (RBEI/EAA1)

> >[mailto:Sivaprasad.Pala@in.bosch.com]

> >Sent: Thursday, August 01, 2013 2:17 PM

> >To: Maupin, Chase; meta-arago@arago-project.org

> >Subject: RE: [meta-arago] error while building yocto for am335x

> >

> >Hi,

> >

> >latest commit id I took from site and replaced SRCREV with latest

> >one.

> >Even I am getting the error "Failure expanding variable S:"

> >And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}"

>

> Did you replace the SRCREV in the bbappend file at

> ./meta-arago/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend

 

BTW, in the original email the error was at ltp-ddt-legacy. But in general,

all AUTOREVs should be replaced, if there are problems with git access. You'll

still get issues downloading from git, but at least it will parse.

 

 

> >And,

> >

> >I am trying to setup "git proxy settings".

> >Under corporate firewall I am unable to use command "git clone

> >git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-

> >2.6.git"

> >What configurations should I need to do for using

> >"git://git.kernel.org"

>

> First you need to create a proxy command file:

> vi ~/git-proxy.sh

>     #!/bin/bash

>     exec env corkscrew <your proxy host> <your proxy port> $*

> chmod +x ~/git-proxy.sh

> Then set git to use this proxy script

>     git config --global core.gitproxy “~/git-proxy.sh”

 

Or export GITPROXYCOMMAND=~/git-proxy.sh

 

 

> You need to get the proxy host and port from your IT department.

>

> >

> >Thanks for the reply.

> >

> >Regards,

> >Siva.

> >

> >

> >-----Original Message-----

> >From: Maupin, Chase [mailto:chase.maupin@ti.com]

> >Sent: Thursday, August 01, 2013 1:39 PM

> >To: Sivaprasad Pala (RBEI/EAA1); meta-arago@arago-project.org

> >Subject: RE: [meta-arago] error while building yocto for am335x

> >

> >Ltp-ddt is an autorev recipe which means that it must read the

> >current latest commit id in order to parse.  This looks like you

> >are having an issue with git reaching the repository. Can you

> >check your git proxy settings?

> >

> >>-----Original Message-----

> >>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-

> >>bounces@arago-project.org] On Behalf Of siva

> >>Sent: Thursday, August 01, 2013 11:04 AM

> >>To: meta-arago@arago-project.org

> >>Subject: [meta-arago] error while building yocto for am335x

> >>

> >>hello all,

> >>

> >>I followed steps mentioned in below wiki.

> >>http://arago-

> >>project.org/wiki/index.php/Setting_Up_Build_Environment

> >>

> >>I am wandering why the build is going to fail.

> >>I tried in many ways to resolve it.(changing the definition of

> >>variable etc.)

> >>

> >>Please find the below log.

> >>

> >>Thanks,

> >>Siva.

> >>

> >>

> >>xxxxx@xxxxx:~/tisdk/build$ MACHINE=am335x-evm bitbake core-image-

> >>minimal

> >>Pseudo is not present but is required, building this first before

> >>the main build

> >>Loading cache: 100%

> >>|################################################################

> >#

> >>#############

> >>######################################################|

> >>ETA:  00:00:00

> >>Loaded 72 entries from dependency cache.

> >>NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-

> >>arago/

> >>meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-

> >-

> >>:--

> >>

> >>ERROR: ExpansionError during

> >>parsing/home/xxxxx/tisdk/sources/meta-arago/

> >>meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb:

> >>

> >>Failure expanding variable S: ExpansionError: Failure expanding

> >>variable

> >>SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered

> >>exception

> >>FetchError: Fetcher failure: Fetch command failed with exit code

> >>128, output:

> >>fatal: unable to connect to arago-project.org:

> >>arago-project.org: Name or service not known

> >>

> >>

> >>ERROR: Command execution failed: Exited with 1

> >>

> >>Summary: There were 2 ERROR messages shown,

> >>returning a non-zero exit code.

> >>xxxxx@xxxxx:~/tisdk/build$

> >>

> >>_______________________________________________

> >>meta-arago mailing list

> >>meta-arago@arago-project.org

> >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org

> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago