matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
PATCH 1/1 matrix-lighttpd-config: add static cgi and .out support in Matrix PHP
From: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-lighttpd-config/lighttpd.conf.matrix +2 -2
@@ -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" ) #
Signature · 1 line
1.7.9.5
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?
Quoted 50 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensions shouldnot be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )(quoted diff) +2
-0+static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o" +) ######### Options that are good to be but not neccesary to be changed#######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/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.
Signature · 1 line
Denys
Quoted 59 lines · Franklin
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?
Quoted 46 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensions shouldnot be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )(quoted diff) +2
-0+static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi", ".o" +) ######### Options that are good to be but not neccesary to be changed#######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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.5Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
See attached the example.
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; [email protected]
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?
Quoted 51 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensionsshould not be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi(quoted diff) +2
-1-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#######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/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
Quoted 73 lines
-----Original Message-----
From: Zhang, Hao
Sent: Wednesday, April 24, 2013 2:27 PM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPSee attached the example.
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPcgi.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?
Quoted 51 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensionsshould not be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi(quoted diff) +2
-1-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#######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Right, but what's with the .o?
Quoted 70 lines · Hao
See attached the example.
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPcgi.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?
Quoted 47 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensionsshould not be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi(quoted diff) +2
-1-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#######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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.5Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
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; [email protected]
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
Quoted 74 lines
-----Original Message-----
From: Zhang, Hao
Sent: Wednesday, April 24, 2013 2:27 PM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPSee attached the example.
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPcgi.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?
Quoted 52 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensionsshould not be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi(quoted diff) +2
-1-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 bechanged #######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/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.
Quoted 134 lines
-----Original Message-----
From: Zhang, Hao
Sent: Wednesday, April 24, 2013 7:51 PM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFranklin,
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; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPMatrix 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.shwould contain:echo " System Up Time"
cat/proc/uptimeecho "CPU Info"
cat/proc/cpuinfoecho "Linux version
uname -srmTMPFILE=
mktemp
mount | awk ' {print "device ", $1," mounted on ",$3, " as ", $5, "filesystem"}' > $TMPFILEecho "Mount Info"
cat $TMPFILE
rm $TMPFILEecho "Network Interfaces"
ifconfig
echo "Routing table"
routeecho "Module Info"
lsmodAnd your utility_info.desktop will be set to:
Exec=utility_info.shQuoted 9 lines
-----Original Message-----
From: Zhang, Hao
Sent: Wednesday, April 24, 2013 2:27 PM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPSee attached the example.
Quoted 8 lines
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, April 24, 2013 3:17 PM
To: Zhang, Hao; [email protected]
Subject: RE: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPcgi.assign = ( ".php" => "
/usr/bin/php-cgi", ".cgi" => "/bin/sh", ".o"=>
Quoted 57 lines
"" )
Can you give an example of the .cgi and .o file that requires this change?
Quoted 52 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Zhang, Hao
Sent: Wednesday, April 24, 2013 1:29 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-lighttpd-config: add static cgi and .out support in Matrix PHPFrom: Hao Zhang <[email protected]>
--- .../matrix-lighttpd-config/lighttpd.conf.matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0config/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(quoted diff) +0
-0@@ -137,7 +137,7 @@ $HTTP["url"] =~ "\.pdf$" { # which extensionsshould not be handle via static-file transfer # # .php, .pl, .fcgi are most often handled by
mod_fastcgiormod_cgi(quoted diff) +2
-1-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 bechanged #######
(quoted diff) +0
-0@@ -225,7 +225,7 @@ compress.filetype = ("text/plain","text/html","text/javascript","text/
# )#### CGI module
(quoted diff) +1
-1-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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
error while building yocto for am335x
In reply to Denys Dmytriyenkohello 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$
Re: 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?
Quoted 62 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]
Subject: [meta-arago] error while building yocto for am335xhello all,
I followed steps mentioned in below wiki.
http://arago-
project.org/wiki/index.php/Setting_Up_Build_EnvironmentI 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 knownERROR: 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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)}"
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:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]
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?
Quoted 62 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]
Subject: [meta-arago] error while building yocto for am335xhello all,
I followed steps mentioned in below wiki.
http://arago-
project.org/wiki/index.php/Setting_Up_Build_EnvironmentI 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 knownERROR: 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
Quoted 7 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]
Subject: RE: [meta-arago] error while building yocto for am335x
Quoted 6 lines
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
Quoted 9 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clonegit://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.
Quoted 82 lines
Thanks for the reply.
Regards,
Siva.-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xLtp-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?
Quoted 23 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]
Subject: [meta-arago] error while building yocto for am335xhello all,
I followed steps mentioned in below wiki.
http://arago-
project.org/wiki/index.php/Setting_Up_Build_EnvironmentI 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.Quoted 6 lines
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% |#################################################################
Quoted 7 lines
#############
######################################################|
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--
Quoted 26 lines
:--
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 knownERROR: 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
Quoted 9 lines · Chase
Quoted 9 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xHi,
Quoted 7 lines
Quoted 4 lines
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.
Quoted 9 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clonegit://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"
Quoted 7 lines
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
Quoted 88 lines
You need to get the proxy host and port from your IT department.
Quoted 48 lines
Thanks for the reply.
Regards,
Siva.-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xLtp-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?
Quoted 23 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]
Subject: [meta-arago] error while building yocto for am335xhello all,
I followed steps mentioned in below wiki.
http://arago-
project.org/wiki/index.php/Setting_Up_Build_EnvironmentI 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.Quoted 6 lines
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% |#################################################################
Quoted 34 lines
Quoted 7 lines
#############
######################################################|
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--
Quoted 26 lines
:--
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 knownERROR: 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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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)} 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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Sivaprasad Pala (RBEI/EAA1)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: [email protected]
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Maupin, ChaseHi,
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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: [email protected]
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Maupin, ChaseThe 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:49 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Maupin, ChaseHi,
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_URIERROR: 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_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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: [email protected]
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Sivaprasad Pala (RBEI/EAA1)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: [email protected]
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
In reply to Maupin, ChaseI didn’t did any changes in any other layers.
Please find the attached recipes.
Thanks.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950
For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
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:$%[email protected]_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:$%[email protected]_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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335x
Quoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”
Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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.
Signature · 1 line
Denys
Quoted 922 lines · 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:[email protected]]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xCan you send the recipe? Have you made any other modifications in any other layers? This error looks like an issue with the
SRC_URIsetting (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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xOK. 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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xSo 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHello Maupin,
I can able to clone manually in my machine.
Please find the log below.
Thanks,
Sivaxxx@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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xI 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xWhat all repositories should I clone manually and in which location I should clone…
Thanks,
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xIt seems you were unable to lookup github.com? can you clone the repository manually?
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi 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:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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.bbERROR: Error executing a python function in <code>:
ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335xQuoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
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:[email protected]]
Sent: Wednesday, August 07, 2013 7:54 PM
To: Sivaprasad Pala (RBEI/EAA1)
Cc: Maupin, Chase; [email protected]
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
Quoted 922 lines · 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:[email protected]]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xCan you send the recipe? Have you made any other modifications in any other layers? This error looks like an issue with the
SRC_URIsetting (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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xOK. 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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xSo 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHello Maupin,
I can able to clone manually in my machine.
Please find the log below.
Thanks,
Sivaxxx@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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xI 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xWhat all repositories should I clone manually and in which location I should clone…
Thanks,
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xIt seems you were unable to lookup github.com? can you clone the repository manually?
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi 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:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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.bbERROR: Error executing a python function in <code>:
ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335xQuoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: 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.
Signature · 1 line
Denys
Quoted 979 lines · 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 variableGIT_PROXY_COMMANDlike : "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:[email protected]]
Sent: Wednesday, August 07, 2013 7:54 PM
To: Sivaprasad Pala (RBEI/EAA1)
Cc: Maupin, Chase; [email protected]
Subject: Re: [meta-arago] error while building yocto for am335xSorry 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.
--
DenysQuoted 922 lines · 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:[email protected]]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xCan you send the recipe? Have you made any other modifications in any other layers? This error looks like an issue with the
SRC_URIsetting (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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xOK. 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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xSo 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHello Maupin,
I can able to clone manually in my machine.
Please find the log below.
Thanks,
Sivaxxx@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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xI 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xWhat all repositories should I clone manually and in which location I should clone…
Thanks,
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xIt seems you were unable to lookup github.com? can you clone the repository manually?
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi 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:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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.bbERROR: Error executing a python function in <code>:
ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335xQuoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: error while building yocto for am335x
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:[email protected]]
Sent: Wednesday, August 07, 2013 10:27 PM
To: Sivaprasad Pala (RBEI/EAA1)
Cc: Maupin, Chase; [email protected]
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
Quoted 979 lines · 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 variableGIT_PROXY_COMMANDlike : "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:[email protected]]
Sent: Wednesday, August 07, 2013 7:54 PM
To: Sivaprasad Pala (RBEI/EAA1)
Cc: Maupin, Chase; [email protected]
Subject: Re: [meta-arago] error while building yocto for am335xSorry 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.
--
DenysQuoted 922 lines · 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:[email protected]]
Sent: Wednesday, August 07, 2013 6:13 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]
Subject: RE: [meta-arago] error while building yocto for am335xCan you send the recipe? Have you made any other modifications in any other layers? This error looks like an issue with the
SRC_URIsetting (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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 6:04 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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:$%[email protected]_srcrev(d)%7d> which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URIERROR: 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 1Summary: There were 140 ERROR messages shown, returning a non-zero exit code.
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:53 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xOK. 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: [email protected]<mailto:[email protected]>
phone: (214) 567-2950For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 5:50 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi,
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:[email protected]]
Sent: Wednesday, August 07, 2013 5:47 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xSo 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:45 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHello Maupin,
I can able to clone manually in my machine.
Please find the log below.
Thanks,
Sivaxxx@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:[email protected]]
Sent: Wednesday, August 07, 2013 5:33 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xI 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:[email protected]]
Sent: Wednesday, August 07, 2013 5:12 PM
To: Maupin, Chase; Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xWhat all repositories should I clone manually and in which location I should clone…
Thanks,
From: Maupin, Chase [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 2:59 PM
To: Sivaprasad Pala (RBEI/EAA1); Dmytriyenko, Denys
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xIt seems you were unable to lookup github.com? can you clone the repository manually?
From: Sivaprasad Pala (RBEI/EAA1) [mailto:[email protected]]
Sent: Wednesday, August 07, 2013 1:36 PM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]<mailto:[email protected]>
Subject: RE: [meta-arago] error while building yocto for am335xHi 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:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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.bbERROR: Error executing a python function in <code>:
ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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_bbclassERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 293, in getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 140, in expandWithRefsERROR: 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, invar_subERROR: 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 getVarERROR: return
self.expand(value, var)ERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 157, in expandERROR: return
self.expandWithRefs(s, varname).valueERROR:
ERROR: File "
/home/xxx/build_system/try/tisdk/sources/bitbake/lib/bb/data_smart.py", line 147, in expandWithRefsERROR: 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 andos.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:[email protected]]
Sent: Thursday, August 01, 2013 7:48 PM
To: Maupin, Chase
Cc: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
Subject: Re: [meta-arago] error while building yocto for am335xQuoted 24 lines · Chase
Quoted 23 lines
-----Original Message-----
From: Sivaprasad Pala (RBEI/EAA1)
[mailto:[email protected]]
Sent: Thursday, August 01, 2013 2:17 PM
To: Maupin, Chase; [email protected]<mailto:[email protected]>
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:"
Quoted 7 lines
Quoted 1 line
And "SRCPV, expression was ${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_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.
Quoted 24 lines
Quoted 8 lines
And,
I am trying to setup "git proxy settings".
Under corporate firewall I am unable to use command "git clone
Quoted 7 lines
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
Quoted 7 lines
exec env corkscrew <your proxy host> <your proxy port> $*
chmod +x
~/git-proxy.shThen set git to use this proxy script
git config --global core.gitproxy “~/git-proxy.sh”Or export GITPROXYCOMMAND=~/git-proxy.sh
Quoted 175 lines
You need to get the proxy host and port from your IT department.
Quoted 104 lines
Thanks for the reply.
Regards,
Siva.
-----Original Message-----
From: Maupin, Chase [mailto:[email protected]]
Sent: Thursday, August 01, 2013 1:39 PM
To: Sivaprasad Pala (RBEI/EAA1); [email protected]<mailto:[email protected]>
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?
Quoted 50 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:meta-arago-
[email protected]<mailto:[email protected]>] On Behalf Of siva
Sent: Thursday, August 01, 2013 11:04 AM
To: [email protected]<mailto:[email protected]>
Subject: [meta-arago] error while building yocto for am335x
hello all,
I followed steps mentioned in below wiki.
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
Quoted 7 lines
Pseudo is not present but is required, building this first before
the main build
Loading cache: 100%
|################################################################
#
Quoted 7 lines
#############
######################################################|
ETA: 00:00:00
Loaded 72 entries from dependency cache.
Quoted 59 lines
Quoted 5 lines
NOTE: Error during finalise of/home/xxxxx/tisdk/sources/meta-
arago/
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb-
-
Quoted 51 lines
:--
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:$%[email protected]_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
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]<mailto:[email protected]>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago