Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Building Yocto Release 3.0 from sources error

nSrob
New Contributor I
1,017 Views

Hi. My OS is Ubuntu 14.04.4 LTS 32-bit.

I use iot-devkit-yp-poky-edison-20160315.zip source package (sources for Release 3.0 Yocto* complete image) Achieve md5:ee6ef7a6514e7c2c1bb9c085e165ced7, modified 06 May 2016 from here http://iotdk.intel.com/src/3.0/edison/ http://iotdk.intel.com/src/3.0/edison/ .

unzip iot-devkit-yp-poky-edison-20160315.zip

cd iot-devkit-yp-poky-edison-20160315/

mkdir bitbake_download_dir

mkdir bitbake_sstate_dir

./poky/meta-intel-edison/setup.sh --dl_dir=./bitbake_download_dir --sstate_dir=./bitbake_sstate_dir

I see:

** Success **

SDK will be generated for linux32 host

Now run these two commands to setup and build the flashable image:

cd /home/user/yocto/iot-devkit-yp-poky-edison-20160315/poky/out/linux32

source poky/oe-init-build-env

 

bitbake edison-image

*************

Start building:

cd ./poky/out/linux32

source poky/oe-init-build-env

bitbake edison-image

In the result:

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

WARNING: Failed to fetch URL git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.c.git;protocol=http, attempting MIRRORS if available

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:

Cloning into bare repository '/home/user/yocto/iot-devkit-yp-poky-edison-20160315/bitbake_download_dir/git2/git.eclipse.org.gitroot.paho.org.eclipse.paho.mqtt.c.git'...

fatal: repository ' http://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.c.git/' not found

ERROR: Function failed: Fetcher failure for URL: 'git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.c.git;protocol=http'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/user/yocto/iot-devkit-yp-poky-edison-20160315/poky/out/linux32/build/tmp/work/core2-32-poky-linux/paho-mqtt/3.1-r1/temp/log.do_fetch.8768

ERROR: Task 1066 (/home/user/yocto/iot-devkit-yp-poky-edison-20160315/poky/out/linux32/poky/meta-intel-iot-middleware/recipes-connectivity/paho-mqtt/paho-mqtt_3.1.bb, do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2059 tasks of which 2052 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

Summary: 1 task failed:

/home/user/yocto/iot-devkit-yp-poky-edison-20160315/poky/out/linux32/poky/meta-intel-iot-middleware/recipes-connectivity/paho-mqtt/paho-mqtt_3.1.bb, do_fetch

Summary: There was 1 WARNING message shown.

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

0 Kudos
1 Solution
idata
Community Manager
160 Views

Hi,

 

The error you're receiving is very similar to the one on /message/390323# 390323 https://communities.intel.com/message/390323# 390323 .

 

 

Also, there are a few threads that discuss building the new image you can find useful.

 

Take a look atSergio

 

View solution in original post

1 Reply
idata
Community Manager
161 Views

Hi,

 

The error you're receiving is very similar to the one on /message/390323# 390323 https://communities.intel.com/message/390323# 390323 .

 

 

Also, there are a few threads that discuss building the new image you can find useful.

 

Take a look atSergio

 

Reply