i am using yocto quick start guide http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html Yocto Project Quick Start
one simple difference is rather than pyro im using morty
for Qemu successfully build image ,then i moved forward for intel arch http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html# building-an-image-for-hardware Yocto Project Quick Start
but im getting this error--->>
root123@pro:~/work/yocto/poky/intel$ bitbake core-image-minimal
Loading cache: 100% |# | Time: 0:00:00
Loaded 1341 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "intel-corei7-64"
DISTRO = "poky"
DISTRO_VERSION = "2.2.2"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "morty:21aa71dbaaea0aaf84329c0181dfac91f6830573"
meta-intel = "morty:6add41510412ca196efb3e4f949d403a8b6f35d7"
Initialising tasks: 100% |# | Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: cdrtools-native-3.01a31+really3.01-r0 do_install: Function failed: do_install (log file is located at /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_install.1395)
ERROR: Logfile of failure stored in: /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_install.1395
Log data follows:
| DEBUG: Executing shell function do_install
| ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/conf"
| make[1]: Entering directory '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
| ==> MAKING DIRECTORY "/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc"
| ==> INSTALLING "/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h"
| Intercept /home/root123/work/yocto/poky/scripts/native-intercept/chown: root /tmp/xd.1450/xx.1450 -- do nothing
| Intercept /home/root123/work/yocto/poky/scripts/native-intercept/chown: root /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/# inst.1450# -- do nothing
| chgrp: changing group of '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/# inst.1450# ': Operation not permitted
| ../RULES/rules.ins:29: recipe for target '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h' failed
| make[1]: *** [/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h] Error 1
| make[1]: Leaving directory '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
| RULES/rules1.dir:25: recipe for target 'install' failed
| make: *** [install] Error 1
| WARNING: /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/run.do_install.1395:1 exit 2 from 'make install GMAKE_NOWARN=true INS_BASE=/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr DESTDIR=/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image'
| ERROR: Function failed: do_install (log file is located at /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_install.1395)
ERROR: Task (/home/root123/work/yocto/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2389 tasks of which 2388 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/root123/work/yocto/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
and here is its log file-->>
DEBUG: Executing shell function do_install
==> MAKING "install" ON SUBDIRECTORY "SRCROOT/conf"
make[1]: Entering directory '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
==> MAKING DIRECTORY "/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc"
==> INSTALLING "/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h"
Intercept /home/root123/work/yocto/poky/scripts/native-intercept/chown: root /tmp/xd.1450/xx.1450 -- do nothing
Intercept /home/root123/work/yocto/poky/scripts/native-intercept/chown: root /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/# inst.1450# -- do nothing
chgrp: changing group of '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/# inst.1450# ': Operation not permitted
../RULES/rules.ins:29: recipe for target '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h' failed
make[1]: *** [/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr/include/schily/x86_64-linux-cc/xconfig.h] Error 1
make[1]: Leaving directory '/home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
RULES/rules1.dir:25: recipe for target 'install' failed
make: *** [install] Error 1
WARNING: /home/root123/work/yocto/poky/intel/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/run.do_install.1395:1 exit 2 from 'make install GMAKE_NOWARN=true INS_BASE=/home/root123/work/yocto/poky/intel/tmp/sysroots/x86_64-linux/usr DESTDIR=/home/root123/work/yocto/poky/intel/tmp/wor...
Link Copied
Hello Umesh@pro3,
Thank you for your interest in the Intel® Joule™ Products.
Could you please further explain your inquiry? Perhaps explain what you are trying to accomplish. I understand that you want to build an image for the Joule, but please keep in mind that custom images are out of the scope of this technical support team. Only the building process of the default image is part of our support ( https://software.intel.com/en-us/node/721484).
Also, what is the reason behind using morty instead of pyro?
Finally, please elaborate a bit more on the meaning of the following sentence, since I don't fully understand the question:
if im changing the machine arch in local.conf and bblayer.conf file to orignal for Qemu then its working (building without any issue) ?
I'll be waiting for your response.
Have a nice day.
Regards,
Andres V.
im following this link to build os for intel joule https://software.intel.com/en-us/node/721486 IoT
but facing same issue with cdrtool.
DEBUG: Executing shell function do_install
==> MAKING "install" ON SUBDIRECTORY "SRCROOT/conf"
make[1]: Entering directory '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
==> MAKING DIRECTORY "/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc"
==> INSTALLING "/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h"
Intercept /home/root123/work/yocto/ref-os-iot/intel-iot-refkit/openembedded-core/scripts/native-intercept/chown: root /tmp/xd.21783/xx.21783 -- do nothing
Intercept /home/root123/work/yocto/ref-os-iot/intel-iot-refkit/openembedded-core/scripts/native-intercept/chown: root /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/# inst.21783# -- do nothing
chgrp: changing group of '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/# inst.21783# ': Operation not permitted
../RULES/rules.ins:29: recipe for target '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h' failed
make[1]: *** [/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h] Error 1
make[1]: Leaving directory '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
RULES/rules1.dir:25: recipe for target 'install' failed
make: *** [install] Error 1
WARNING: /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/run.do_install.21733:1 exit 2 from 'make install GMAKE_NOWARN=true INS_BASE=/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr DESTDIR=/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image'
ERROR: Function failed: do_install (log file is located at /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_install.21733)
Hello Umesh@pro3,
Could you please answer the previous questions regarding the use of morty instead of pyro?
Also, you first mentioned that you were following this guide http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html, and then you provided the link to the guide related to OS building process ( https://software.intel.com/en-us/node/721484). Which guide is the correct one?
It is important for us to get as much information as possible, so could you please explain which part of the process is generating the error messages. Also, every detail regarding any deviation from the original material may explain the source of the issue.
Finally, keep in mind that the guide has been tested in Ubuntu 16.04.
I'll be waiting for your response.
If you have any other update or question, don't hesitate to contact us.
Have a nice day.
Regards,
Andres V.
I got cdrtools (As mention above) error on this http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html
so that i just tried with https://software.intel.com/en-us/node/721486 IoT this one but im getting same error for this also.
above i have been mention a log file. i thing im messing with permissions.
if u seen Bold lines-->
DEBUG: Executing shell function do_install
==> MAKING "install" ON SUBDIRECTORY "SRCROOT/conf"
make[1]: Entering directory '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
==> MAKING DIRECTORY "/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc"
==> INSTALLING "/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h"
Intercept /home/root123/work/yocto/ref-os-iot/intel-iot-refkit/openembedded-core/scripts/native-intercept/chown: root /tmp/xd.21783/xx.21783 -- do nothing
Intercept /home/root123/work/yocto/ref-os-iot/intel-iot-refkit/openembedded-core/scripts/native-intercept/chown: root /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/# inst.21783# -- do nothing
chgrp: changing group of '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/# inst.21783# ': Operation not permitted
../RULES/rules.ins:29: recipe for target '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h' failed
make[1]: *** [/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr/include/schily/x86_64-linux-cc/xconfig.h] Error 1
make[1]: Leaving directory '/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/cdrtools-3.01/conf'
RULES/rules1.dir:25: recipe for target 'install' failed
make: *** [install] Error 1
WARNING: /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/run.do_install.21733:1 exit 2 from 'make install GMAKE_NOWARN=true INS_BASE=/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/recipe-sysroot-native/usr DESTDIR=/home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/image'
ERROR: Function failed: do_install (log file is located at /home/root123/work/yocto/ref-os-iot/web_1/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_install.21733)
or i miss something while building???
one thing i forgot to mention is https://software.intel.com/en-us/node/721486 IoT here i changed this line git reset hard release_1702 to git reset release_1704
is im doing something wrong?
here is log file.
Hello Umesh@pro3,
Thank you for the clarification, I'll be needing more time to search what may be causing that issue.
As soon as I have relevant information I'll post it here.
If you have any update or question, don't hesitate to contact us.
Thank you for your patience.
Have a nice day.
Regards,
Andres V.
any update..?
Hello Umesh@pro3,
I successfully built the full image and the base image by following the steps provided in this guide: https://github.com/01org/ref-os-iot.
The common targets are:
• full-image
• base-image
The error you are experiencing may be associated with the core-image-minimal target, since it is not one of the available options.
If you have any other update or question, don't hesitate to contact us.
Have a nice day.
Regards,
Andres V.
I tried fresh build (on pc) but same error im getting on one machine ! and when i m building on another machine (laptop) is not giving this error.
what i observe in both of build (on pc and on laptop) is "meta-refkit = "HEAD:90c6298aa28f4bfd62380914ca37f335a7a5a37c" (highlited string) is different ,not only for meta-refkit there are 3-4 layers has different string .
is any dependency ,or relation between them...?
Hello Umesh@pro3,
Did you used the guide previously provided ( https://github.com/01org/ref-os-iot) to try and build the image? Do you have the same setup in both PCs and the laptop (Ubuntu 16.04)?
When the building process fails in one system but works on another, it may be related to the setup of the host that is used to build the image. Did you get any error message while setting up the host?
If you have any other update or question, don't hesitate to contact us.
I'll be waiting for your response.
Have a nice day.
Regards,
Andres V.
yes,i was used the guide line provided (https://github.com/01org/ref-os-iot https://github.com/01org/ref-os-iot) .yes there are same setup on both pc and laptop ,
(i have been changed image format in local.conf file to .dsk instead of .wic, i just want to try it thats why i changed wic to dsk,ther is no special reason for it)
as i mention on pc its showing error for cddrtools but if i use "-k" option then it execut till do_image_dsk and then it gives error.
but if im building with .wic file execution breaks at cdrtools error msg,even im using "-k" option.
but on laptop its not showing at cdrtools ,its gives error at the end do_image_dsk.
both gives error after 99% execution.
is there any reason,
is im missing something ?
here is attachment for building os on another system
Hello Umesh@pro3,
Thank you for answering the questions.
I'll be needing more to time to come up with information that you may find useful.
I couldn't reproduce the issue, because I don't have any trouble building the image when following the guide that I previously provided you.
As soon as I have relevant information I'll post it here.
If you have any update or question, don't hesitate to contact us.
Thank you for your patience.
Have a nice day.
Regards,
Andres V.
Hello Umesh@pro3,
I want to inform you that there is a newer image (Ref-OS-IoT version 1705), so please try to build that one.
Make sure that you begin the process from scratch and follow the instructions from the link previously provided: https://github.com/01org/ref-os-iot. Also, please do not change the image format or anything else, just try to build the default image (full-image).
For reference, I'll post the steps here:
$ mkdir -p $HOME/work $ cd $HOME/work $ git clone https://github.com/01org/ref-os-iot $ cd ref-os-iot $ git submodule update --recursive --init $ source 5xx-init-build-env $ bitbake full-image
Another community member reported an issue while building that image, and we are currently looking at it, so we will like to know if you are able to go through the process without experiencing any issue.
We will appreciate if you can provide screenshots of any error message that you might get.
I'll be waiting for your response.
If you have any other update or question, don't hesitate to contact us.
Have a nice day.
Regards,
Andres V.
Hello Umesh@pro3,
I was wondering if you could check any of the suggestion provided.
If you have any update or question, don't hesitate to contact us.
Regards,
Andres V.
After few errors im able to build base-image.
For more complete information about compiler optimizations, see our Optimization Notice.