All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
@ 2013-04-24 18:29 hzhang
  2013-04-24 19:16 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 31+ messages in thread
From: hzhang @ 2013-04-24 18:29 UTC (permalink / raw)
  To: meta-arago

From: Hao Zhang <hzhang@ti.com>

---
 .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
index 82a9fb8..2dce736 100755
--- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
+++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {
 # which extensions should not be handle via static-file transfer
 #
 # .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
+static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o" )
 
 ######### Options that are good to be but not neccesary to be changed #######
 
@@ -225,7 +225,7 @@ compress.filetype          = ("text/plain", "text/html","text/javascript","text/
 #                            )
 
 #### CGI module
-cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
+cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh", ".o" => "" )
 #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
 #                               ".cgi" => "/usr/bin/perl" )
 #
-- 
1.7.9.5



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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 18:29 [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP hzhang
@ 2013-04-24 19:16 ` Cooper Jr., Franklin
  2013-04-24 19:21   ` Denys Dmytriyenko
  2013-04-24 19:26   ` Zhang, Hao
  0 siblings, 2 replies; 31+ messages in thread
From: Cooper Jr., Franklin @ 2013-04-24 19:16 UTC (permalink / raw)
  To: Zhang, Hao, meta-arago

cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" => "" )

Can you give an example of the .cgi and .o file that requires this change?


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Zhang, Hao
> Sent: Wednesday, April 24, 2013 1:29 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> support in Matrix PHP
> 
> From: Hao Zhang <hzhang@ti.com>
> 
> ---
>  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> config/lighttpd.conf.matrix b/meta-arago-extras/recipes-
> core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> index 82a9fb8..2dce736 100755
> --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> config/lighttpd.conf.matrix
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/light
> +++ tpd.conf.matrix
> @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions should
> not be handle via static-file transfer  #  # .php, .pl, .fcgi are most often
> handled by mod_fastcgi or mod_cgi -static-file.exclude-extensions = ( ".php",
> ".pl", ".fcgi" )
> +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> +)
> 
>  ######### Options that are good to be but not neccesary to be changed
> #######
> 
> @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> "text/html","text/javascript","text/
>  #                            )
> 
>  #### CGI module
> -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> ".o" => "" )
>  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
>  #                               ".cgi" => "/usr/bin/perl" )
>  #
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 19:16 ` Cooper Jr., Franklin
@ 2013-04-24 19:21   ` Denys Dmytriyenko
  2013-04-24 19:26   ` Zhang, Hao
  1 sibling, 0 replies; 31+ messages in thread
From: Denys Dmytriyenko @ 2013-04-24 19:21 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago

I would understand .cgi, but what is it with .o? Are those object files? What 
do you want to do with them?

And I guess a better description of the change in the patch wouldn't hurt 
either.

-- 
Denys


On Wed, Apr 24, 2013 at 07:16:34PM +0000, Cooper Jr., Franklin wrote:
> cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" => "" )
> 
> Can you give an example of the .cgi and .o file that requires this change?
> 
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Zhang, Hao
> > Sent: Wednesday, April 24, 2013 1:29 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> > support in Matrix PHP
> > 
> > From: Hao Zhang <hzhang@ti.com>
> > 
> > ---
> >  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix b/meta-arago-extras/recipes-
> > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> > index 82a9fb8..2dce736 100755
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/light
> > +++ tpd.conf.matrix
> > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions should
> > not be handle via static-file transfer  #  # .php, .pl, .fcgi are most often
> > handled by mod_fastcgi or mod_cgi -static-file.exclude-extensions = ( ".php",
> > ".pl", ".fcgi" )
> > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> > +)
> > 
> >  ######### Options that are good to be but not neccesary to be changed
> > #######
> > 
> > @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> > "text/html","text/javascript","text/
> >  #                            )
> > 
> >  #### CGI module
> > -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> > +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> > ".o" => "" )
> >  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
> >  #                               ".cgi" => "/usr/bin/perl" )
> >  #
> > --
> > 1.7.9.5
> > 
> > _______________________________________________
> > 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


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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 19:16 ` Cooper Jr., Franklin
  2013-04-24 19:21   ` Denys Dmytriyenko
@ 2013-04-24 19:26   ` Zhang, Hao
  2013-04-24 19:40     ` Cooper Jr., Franklin
  2013-04-24 19:41     ` Denys Dmytriyenko
  1 sibling, 2 replies; 31+ messages in thread
From: Zhang, Hao @ 2013-04-24 19:26 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

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

See attached the example.

-----Original Message-----
From: Cooper Jr., Franklin 
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; meta-arago@arago-project.org
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP

cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" => "" )

Can you give an example of the .cgi and .o file that requires this change?


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> bounces@arago-project.org] On Behalf Of Zhang, Hao
> Sent: Wednesday, April 24, 2013 1:29 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi 
> and .out support in Matrix PHP
> 
> From: Hao Zhang <hzhang@ti.com>
> 
> ---
>  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> config/lighttpd.conf.matrix b/meta-arago-extras/recipes- 
> core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> index 82a9fb8..2dce736 100755
> --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> config/lighttpd.conf.matrix
> +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lig
> +++ ht
> +++ tpd.conf.matrix
> @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions 
> should not be handle via static-file transfer  #  # .php, .pl, .fcgi 
> are most often handled by mod_fastcgi or mod_cgi 
> -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
> +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> +)
> 
>  ######### Options that are good to be but not neccesary to be changed 
> #######
> 
> @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> "text/html","text/javascript","text/
>  #                            )
> 
>  #### CGI module
> -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> ".o" => "" )
>  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
>  #                               ".cgi" => "/usr/bin/perl" )
>  #
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: utility_apps.tar.gz --]
[-- Type: application/x-gzip, Size: 2267 bytes --]

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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 19:26   ` Zhang, Hao
@ 2013-04-24 19:40     ` Cooper Jr., Franklin
  2013-04-25  0:51       ` Zhang, Hao
  2013-04-24 19:41     ` Denys Dmytriyenko
  1 sibling, 1 reply; 31+ messages in thread
From: Cooper Jr., Franklin @ 2013-04-24 19:40 UTC (permalink / raw)
  To: Zhang, Hao, meta-arago

Matrix already has the ability to run shell scripts so I don't understand why you need this .cgi which still executes shell commands. Is there  some kind of limitation your running into?

Your utility_info.sh would contain:

echo " System Up Time"
cat /proc/uptime

echo "CPU Info"
cat /proc/cpuinfo

echo "Linux version
uname -srm

TMPFILE=`mktemp`
mount | awk ' {print "device ", $1," mounted on ",$3, " as ", $5, "filesystem"}' > $TMPFILE

echo "Mount Info"
cat $TMPFILE
rm $TMPFILE

echo "Network Interfaces"

ifconfig

echo "Routing table"
route

echo "Module Info"
lsmod

And your utility_info.desktop will be set to:
Exec=utility_info.sh


> -----Original Message-----
> From: Zhang, Hao
> Sent: Wednesday, April 24, 2013 2:27 PM
> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> support in Matrix PHP
> 
> See attached the example.
> 
> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Wednesday, April 24, 2013 3:17 PM
> To: Zhang, Hao; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> support in Matrix PHP
> 
> cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" =>
> "" )
> 
> Can you give an example of the .cgi and .o file that requires this change?
> 
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Zhang, Hao
> > Sent: Wednesday, April 24, 2013 1:29 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi
> > and .out support in Matrix PHP
> >
> > From: Hao Zhang <hzhang@ti.com>
> >
> > ---
> >  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix b/meta-arago-extras/recipes-
> > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> > index 82a9fb8..2dce736 100755
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lig
> > +++ ht
> > +++ tpd.conf.matrix
> > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions
> > should not be handle via static-file transfer  #  # .php, .pl, .fcgi
> > are most often handled by mod_fastcgi or mod_cgi
> > -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
> > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> > +)
> >
> >  ######### Options that are good to be but not neccesary to be changed
> > #######
> >
> > @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> > "text/html","text/javascript","text/
> >  #                            )
> >
> >  #### CGI module
> > -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> > +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> > ".o" => "" )
> >  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
> >  #                               ".cgi" => "/usr/bin/perl" )
> >  #
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 19:26   ` Zhang, Hao
  2013-04-24 19:40     ` Cooper Jr., Franklin
@ 2013-04-24 19:41     ` Denys Dmytriyenko
  2013-08-01  5:33       ` error while building yocto for am335x siva
  1 sibling, 1 reply; 31+ messages in thread
From: Denys Dmytriyenko @ 2013-04-24 19:41 UTC (permalink / raw)
  To: Zhang, Hao; +Cc: meta-arago, Cooper Jr., Franklin

Right, but what's with the .o?

On Wed, Apr 24, 2013 at 07:26:43PM +0000, Zhang, Hao wrote:
> See attached the example.
> 
> -----Original Message-----
> From: Cooper Jr., Franklin 
> Sent: Wednesday, April 24, 2013 3:17 PM
> To: Zhang, Hao; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
> 
> cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" => "" )
> 
> Can you give an example of the .cgi and .o file that requires this change?
> 
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> > bounces@arago-project.org] On Behalf Of Zhang, Hao
> > Sent: Wednesday, April 24, 2013 1:29 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi 
> > and .out support in Matrix PHP
> > 
> > From: Hao Zhang <hzhang@ti.com>
> > 
> > ---
> >  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix b/meta-arago-extras/recipes- 
> > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> > index 82a9fb8..2dce736 100755
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lig
> > +++ ht
> > +++ tpd.conf.matrix
> > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions 
> > should not be handle via static-file transfer  #  # .php, .pl, .fcgi 
> > are most often handled by mod_fastcgi or mod_cgi 
> > -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
> > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> > +)
> > 
> >  ######### Options that are good to be but not neccesary to be changed 
> > #######
> > 
> > @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> > "text/html","text/javascript","text/
> >  #                            )
> > 
> >  #### CGI module
> > -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> > +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> > ".o" => "" )
> >  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
> >  #                               ".cgi" => "/usr/bin/perl" )
> >  #
> > --
> > 1.7.9.5
> > 
> > _______________________________________________
> > 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



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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-24 19:40     ` Cooper Jr., Franklin
@ 2013-04-25  0:51       ` Zhang, Hao
  2013-04-25 23:42         ` Cooper Jr., Franklin
  0 siblings, 1 reply; 31+ messages in thread
From: Zhang, Hao @ 2013-04-25  0:51 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

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

Franklin,

I gave you the wrong example, please see attached for the eeprom read/write example, which uses cgi. Our utility examples follow this basic structure for a main html page calling the cgi.

Hao.

-----Original Message-----
From: Cooper Jr., Franklin 
Sent: Wednesday, April 24, 2013 3:41 PM
To: Zhang, Hao; meta-arago@arago-project.org
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP

Matrix already has the ability to run shell scripts so I don't understand why you need this .cgi which still executes shell commands. Is there  some kind of limitation your running into?

Your utility_info.sh would contain:

echo " System Up Time"
cat /proc/uptime

echo "CPU Info"
cat /proc/cpuinfo

echo "Linux version
uname -srm

TMPFILE=`mktemp`
mount | awk ' {print "device ", $1," mounted on ",$3, " as ", $5, "filesystem"}' > $TMPFILE

echo "Mount Info"
cat $TMPFILE
rm $TMPFILE

echo "Network Interfaces"

ifconfig

echo "Routing table"
route

echo "Module Info"
lsmod

And your utility_info.desktop will be set to:
Exec=utility_info.sh


> -----Original Message-----
> From: Zhang, Hao
> Sent: Wednesday, April 24, 2013 2:27 PM
> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static 
> cgi and .out support in Matrix PHP
> 
> See attached the example.
> 
> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Wednesday, April 24, 2013 3:17 PM
> To: Zhang, Hao; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static 
> cgi and .out support in Matrix PHP
> 
> cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o" =>
> "" )
> 
> Can you give an example of the .cgi and .o file that requires this change?
> 
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> > bounces@arago-project.org] On Behalf Of Zhang, Hao
> > Sent: Wednesday, April 24, 2013 1:29 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi 
> > and .out support in Matrix PHP
> >
> > From: Hao Zhang <hzhang@ti.com>
> >
> > ---
> >  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix b/meta-arago-extras/recipes- 
> > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> > index 82a9fb8..2dce736 100755
> > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > config/lighttpd.conf.matrix
> > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/l
> > +++ ig
> > +++ ht
> > +++ tpd.conf.matrix
> > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions 
> > should not be handle via static-file transfer  #  # .php, .pl, .fcgi 
> > are most often handled by mod_fastcgi or mod_cgi 
> > -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
> > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> > +)
> >
> >  ######### Options that are good to be but not neccesary to be 
> > changed #######
> >
> > @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> > "text/html","text/javascript","text/
> >  #                            )
> >
> >  #### CGI module
> > -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> > +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> > ".o" => "" )
> >  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
> >  #                               ".cgi" => "/usr/bin/perl" )
> >  #
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: i2c.html --]
[-- Type: text/html, Size: 4917 bytes --]

[-- Attachment #3: eepromread.cgi --]
[-- Type: application/octet-stream, Size: 1732 bytes --]

#!/bin/sh
echo Content-type: text/html
echo 
echo 

display_footer()
{
cat << EOM2
<div style='clear: both;'>&nbsp;</div>
</div>
<div id='footer'><p id='legal'>( c ) 2013 Texas Instruments Incorporated&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p></div>
</body>
</html>
EOM2
}

cat << EOM
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'>
<head><meta http-equiv='Pragma' CONTENT='no-cache' /> <meta http-equiv='content-type' content='text/html; charset=utf-8' /> <title>C6x Linux Web Control Panel</title>
</head>
<body>
<div id='wrapper'>
<div id='logo'><h1>EEPROM Read</h1></div>
<div id='header'>
<div id='menu'>
</div>
</div>
</div>
<div id='page'>
EOM
TMPFILE=`mktemp`
cat > $TMPFILE

get_params()
{
busAddr=$(cat $TMPFILE | sed -n '4p' | sed 's/.$//')
eepromdev=$(find /sys -name eeprom)
readSz=1000
echo $busAddr
echo $eepromdev

TMPFILE_DATA="../i2c_"$busAddr".bin"
if [ "$busAddr" = "0x51" ] ; then
devOffset=$readSz
else
devOffset=0
fi
echo $devOffset


}

check_params()
{
echo
}

#Read EEPROM 
read_eeprom()
{
cat << EOM1
<div id='content'>
<p>Reading <i>$readSz</i> bytes from EEPROM Bus Address <i>$busAddr</i> ...</p>
</div>
EOM1
dd of=$TMPFILE_DATA if=$eepromdev bs=1 count=$readSz skip=$devOffset 2> /dev/null
sync
}

#Allow User to download the file
file_download()
{
cat << EOM1
<div id='content'>
<input type="button" name="Button" value="Save EEPROM data" onClick="window.open('$TMPFILE_DATA', 'download'); return false;">
</div>
EOM1
}

get_params
check_params
read_eeprom
file_download

display_footer
rm -f $TMPFILE
#rm -f $TMPFILE_DATA



[-- Attachment #4: eepromwrite.cgi --]
[-- Type: application/octet-stream, Size: 1764 bytes --]

#!/bin/sh
echo Content-type: text/html
echo 
echo 

display_footer()
{
cat << EOM2
<div style='clear: both;'>&nbsp;</div>
</div>
<div id='footer'><p id='legal'>( c ) 2013 Texas Instruments Incorporated&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='/credit.html'>Credits</a></p></div>
</body>
</html>
EOM2
}

cat << EOM
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'>
<head><meta http-equiv='Pragma' CONTENT='no-cache' /> <meta http-equiv='content-type' content='text/html; charset=utf-8' /> <title>C6x Linux Web Control Panel</title>
</head>
<body>
<div id='wrapper'>
<div id='logo'><h1>EEPROM Read</h1></div>
<div id='header'>
<div id='menu'>
</div>
</div>
</div>
<div id='page'>
EOM
TMPFILE=`mktemp`
cat > $TMPFILE

get_params()
{
busAddr=$(cat $TMPFILE | sed -n '4p' | sed 's/.$//')
eepromdev=$(find /sys -name eeprom)
readSz=512
echo $busAddr
echo $eepromdev

TMPFILE_DATA="../i2c_"$busAddr".bin"
if [ "$busAddr" = "0x51" ] ; then
devOffset=$readSz
else
devOffset=0
fi
echo $devOffset


}

check_params()
{
echo
}

#Read EEPROM 
read_eeprom()
{
cat << EOM1
<div id='content'>
<p>Reading <i>$readSz</i> bytes from EEPROM Bus Address <i>$busAddr</i> ...</p>
</div>
EOM1
dd of=$TMPFILE_DATA if=$eepromdev bs=1 count=$readSz skip=$devOffset 2> /dev/null
sync
}

#Allow User to download the file
file_download()
{
cat << EOM1
<div id='content'>
<input type="button" name="Button" value="Save EEPROM data" onClick="window.open('$TMPFILE_DATA', 'download'); return false;">
</div>
EOM1
}

get_params
check_params
read_eeprom
file_download

display_footer
rm -f $TMPFILE
rm -f $TMPFILE_DATA



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

* Re: [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
  2013-04-25  0:51       ` Zhang, Hao
@ 2013-04-25 23:42         ` Cooper Jr., Franklin
  0 siblings, 0 replies; 31+ messages in thread
From: Cooper Jr., Franklin @ 2013-04-25 23:42 UTC (permalink / raw)
  To: Zhang, Hao, meta-arago

Hao,
Ok this makes a lot more sense :)

What your trying to do looks very difficult using shell script. Reading radio buttons, form submissions and handling file uploads really should be handled by a web server side programming language.

I would recommend not pushing this patch until you at least get one of these examples working like you expect. 

Since this might be keystone specific we can't perhaps try using sed to tweak this config file for only your platform. But let's discuss this once you have everything working.

> -----Original Message-----
> From: Zhang, Hao
> Sent: Wednesday, April 24, 2013 7:51 PM
> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> support in Matrix PHP
> 
> Franklin,
> 
> I gave you the wrong example, please see attached for the eeprom read/write
> example, which uses cgi. Our utility examples follow this basic structure for a
> main html page calling the cgi.
> 
> Hao.
> 
> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Wednesday, April 24, 2013 3:41 PM
> To: Zhang, Hao; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out
> support in Matrix PHP
> 
> Matrix already has the ability to run shell scripts so I don't understand why you
> need this .cgi which still executes shell commands. Is there  some kind of
> limitation your running into?
> 
> Your utility_info.sh would contain:
> 
> echo " System Up Time"
> cat /proc/uptime
> 
> echo "CPU Info"
> cat /proc/cpuinfo
> 
> echo "Linux version
> uname -srm
> 
> TMPFILE=`mktemp`
> mount | awk ' {print "device ", $1," mounted on ",$3, " as ", $5, "filesystem"}' >
> $TMPFILE
> 
> echo "Mount Info"
> cat $TMPFILE
> rm $TMPFILE
> 
> echo "Network Interfaces"
> 
> ifconfig
> 
> echo "Routing table"
> route
> 
> echo "Module Info"
> lsmod
> 
> And your utility_info.desktop will be set to:
> Exec=utility_info.sh
> 
> 
> > -----Original Message-----
> > From: Zhang, Hao
> > Sent: Wednesday, April 24, 2013 2:27 PM
> > To: Cooper Jr., Franklin; meta-arago@arago-project.org
> > Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static
> > cgi and .out support in Matrix PHP
> >
> > See attached the example.
> >
> > -----Original Message-----
> > From: Cooper Jr., Franklin
> > Sent: Wednesday, April 24, 2013 3:17 PM
> > To: Zhang, Hao; meta-arago@arago-project.org
> > Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static
> > cgi and .out support in Matrix PHP
> >
> > cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" => "/bin/sh",  ".o"
> =>
> > "" )
> >
> > Can you give an example of the .cgi and .o file that requires this change?
> >
> >
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > bounces@arago-project.org] On Behalf Of Zhang, Hao
> > > Sent: Wednesday, April 24, 2013 1:29 PM
> > > To: meta-arago@arago-project.org
> > > Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi
> > > and .out support in Matrix PHP
> > >
> > > From: Hao Zhang <hzhang@ti.com>
> > >
> > > ---
> > >  .../matrix-lighttpd-config/lighttpd.conf.matrix    |    4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > > config/lighttpd.conf.matrix b/meta-arago-extras/recipes-
> > > core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix
> > > index 82a9fb8..2dce736 100755
> > > --- a/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-
> > > config/lighttpd.conf.matrix
> > > +++ b/meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/l
> > > +++ ig
> > > +++ ht
> > > +++ tpd.conf.matrix
> > > @@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" {  # which extensions
> > > should not be handle via static-file transfer  #  # .php, .pl, .fcgi
> > > are most often handled by mod_fastcgi or mod_cgi
> > > -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
> > > +static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o"
> > > +)
> > >
> > >  ######### Options that are good to be but not neccesary to be
> > > changed #######
> > >
> > > @@ -225,7 +225,7 @@ compress.filetype          = ("text/plain",
> > > "text/html","text/javascript","text/
> > >  #                            )
> > >
> > >  #### CGI module
> > > -cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi")
> > > +cgi.assign                 = ( ".php"  => "/usr/bin/php-cgi", ".cgi" =>	"/bin/sh",
> > > ".o" => "" )
> > >  #cgi.assign                 = ( ".pl"  => "/usr/bin/perl",
> > >  #                               ".cgi" => "/usr/bin/perl" )
> > >  #
> > > --
> > > 1.7.9.5
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* error while building yocto for am335x
  2013-04-24 19:41     ` Denys Dmytriyenko
@ 2013-08-01  5:33       ` siva
  2013-08-01  8:09         ` Maupin, Chase
  0 siblings, 1 reply; 31+ messages in thread
From: siva @ 2013-08-01  5:33 UTC (permalink / raw)
  To: meta-arago

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$



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

* Re: error while building yocto for am335x
  2013-08-01  5:33       ` error while building yocto for am335x siva
@ 2013-08-01  8:09         ` Maupin, Chase
  2013-08-01  8:47           ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-01  8:09 UTC (permalink / raw)
  To: siva, meta-arago

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


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

* Re: error while building yocto for am335x
  2013-08-01  8:09         ` Maupin, Chase
@ 2013-08-01  8:47           ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-01  8:57             ` Maupin, Chase
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-01  8:47 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago

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)}"

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"

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


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

* Re: error while building yocto for am335x
  2013-08-01  8:47           ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-01  8:57             ` Maupin, Chase
  2013-08-01 14:17               ` Denys Dmytriyenko
  0 siblings, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-01  8:57 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), meta-arago

>-----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

>
>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”

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


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

* Re: error while building yocto for am335x
  2013-08-01  8:57             ` Maupin, Chase
@ 2013-08-01 14:17               ` Denys Dmytriyenko
  2013-08-07  8:05                 ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Denys Dmytriyenko @ 2013-08-01 14:17 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-arago, Sivaprasad Pala (RBEI/EAA1)

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


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

* Re: error while building yocto for am335x
  2013-08-01 14:17               ` Denys Dmytriyenko
@ 2013-08-07  8:05                 ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07  9:28                   ` Maupin, Chase
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07  8:05 UTC (permalink / raw)
  To: Denys Dmytriyenko, Maupin, Chase; +Cc: meta-arago

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

Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07  8:05                 ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07  9:28                   ` Maupin, Chase
  2013-08-07 11:41                     ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07  9:28 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07  9:28                   ` Maupin, Chase
@ 2013-08-07 11:41                     ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:03                       ` Maupin, Chase
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 11:41 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago

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


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 11:41                     ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 12:03                       ` Maupin, Chase
  2013-08-07 12:14                         ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:03 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:03                       ` Maupin, Chase
@ 2013-08-07 12:14                         ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:16                           ` Maupin, Chase
  2013-08-07 12:19                           ` Maupin, Chase
  0 siblings, 2 replies; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 12:14 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago

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

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:14                         ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 12:16                           ` Maupin, Chase
  2013-08-07 12:19                             ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:19                           ` Maupin, Chase
  1 sibling, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:16 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:14                         ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:16                           ` Maupin, Chase
@ 2013-08-07 12:19                           ` Maupin, Chase
  2013-08-07 12:22                             ` Sivaprasad Pala (RBEI/EAA1)
  1 sibling, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:19 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

The git URL in case you are unsure for cloning is git clone git://github.com/TI-OpenLink/ti-utils.git

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:16                           ` Maupin, Chase
@ 2013-08-07 12:19                             ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:22                               ` Maupin, Chase
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 12:19 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago

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

Hi,

Not able to clone.

Log please…

pis1kor@pis1kor-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/pis1kor/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
pis1kor@pis1kor-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:19                           ` Maupin, Chase
@ 2013-08-07 12:22                             ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 0 replies; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 12:22 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago

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


The same now also.


Log:

pis1kor@pis1kor-desktop:~/tmp/https$ git clone git://github.com/TI-OpenLink/ti-utils.git
Initialized empty Git repository in /home/pis1kor/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
pis1kor@pis1kor-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:49 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

The git URL in case you are unsure for cloning is git clone git://github.com/TI-OpenLink/ti-utils.git

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:19                             ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 12:22                               ` Maupin, Chase
  2013-08-07 12:33                                 ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:22 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.

One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.

You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,

Not able to clone.

Log please…

pis1kor@pis1kor-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/pis1kor/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
pis1kor@pis1kor-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:22                               ` Maupin, Chase
@ 2013-08-07 12:33                                 ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:43                                   ` Maupin, Chase
  2013-08-07 12:43                                   ` Maupin, Chase
  0 siblings, 2 replies; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 12:33 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago

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

Hi,


I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”



I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.

But I am getting the same error.

Thanks.

Log:
xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
Pseudo is not present but is required, building this first before the main build
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: SRCREV was used yet no valid SCM was found in SRC_URI

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: SRCREV was used yet no valid SCM was found in SRC_URI

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.

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.

One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.

You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,

Not able to clone.

Log please…

xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
xxx@xxx-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:33                                 ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 12:43                                   ` Maupin, Chase
  2013-08-07 12:53                                     ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:43                                   ` Maupin, Chase
  1 sibling, 1 reply; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:43 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,


I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”



I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.

But I am getting the same error.

Thanks.

Log:
xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
Pseudo is not present but is required, building this first before the main build
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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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.

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.

One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.

You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,

Not able to clone.

Log please…

xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
xxx@xxx-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:33                                 ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 12:43                                   ` Maupin, Chase
@ 2013-08-07 12:43                                   ` Maupin, Chase
  1 sibling, 0 replies; 31+ messages in thread
From: Maupin, Chase @ 2013-08-07 12:43 UTC (permalink / raw)
  To: Maupin, Chase, Sivaprasad Pala (RBEI/EAA1), Dmytriyenko, Denys; +Cc: meta-arago

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

I got a bounce.  Trying again.


From: Maupin, Chase
Sent: Wednesday, August 07, 2013 6:13 PM
To: 'Sivaprasad Pala (RBEI/EAA1)'; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,


I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”



I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.

But I am getting the same error.

Thanks.

Log:
xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
Pseudo is not present but is required, building this first before the main build
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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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.

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.

One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.

You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,

Not able to clone.

Log please…

xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
xxx@xxx-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

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

* Re: error while building yocto for am335x
  2013-08-07 12:43                                   ` Maupin, Chase
@ 2013-08-07 12:53                                     ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 14:24                                       ` Denys Dmytriyenko
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 12:53 UTC (permalink / raw)
  To: Maupin, Chase, Dmytriyenko, Denys; +Cc: meta-arago


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

I didn’t did any changes in any other layers.

Please find the attached recipes.

Thanks.


From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: RE: [meta-arago] error while building yocto for am335x

Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,


I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”



I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.

But I am getting the same error.

Thanks.

Log:
xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
Pseudo is not present but is required, building this first before the main build
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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI

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.

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.

One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.

You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hi,

Not able to clone.

Log please…

xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
xxx@xxx-desktop:~/tmp/https$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

So the clone you did was using the http protocol.  Can you try it using the git protocol of git://


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

Hello Maupin,

I can able to clone manually in my machine.

Please find the log below.

Thanks,
Siva

xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$ ls
hello-world  ti-utils
xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
xxx@xxx-desktop:~/tmp/https/ti-utils$

From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


What all repositories should I clone manually and in which location I should clone…

Thanks,
From: Maupin, Chase [mailto:chase.maupin@ti.com]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x

It seems you were unable to lookup github.com?  can you clone the repository manually?


From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
Subject: RE: [meta-arago] error while building yocto for am335x


Hi all,



Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"

>

> 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<mailto: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> [mailto:meta-arago-

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

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

> >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>

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

> _______________________________________________

> meta-arago mailing list

> meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>

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

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

[-- Attachment #2: ti-wifi-utils.inc --]
[-- Type: application/octet-stream, Size: 864 bytes --]

DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver"

DEPENDS = "libnl"
RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware"

PR ="r1"

SRCREV = "ol_R5.00.18"
SRC_URI = "http://github.com/TI-OpenLink/ti-utils.git;protocol=http"

S = "${WORKDIR}/git"

export CROSS_COMPILE = "${TARGET_PREFIX}"
CFLAGS += " -DCONFIG_LIBNL20"

do_install() {
	install -d ${D}${bindir}
	install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
	install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x

	install -m 0755 calibrator ${D}${bindir}/
	install -m 0755 ${S}/hw/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x
	install -m 0755 ${S}/hw/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x
}

FILES_${PN} += " \
	${datadir}/ti/wifi-utils/ini_files/127x \
	${datadir}/ti/wifi-utils/ini_files/128x \
"

[-- Attachment #3: ti-wifi-utils_r5.00.18.bb --]
[-- Type: application/octet-stream, Size: 168 bytes --]

require ti-wifi-utils.inc

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

PR_append ="a+gitr${SRCPV}"

SRCREV = "ol_R5.00.18"

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

* Re: error while building yocto for am335x
  2013-08-07 12:53                                     ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 14:24                                       ` Denys Dmytriyenko
  2013-08-07 16:31                                         ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Denys Dmytriyenko @ 2013-08-07 14:24 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1); +Cc: meta-arago

Sorry to interrupt this long conversation, but all it requires is to properly 
configure your proxy settings:

http://arago-project.org/wiki/index.php/Proxy_Settings
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
There are other resources as well...

Please stop messing the recipes up - you'll have even more problems.

-- 
Denys


On Wed, Aug 07, 2013 at 08:53:49PM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> I didn’t did any changes in any other layers.
> 
> Please find the attached recipes.
> 
> Thanks.
> 
> 
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 6:13 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.
> 
> Sincerely,
> Chase Maupin
> Integration Team Manager
> Linux Core Product Development
> e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> phone: (214) 567-2950
> 
> For support:
> Forums - http://community.ti.com/forums/
> Wiki - http://wiki.davincidsp.com/
> 
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 6:04 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> Hi,
> 
> 
> I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”
> 
> 
> 
> I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.
> 
> But I am getting the same error.
> 
> Thanks.
> 
> Log:
> xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> Pseudo is not present but is required, building this first before the main build
> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> 
> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> 
> 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.
> 
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:53 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.
> 
> One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.
> 
> You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.
> 
> Sincerely,
> Chase Maupin
> Integration Team Manager
> Linux Core Product Development
> e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> phone: (214) 567-2950
> 
> For support:
> Forums - http://community.ti.com/forums/
> Wiki - http://wiki.davincidsp.com/
> 
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:50 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> Hi,
> 
> Not able to clone.
> 
> Log please…
> 
> xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> fatal: Unable to look up github.com (port 9418) (Name or service not known)
> xxx@xxx-desktop:~/tmp/https$
> 
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:47 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> So the clone you did was using the http protocol.  Can you try it using the git protocol of git://
> 
> 
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:45 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> Hello Maupin,
> 
> I can able to clone manually in my machine.
> 
> Please find the log below.
> 
> Thanks,
> Siva
> 
> xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> remote: Counting objects: 2080, done.
> remote: Compressing objects: 100% (615/615), done.
> remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
> Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
> Resolving deltas: 100% (1490/1490), done.
> xxx@xxx-desktop:~/tmp/https$ ls
> hello-world  ti-utils
> xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
> xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
> Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
> xxx@xxx-desktop:~/tmp/https/ti-utils$
> 
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:33 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.
> 
> 
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:12 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> 
> What all repositories should I clone manually and in which location I should clone…
> 
> Thanks,
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 2:59 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> It seems you were unable to lookup github.com?  can you clone the repository manually?
> 
> 
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 1:36 PM
> To: Dmytriyenko, Denys; Maupin, Chase
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
> 
> 
> Hi all,
> 
> 
> 
> Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"
> 
> >
> 
> > 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<mailto: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> [mailto:meta-arago-
> 
> > >>bounces@arago-project.org<mailto:bounces@arago-project.org>] On Behalf Of siva
> 
> > >>Sent: Thursday, August 01, 2013 11:04 AM
> 
> > >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>
> 
> > >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> > _______________________________________________
> 
> > meta-arago mailing list
> 
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> 
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago





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

* Re: error while building yocto for am335x
  2013-08-07 14:24                                       ` Denys Dmytriyenko
@ 2013-08-07 16:31                                         ` Sivaprasad Pala (RBEI/EAA1)
  2013-08-07 16:57                                           ` Denys Dmytriyenko
  0 siblings, 1 reply; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-07 16:31 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

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

Hi,

I followed the link given by you.
Script git-proxy kept in /usr/local/bin/ which is attached.
Exported variable GIT_PROXY_COMMAND like : "export GIT_PROXY_COMMAND=/usr/local/bin/git-proxy"
Installed "ncat" (natcat utility) as the git-proxy script expects.

1) Then I tried to clone ti-utils form github.
It started gitting. I can able to see ti-utils and ti-utils/.git directories in pwd.
But it is not coming out from it. Please find the Log 1.

2) Tried to execute MACHINE=am335x-evm bitbake hello-world.
It continuously showing 1% .Please find the Log 2.



Log 1 :
"xxx@xxx-desktop:~/tmp/https$ git clone git://github.com/TI-OpenLink/ti-utils.git
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/

"

Log 2 :
"xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |########################################################################################################################################################################################################| ETA:  00:00:00
Loaded 52 entries from dependency cache.
Parsing recipes:   1% |###                                                                                                                                                                                                   | ETA:  00:03:09


"


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

Sorry to interrupt this long conversation, but all it requires is to properly
configure your proxy settings:

http://arago-project.org/wiki/index.php/Proxy_Settings
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
There are other resources as well...

Please stop messing the recipes up - you'll have even more problems.

--
Denys


On Wed, Aug 07, 2013 at 08:53:49PM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> I didn’t did any changes in any other layers.
>
> Please find the attached recipes.
>
> Thanks.
>
>
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 6:13 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.
>
> Sincerely,
> Chase Maupin
> Integration Team Manager
> Linux Core Product Development
> e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> phone: (214) 567-2950
>
> For support:
> Forums - http://community.ti.com/forums/
> Wiki - http://wiki.davincidsp.com/
>
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 6:04 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> Hi,
>
>
> I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”
>
>
>
> I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.
>
> But I am getting the same error.
>
> Thanks.
>
> Log:
> xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> Pseudo is not present but is required, building this first before the main build
> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
>
> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
>
> 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.
>
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:53 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.
>
> One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.
>
> You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.
>
> Sincerely,
> Chase Maupin
> Integration Team Manager
> Linux Core Product Development
> e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> phone: (214) 567-2950
>
> For support:
> Forums - http://community.ti.com/forums/
> Wiki - http://wiki.davincidsp.com/
>
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:50 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> Hi,
>
> Not able to clone.
>
> Log please…
>
> xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> fatal: Unable to look up github.com (port 9418) (Name or service not known)
> xxx@xxx-desktop:~/tmp/https$
>
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:47 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> So the clone you did was using the http protocol.  Can you try it using the git protocol of git://
>
>
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:45 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> Hello Maupin,
>
> I can able to clone manually in my machine.
>
> Please find the log below.
>
> Thanks,
> Siva
>
> xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> remote: Counting objects: 2080, done.
> remote: Compressing objects: 100% (615/615), done.
> remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
> Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
> Resolving deltas: 100% (1490/1490), done.
> xxx@xxx-desktop:~/tmp/https$ ls
> hello-world  ti-utils
> xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
> xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
> Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
> xxx@xxx-desktop:~/tmp/https/ti-utils$
>
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 5:33 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.
>
>
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 5:12 PM
> To: Maupin, Chase; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
>
> What all repositories should I clone manually and in which location I should clone…
>
> Thanks,
> From: Maupin, Chase [mailto:chase.maupin@ti.com]
> Sent: Wednesday, August 07, 2013 2:59 PM
> To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
> It seems you were unable to lookup github.com?  can you clone the repository manually?
>
>
> From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> Sent: Wednesday, August 07, 2013 1:36 PM
> To: Dmytriyenko, Denys; Maupin, Chase
> Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> Subject: RE: [meta-arago] error while building yocto for am335x
>
>
> Hi all,
>
>
>
> Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"
>
> >
>
> > 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<mailto: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> [mailto:meta-arago-
>
> > >>bounces@arago-project.org<mailto:bounces@arago-project.org>] On Behalf Of siva
>
> > >>Sent: Thursday, August 01, 2013 11:04 AM
>
> > >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>
>
> > >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
> > _______________________________________________
>
> > meta-arago mailing list
>
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
>
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago




[-- Attachment #2: git-proxy --]
[-- Type: application/octet-stream, Size: 148 bytes --]

#!/bin/sh
PROXYHOST=xxxx 
PROXYPORT=1080
(echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | /usr/bin/ncat $PROXYHOST $PROXYPORT | (read a; read a; cat )

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

* Re: error while building yocto for am335x
  2013-08-07 16:31                                         ` Sivaprasad Pala (RBEI/EAA1)
@ 2013-08-07 16:57                                           ` Denys Dmytriyenko
  2013-08-08  8:02                                             ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 1 reply; 31+ messages in thread
From: Denys Dmytriyenko @ 2013-08-07 16:57 UTC (permalink / raw)
  To: Sivaprasad Pala (RBEI/EAA1); +Cc: meta-arago

Well, you could try different options using netcat, socat or corkscrew - some 
of them are listed in the 2 links I sent.

OR, you could talk to your IT department and ask them what type of proxy 
server is being used and what is the recommended way to connect to the outside 
world. In this case the type of the proxy is the most important part - the 
most common is HTTP/HTTPS proxy that accepts CONNECT commands, but there can 
be variations, like required authentication, or it could be SOCKS4 or SOCK5 
proxies, which are completely different. And based on what your IT tells you, 
you need to configure your setup.

-- 
Denys


On Thu, Aug 08, 2013 at 12:31:04AM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> Hi,
> 
> I followed the link given by you.
> Script git-proxy kept in /usr/local/bin/ which is attached.
> Exported variable GIT_PROXY_COMMAND like : "export GIT_PROXY_COMMAND=/usr/local/bin/git-proxy"
> Installed "ncat" (natcat utility) as the git-proxy script expects.
> 
> 1) Then I tried to clone ti-utils form github.
> It started gitting. I can able to see ti-utils and ti-utils/.git directories in pwd.
> But it is not coming out from it. Please find the Log 1.
> 
> 2) Tried to execute MACHINE=am335x-evm bitbake hello-world.
> It continuously showing 1% .Please find the Log 2.
> 
> 
> 
> Log 1 :
> "xxx@xxx-desktop:~/tmp/https$ git clone git://github.com/TI-OpenLink/ti-utils.git
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> 
> "
> 
> Log 2 :
> "xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> Pseudo is not present but is required, building this first before the main build
> Loading cache: 100% |########################################################################################################################################################################################################| ETA:  00:00:00
> Loaded 52 entries from dependency cache.
> Parsing recipes:   1% |###                                                                                                                                                                                                   | ETA:  00:03:09
> 
> 
> "
> 
> 
> -----Original Message-----
> From: Denys Dmytriyenko [mailto:denys@ti.com]
> Sent: Wednesday, August 07, 2013 7:54 PM
> To: Sivaprasad Pala (RBEI/EAA1)
> Cc: Maupin, Chase; meta-arago@arago-project.org
> Subject: Re: [meta-arago] error while building yocto for am335x
> 
> Sorry to interrupt this long conversation, but all it requires is to properly
> configure your proxy settings:
> 
> http://arago-project.org/wiki/index.php/Proxy_Settings
> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
> There are other resources as well...
> 
> Please stop messing the recipes up - you'll have even more problems.
> 
> --
> Denys
> 
> 
> On Wed, Aug 07, 2013 at 08:53:49PM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> > I didn’t did any changes in any other layers.
> >
> > Please find the attached recipes.
> >
> > Thanks.
> >
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 6:13 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.
> >
> > Sincerely,
> > Chase Maupin
> > Integration Team Manager
> > Linux Core Product Development
> > e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> > phone: (214) 567-2950
> >
> > For support:
> > Forums - http://community.ti.com/forums/
> > Wiki - http://wiki.davincidsp.com/
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 6:04 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hi,
> >
> >
> > I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”
> >
> >
> >
> > I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.
> >
> > But I am getting the same error.
> >
> > Thanks.
> >
> > Log:
> > xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> > Pseudo is not present but is required, building this first before the main build
> > 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> >
> > 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> >
> > 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.
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:53 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.
> >
> > One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.
> >
> > You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.
> >
> > Sincerely,
> > Chase Maupin
> > Integration Team Manager
> > Linux Core Product Development
> > e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> > phone: (214) 567-2950
> >
> > For support:
> > Forums - http://community.ti.com/forums/
> > Wiki - http://wiki.davincidsp.com/
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:50 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hi,
> >
> > Not able to clone.
> >
> > Log please…
> >
> > xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
> > Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> > fatal: Unable to look up github.com (port 9418) (Name or service not known)
> > xxx@xxx-desktop:~/tmp/https$
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:47 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > So the clone you did was using the http protocol.  Can you try it using the git protocol of git://
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:45 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hello Maupin,
> >
> > I can able to clone manually in my machine.
> >
> > Please find the log below.
> >
> > Thanks,
> > Siva
> >
> > xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
> > Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> > remote: Counting objects: 2080, done.
> > remote: Compressing objects: 100% (615/615), done.
> > remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
> > Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
> > Resolving deltas: 100% (1490/1490), done.
> > xxx@xxx-desktop:~/tmp/https$ ls
> > hello-world  ti-utils
> > xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
> > xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
> > Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
> > xxx@xxx-desktop:~/tmp/https/ti-utils$
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:33 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:12 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> >
> > What all repositories should I clone manually and in which location I should clone…
> >
> > Thanks,
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 2:59 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > It seems you were unable to lookup github.com?  can you clone the repository manually?
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 1:36 PM
> > To: Dmytriyenko, Denys; Maupin, Chase
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> >
> > Hi all,
> >
> >
> >
> > Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"
> >
> > >
> >
> > > 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<mailto: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> [mailto:meta-arago-
> >
> > > >>bounces@arago-project.org<mailto:bounces@arago-project.org>] On Behalf Of siva
> >
> > > >>Sent: Thursday, August 01, 2013 11:04 AM
> >
> > > >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>
> >
> > > >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> >
> > > meta-arago mailing list
> >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> 
> 




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

* Re: error while building yocto for am335x
  2013-08-07 16:57                                           ` Denys Dmytriyenko
@ 2013-08-08  8:02                                             ` Sivaprasad Pala (RBEI/EAA1)
  0 siblings, 0 replies; 31+ messages in thread
From: Sivaprasad Pala (RBEI/EAA1) @ 2013-08-08  8:02 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

Hi,

Just now I changed port to 1080 to 8080.
Now  I can able to git "ti-utils". Please find log 1.


Now I am trying to git arago-project. And wanted to do fresh build for am335x.
I am getting some protocol error.
Please find log 2.

Thanks,
Siva.

Log 1 :
xxx@xxx-desktop:~/tmp/https$ git clone git://github.com/TI-OpenLink/ti-utils.git
Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
remote: Counting objects: 2080, done.
remote: Compressing objects: 100% (615/615), done.
remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
Receiving objects: 100% (2080/2080), 17.83 MiB | 268 KiB/s, done.
Resolving deltas: 100% (1490/1490), done.
xxx@xxx-desktop:~/tmp/https$


log 2:
pis1kor@pis1kor-desktop:~/build_system/try$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk_git
Initialized empty Git repository in /home/pis1kor/build_system/try/tisdk_git/.git/
fatal: protocol error: bad line length character: Prox
pis1kor@pis1kor-desktop:~/build_system/try$


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

Well, you could try different options using netcat, socat or corkscrew - some
of them are listed in the 2 links I sent.

OR, you could talk to your IT department and ask them what type of proxy
server is being used and what is the recommended way to connect to the outside
world. In this case the type of the proxy is the most important part - the
most common is HTTP/HTTPS proxy that accepts CONNECT commands, but there can
be variations, like required authentication, or it could be SOCKS4 or SOCK5
proxies, which are completely different. And based on what your IT tells you,
you need to configure your setup.

--
Denys


On Thu, Aug 08, 2013 at 12:31:04AM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> Hi,
>
> I followed the link given by you.
> Script git-proxy kept in /usr/local/bin/ which is attached.
> Exported variable GIT_PROXY_COMMAND like : "export GIT_PROXY_COMMAND=/usr/local/bin/git-proxy"
> Installed "ncat" (natcat utility) as the git-proxy script expects.
>
> 1) Then I tried to clone ti-utils form github.
> It started gitting. I can able to see ti-utils and ti-utils/.git directories in pwd.
> But it is not coming out from it. Please find the Log 1.
>
> 2) Tried to execute MACHINE=am335x-evm bitbake hello-world.
> It continuously showing 1% .Please find the Log 2.
>
>
>
> Log 1 :
> "xxx@xxx-desktop:~/tmp/https$ git clone git://github.com/TI-OpenLink/ti-utils.git
> Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
>
> "
>
> Log 2 :
> "xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> Pseudo is not present but is required, building this first before the main build
> Loading cache: 100% |########################################################################################################################################################################################################| ETA:  00:00:00
> Loaded 52 entries from dependency cache.
> Parsing recipes:   1% |###                                                                                                                                                                                                   | ETA:  00:03:09
>
>
> "
>
>
> -----Original Message-----
> From: Denys Dmytriyenko [mailto:denys@ti.com]
> Sent: Wednesday, August 07, 2013 7:54 PM
> To: Sivaprasad Pala (RBEI/EAA1)
> Cc: Maupin, Chase; meta-arago@arago-project.org
> Subject: Re: [meta-arago] error while building yocto for am335x
>
> Sorry to interrupt this long conversation, but all it requires is to properly
> configure your proxy settings:
>
> http://arago-project.org/wiki/index.php/Proxy_Settings
> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
> There are other resources as well...
>
> Please stop messing the recipes up - you'll have even more problems.
>
> --
> Denys
>
>
> On Wed, Aug 07, 2013 at 08:53:49PM +0800, Sivaprasad Pala (RBEI/EAA1) wrote:
> > I didn’t did any changes in any other layers.
> >
> > Please find the attached recipes.
> >
> > Thanks.
> >
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 6:13 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Can you send the recipe?  Have you made any other modifications in any other layers?  This error looks like an issue with the SRC_URI setting (like commenting out the line but leaving a trailing \) and an AUTOREV issue, but the recipe as I am aware of it is not an AUTOREV recipe.
> >
> > Sincerely,
> > Chase Maupin
> > Integration Team Manager
> > Linux Core Product Development
> > e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> > phone: (214) 567-2950
> >
> > For support:
> > Forums - http://community.ti.com/forums/
> > Wiki - http://wiki.davincidsp.com/
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 6:04 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hi,
> >
> >
> > I have changed the .inc file. I am getting the same log except “fatal: Unable to look up github.com (port 9418) (Name or service not known)”
> >
> >
> >
> > I tried with adding “import bb.fetch2” line in “sources/bitbake/bin/bitbake-layers” also.
> >
> > But I am getting the same error.
> >
> > Thanks.
> >
> > Log:
> > xxx@xxx-desktop:~/build_system/try/tisdk/build$ MACHINE=am335x-evm bitbake hello-world
> > Pseudo is not present but is required, building this first before the main build
> > 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> >
> > 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
> >
> > 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.
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:53 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > OK.  So it seems that maybe your IT has blocked the git protocol?  I’ve heard of companies doing that.
> >
> > One thing you could try if the git URL I sent you doesn’t work is changing the protocol=git entry in the meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc file to “http” instead of “git”.
> >
> > You may need to bump the PR or clean the recipe work directory to make sure this change takes effect.
> >
> > Sincerely,
> > Chase Maupin
> > Integration Team Manager
> > Linux Core Product Development
> > e-mail: chase.maupin@ti.com<mailto:chase.maupin@ti.com>
> > phone: (214) 567-2950
> >
> > For support:
> > Forums - http://community.ti.com/forums/
> > Wiki - http://wiki.davincidsp.com/
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:50 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hi,
> >
> > Not able to clone.
> >
> > Log please…
> >
> > xxx@xxx-desktop:~/tmp/https$ git clone  git://github.com/TI-OpenLink/ti-utils
> > Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> > fatal: Unable to look up github.com (port 9418) (Name or service not known)
> > xxx@xxx-desktop:~/tmp/https$
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:47 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > So the clone you did was using the http protocol.  Can you try it using the git protocol of git://
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:45 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > Hello Maupin,
> >
> > I can able to clone manually in my machine.
> >
> > Please find the log below.
> >
> > Thanks,
> > Siva
> >
> > xxx@xxx-desktop:~/tmp/https$ git clone  https://github.com/TI-OpenLink/ti-utils
> > Initialized empty Git repository in /home/xxx/tmp/https/ti-utils/.git/
> > remote: Counting objects: 2080, done.
> > remote: Compressing objects: 100% (615/615), done.
> > remote: Total 2080 (delta 1490), reused 2032 (delta 1444)
> > Receiving objects: 100% (2080/2080), 17.83 MiB | 102 KiB/s, done.
> > Resolving deltas: 100% (1490/1490), done.
> > xxx@xxx-desktop:~/tmp/https$ ls
> > hello-world  ti-utils
> > xxx@xxx-desktop:~/tmp/https$ cd ti-utils/
> > xxx@xxx-desktop:~/tmp/https/ti-utils$ ls
> > Android.mk  asi  calibrator.c  calibrator.h  COPYING  hw  ini.c  ini.h  Makefile  misc_cmds.c  nl80211.h  nvs.c  nvs.h  plt.c  plt.h  README  scripts  uim_rfkill  wl18xx_plt.c  wl18xx_plt.h  wlconf  wl_logproxy.c
> > xxx@xxx-desktop:~/tmp/https/ti-utils$
> >
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 5:33 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > I would try cloning the ti-wifi-utils just to make sure your git setup is correct.  Where is not important right now.
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 5:12 PM
> > To: Maupin, Chase; Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> >
> > What all repositories should I clone manually and in which location I should clone…
> >
> > Thanks,
> > From: Maupin, Chase [mailto:chase.maupin@ti.com]
> > Sent: Wednesday, August 07, 2013 2:59 PM
> > To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> > It seems you were unable to lookup github.com?  can you clone the repository manually?
> >
> >
> > From: Sivaprasad Pala (RBEI/EAA1) [mailto:Sivaprasad.Pala@in.bosch.com]
> > Sent: Wednesday, August 07, 2013 1:36 PM
> > To: Dmytriyenko, Denys; Maupin, Chase
> > Cc: meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > Subject: RE: [meta-arago] error while building yocto for am335x
> >
> >
> > Hi all,
> >
> >
> >
> > Now I am following sitara training<http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto: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<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d>"
> >
> > >
> >
> > > 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<mailto: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> [mailto:meta-arago-
> >
> > > >>bounces@arago-project.org<mailto:bounces@arago-project.org>] On Behalf Of siva
> >
> > > >>Sent: Thursday, August 01, 2013 11:04 AM
> >
> > > >>To: meta-arago@arago-project.org<mailto: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)}<mailto:$%7b@bb.fetch2.get_srcrev(d)%7d> 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<mailto:meta-arago@arago-project.org>
> >
> > > >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >
> > > _______________________________________________
> >
> > > meta-arago mailing list
> >
> > > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> >
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
>
>



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

end of thread, other threads:[~2013-08-08  8:02 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-24 18:29 [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHP hzhang
2013-04-24 19:16 ` Cooper Jr., Franklin
2013-04-24 19:21   ` Denys Dmytriyenko
2013-04-24 19:26   ` Zhang, Hao
2013-04-24 19:40     ` Cooper Jr., Franklin
2013-04-25  0:51       ` Zhang, Hao
2013-04-25 23:42         ` Cooper Jr., Franklin
2013-04-24 19:41     ` Denys Dmytriyenko
2013-08-01  5:33       ` error while building yocto for am335x siva
2013-08-01  8:09         ` Maupin, Chase
2013-08-01  8:47           ` Sivaprasad Pala (RBEI/EAA1)
2013-08-01  8:57             ` Maupin, Chase
2013-08-01 14:17               ` Denys Dmytriyenko
2013-08-07  8:05                 ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07  9:28                   ` Maupin, Chase
2013-08-07 11:41                     ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 12:03                       ` Maupin, Chase
2013-08-07 12:14                         ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 12:16                           ` Maupin, Chase
2013-08-07 12:19                             ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 12:22                               ` Maupin, Chase
2013-08-07 12:33                                 ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 12:43                                   ` Maupin, Chase
2013-08-07 12:53                                     ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 14:24                                       ` Denys Dmytriyenko
2013-08-07 16:31                                         ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 16:57                                           ` Denys Dmytriyenko
2013-08-08  8:02                                             ` Sivaprasad Pala (RBEI/EAA1)
2013-08-07 12:43                                   ` Maupin, Chase
2013-08-07 12:19                           ` Maupin, Chase
2013-08-07 12:22                             ` Sivaprasad Pala (RBEI/EAA1)

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.