[yocto] yocto offline build

Sivaprasad Pala (RBEI/EAA1) Sivaprasad.Pala at in.bosch.com
Mon Jan 6 00:12:02 PST 2014


Hello Amit,

I have changed local.conf as you mentioned.
I got error (The below mentioned file is missing ) as I understood. Please find log 1.

And I have manually downloaded the file linux-at91.git.tar.gz from github and renamed it as git2_github.com.linux4sam.linux-at91.git.tar.gz.
Then I gave the build again. Please find the log 2 .

If I give the build with only DL_DIR ?=  "/opt/lgp/downloads/sama5d3xek_downloads " means on offline build. Like normal build it is working fine.

Can you please tell me what might be the reason for the build error.


Thanks and Regards,
Sivaprasad Pala.




Log 1:
file:///opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz
Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
Loaded 1139 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:00:34
Parsing of 830 .bb files complete (829 cached, 1 parsed). 1138 targets, 40 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "sama5d3xek"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.2"
TUNE_FEATURES     = "armv7a vfp thumb callconvention-hard cortexa5"
TARGET_FPU        = "vfp"
meta              = "master:585eba90cf6e5d6151c025ca47a050a13db0c652"
meta-yocto        = "master:8c567d8d301a49f625ca98513a7e37a6b3c4e0b5"
meta-yocto-bsp    = "master:bb83df38e46b9ad0c7ed1bfc1e814c85c16ed9b6"
meta-atmel-master = "master:00387cba3551814841c486122d12c40e31a3e215"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: Network access disabled through BB_NO_NETWORK but access requested with command git fetch -f --prune git://github.com/linux4sam/linux-at91.git refs/*:refs/* (for url git://github.com/linux4sam/linux-at91.git;protocol=git)
ERROR: Logfile of failure stored in: /home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/linux-yocto-custom/3.6.9+linux-3.6.9-at91-r1/temp/log.do_fetch.4809
Log data follows:
| DEBUG: Executing python function do_fetch
| DEBUG: Executing python function base_do_fetch
| DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor:shnasv@10.187.52.240:8080"; export https_proxy="https://pis1kor:96krishnasv@10.187.52.240:8080"; export http_proxy="http://pis1kor:shnasv@10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
| DEBUG: Trying PREMIRRORS
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['svn', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['git', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url git://github.com/linux4sam/linux-at91.git;protocol=git returning file:///opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['svk', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['p4', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['osc', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['hg', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['svk', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['p4', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['osc', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
| DEBUG: Mirror fetch failure for url file:///opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz (original url: git://github.com/linux4sam/linux-at91.git;protocol=git)
| DEBUG: Fetcher failure: Unable to find file file:///opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz anywhere. The paths that were searched were:
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/arm
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/armv7a
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/sama5d3xek
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/poky
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom-3.6.9+linux-3.6.9-at91/arm
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom-3.6.9+linux-3.6.9-at91/armv7a
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom-3.6.9+linux-3.6.9-at91/sama5d3xek
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom-3.6.9+linux-3.6.9-at91/poky
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom-3.6.9+linux-3.6.9-at91/
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/arm
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/armv7a
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/sama5d3xek
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/poky
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom/
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/files/arm
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/files/armv7a
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/files/sama5d3xek
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/files/poky
|     /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/files/
|     /opt/lgp/downloads/sama5d3xek_downloads
| DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
| DEBUG: Trying Upstream
| DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
| DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git remote rm origin
| DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git remote add --mirror=fetch origin git://github.com/linux4sam/linux-at91.git
| DEBUG: Python function base_do_fetch finished
| DEBUG: Python function do_fetch finished
| ERROR: Function failed: Network access disabled through BB_NO_NETWORK but access requested with command git fetch -f --prune git://github.com/linux4sam/linux-at91.git refs/*:refs/* (for url git://github.com/linux4sam/linux-at91.git;protocol=git)
ERROR: Task 622 (/home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom_3.6.9.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 478 tasks of which 476 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/pis1kor/siva/tmp/my_scripts/meta-atmel-master/recipes-kernel/linux/linux-yocto-custom_3.6.9.bb, do_fetch
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
pis1kor at KOR1015545VM1:~/siva/tmp/my_scripts$ vi build_atmel/conf/local.conf
pis1kor at KOR1015545VM1:~/siva/tmp/my_scripts$ bitbake -c clean linux-yocto-custom
Unable to find conf/bblayers.conf
BitBake must be run from within your build directory: /home/pis1kor/siva/tmp/my_scripts/build_atmel
pis1kor at KOR1015545VM1:~/siva/tmp/my_scripts$  cd build_atmel/
pis1kor at KOR1015545VM1:~/siva/tmp/my_scripts/build_atmel$ bitbake -c clean linux-yocto-custom
Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
Loaded 1139 entries from dependency cache.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "sama5d3xek"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4.2"
TUNE_FEATURES     = "armv7a vfp thumb callconvention-hard cortexa5"
TARGET_FPU        = "vfp"
meta              = "master:585eba90cf6e5d6151c025ca47a050a13db0c652"
meta-yocto        = "master:8c567d8d301a49f625ca98513a7e37a6b3c4e0b5"
meta-yocto-bsp    = "master:bb83df38e46b9ad0c7ed1bfc1e814c85c16ed9b6"
meta-atmel-master = "master:00387cba3551814841c486122d12c40e31a3e215"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.









Log :2
DEBUG: Executing python function do_fetch
DEBUG: Executing python function base_do_fetch
DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
DEBUG: Trying PREMIRRORS
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['svn', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['git', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url git://github.com/linux4sam/linux-at91.git;protocol=git returning file:///opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['svk', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['p4', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['osc', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/git2_github.com.linux4sam.linux-at91.git.tar.gz', '', '', {}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['hg', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['svk', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['p4', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['osc', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: For url ['git', 'github.com', '/linux4sam/linux-at91.git', '', '', {'protocol': 'git'}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['file', '', '/opt/lgp/downloads/sama5d3xek_downloads/', '', '', {}]
DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
DEBUG: Trying Upstream
DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git log --pretty=oneline -n 1 4e7767a24798b10de918b87540894c3953c6e220 -- 2> /dev/null | wc -l
DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: shnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git remote rm origin
DEBUG: Running export SSH_AGENT_PID="2055"; export SSH_AUTH_SOCK="/tmp/keyring-hgqhDa/ssh"; export GIT_PROXY_COMMAND="/usr/local/bin/git-proxy"; export ftp_proxy="ftp://pis1kor: shnasv at 10.187.52.240:8080"; export https_proxy="https://pis1kor: shnasv at 10.187.52.240:8080"; export http_proxy="http://pis1kor: hnasv at 10.187.52.240:8080"; export PATH="/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin/cortexa5hf-vfp-poky-linux-gnueabi:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/sama5d3xek/usr/bin/crossscripts:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/usr/bin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux/sbin:/home/pis1kor/siva/tmp/my_scripts/build_atmel/tmp/sysroots/x86_64-linux//bin:/home/pis1kor/siva/tmp/my_scripts/scripts:/home/pis1kor/siva/tmp/my_scripts/bitbake/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/pis1kor"; git remote add --mirror=fetch origin git://github.com/linux4sam/linux-at91.git
DEBUG: Python function base_do_fetch finished
DEBUG: Python function do_fetch finished
ERROR: Function failed: Network access disabled through BB_NO_NETWORK but access requested with command git fetch -f --prune git://github.com/linux4sam/linux-at91.git refs/*:refs/* (for url git://github.com/linux4sam/linux-at91.git;protocol=git)
From: Amit Kumar [mailto:Amit.Kumar at lntinfotech.com]
Sent: Monday, January 06, 2014 12:45 PM
To: Sivaprasad Pala (RBEI/EAA1)
Subject: RE: yocto offline build

Hi,

            The path of the "SOURCE_MIRROR_URL" should be the same as where you have downloaded or fetched all the packages.
Change instead of..
SOURCE_MIRROR_URL ?= "file://path/to/download/sources/<file:///\\path\to\download\sources\>"

Use this ...
SOURCE_MIRROR_URL ?= "${TOPDIR}/tmp/downloads-keepout"


Thanks & Regards
Amit K

From: yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org> [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Sivaprasad Pala (RBEI/EAA1)
Sent: Monday, January 06, 2014 10:26 AM
To: yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Subject: [yocto] yocto offline build

Hello Yocto Help,

I am trying to build yocto offline using below steps.
Steps:


 1.  bitbake -c fetchall core-image-minimal
 2.  conf/local.conf changes
DL_DIR ?= "${TOPDIR}/tmp/downloads-keepout"
SSTATE_DIR ?= "${TOPDIR}/sstate-cache"

BB_NO_NETWORK = "0"
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL ?= "file://path/to/download/sources/<file:///\\path\to\download\sources\>"
BB_GENERATE_MIRROR_TARBALLS = "1"
BB_FETCH_PREMIRRORONLY = "1"
CONNECTIVITY_CHECK_URIS=""
DISABLE_NETWORK_SANITY = "1"

 1.  bitbake core-image-minimal

But I am getting errors in the step 3 saying not able to "unpack".

Please tell me "IF I MISSED OUT ANY STEPS".

Thanks and Regards,
Sivaprasad Pala.


________________________________
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140106/1a2bd3ce/attachment.html>


More information about the yocto mailing list