[yocto] compiling core-image-sato failure on 32 bits system
** *Hi,* * ** On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow; ** unfortunately nothing seems interesting in log*.*do_install. ** what can I do ? * Regards, Steph * ** Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.4.2" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62" Initialising tasks: 100% || Time: 0:00:30 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: linux-libc-headers-4.12-r0 do_install: oe_runmake failed ERROR: linux-libc-headers-4.12-r0 do_install: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172) ERROR: Logfile of failure stored in: /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E headers_install INSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr | Segmentation fault | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172) ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install Summary: There was 1 WARNING message shown. * -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] compiling core-image-sato failure on 32 bits system
Le 17/04/2018 à 09:08, Iván Castell a écrit : Review "dmesg" output to see if there is some kernel crash in your host machine. Which CPU are you using to compile yocto (your host machine)?We also have been dealing with this kind of issues compiling with anAMD Ryzen 7 1700 Eight-Core Processor and (in our case) it seems is a bug related with the CPU. This is a core i5, but the installed system runs a 32bit ubuntu system. There is no crash message in dmesg, I have setted up a swapfile in the system 2018-04-17 8:51 GMT+02:00 Stéphane Ancelot <mailto:sance...@numalliance.com>>: ** *Hi,* * ** On my ubuntu bionic system 32 bits, compilation core-image-sato fails as follow; ** unfortunately nothing seems interesting in log*.*do_install. ** what can I do ? * Regards, Steph * Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.4.2" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62" Initialising tasks: 100% || Time: 0:00:30 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: linux-libc-headers-4.12-r0 do_install: oe_runmake failed ERROR: linux-libc-headers-4.12-r0 do_install: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172) ERROR: Logfile of failure stored in: /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['virtual:native:/home/yocto/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.11.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/yocto/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['pkgconfig-native', 'unifdef-native', 'pseudo-native', 'quilt-native', 'xz-native', 'gnu-config-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gettext-minimal-native', 'm4-native', 'texinfo-dummy-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | NOTE: make -j 4 HOSTCC=gcc HOSTCPP=gcc -E headers_install INSTALL_HDR_PATH=/home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/image/usr | Segmentation fault | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_install (log file is located at /home/yocto/poky/build/tmp/work/i586-poky-linux/linux-libc-headers/4.12-r0/temp/log.do_install.4172) ERROR: Task (/home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 191 tasks of which 185 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.12.bb:do_install Summary: There was 1 WARNING message shown. * -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] image
Hi, I am a newbie , I tried the first steps in the tutorial , created the sato image. I know have few questions. I want to create some images, do I need to clone the working environment I used to create sato image, or I can work in the same folder, in which I can create many images ? Imagine I want to go a little bit further with the sato image , eg by adding a new app to matchbox panel. It is a bit confusing to myself to understand how the sato image is created and its layout. can you detail please. Regards, Steph -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] toasterconf.json
hi, I setted up a toaster configuration. but there are few incoherent things with manual: 1/ I can not find any toasterconf.json file 2/ the toaster interface runs but if try to use "local yocto project", no compatible layers are displayed (openembedded-core,meta-poky...) Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] toaster setup
hi, I setted up a toaster configuration, but there are few things that are not working or inconsistant with the manual. 1/ I can not find any toasterconf.json file 2/ the toaster interface runs but if try to use "local yocto project", no compatible layers are displayed (openembedded-core,meta-poky...) I am using the mysql backend. I am running opensuse 42.2. I can use yocto and have successfully built the core-image-sato from the cmdline. Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] pb when building core-image-sato
Hi, I don't know where it can com from, but I have following mistake from toaster when building qemux86-64 core-sato-image : bash -c "source /var/www/toaster/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/oe-init-build-env /var/www/toaster/poky/build-toaster-6; BITBAKE_UI="knotty" /var/www/toaster/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/bin/bitbake --read /var/www/toaster/poky/build-toaster-6/conf/toaster.conf --read /var/www/toaster/poky/build-toaster-6/conf/toaster-bblayers.conf --server-only -t xmlrpc -B 0.0.0.0:0" bitbake: error: no such option: -t Regards S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] sfdisk package
Hi, I would need sfdisk package, I have not found it. I suppose I must create it or are there any software forge where I could find it ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] sfdisk package
Hi, right, it might be this, but how can you retrieve this information ? searching in recipes I have not found it . Regards, S.Ancelot Le 19/10/2017 à 11:39, Ayoub Zaki a écrit : On 19.10.2017 11:36, Stéphane Ancelot wrote: Hi, I would need sfdisk package, I have not found it. I suppose I must create it or are there any software forge where I could find it ? util-linux-sfdisk ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] sfdisk package
Thanks Le 19/10/2017 à 12:28, Ayoub Zaki a écrit : On 19.10.2017 12:26, Stéphane Ancelot wrote: Hi, right, it might be this, but how can you retrieve this information ? searching in recipes I have not found it . find meta* -type f | xargs grep -e 'sfdisk' meta/recipes-core/util-linux/util-linux.inc:PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ meta/recipes-core/util-linux/util-linux.inc:FILES_util-linux-sfdisk = "${sbindir}/sfdisk" meta/recipes-core/util-linux/util-linux.inc:RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs util-linux-mountpoint util-linux-prlimit" Regards, S.Ancelot Le 19/10/2017 à 11:39, Ayoub Zaki a écrit : On 19.10.2017 11:36, Stéphane Ancelot wrote: Hi, I would need sfdisk package, I have not found it. I suppose I must create it or are there any software forge where I could find it ? util-linux-sfdisk ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] customising custom-image-sato
Hi, I tried removing puzzles package using IMAGE_INSTALL_remove but it has not had any effect. Is there a way to remove unwanted packages ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] deploying linux kernel bzimage on real disk
Hi, I can run the image in qemu. however , in the ext3 root fs , the kernel is not copied. Is there a way to have the ext3 image ready with the kernel inside ? Then I will only have to setup the bootloader against the target hard disk. Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] customising custom-image-sato
This works as expected, Thanks Le 19/10/2017 à 16:26, Burton, Ross a écrit : If you want a custom core-image-sato then the easiest (and right) thing to do is to write a new image recipe. Then you get to pick what you want in it and don't want in it. puzzles comes in via packagegroup-x11-sato-games, via -x11-sato (which also depends on -x11-sato-base and -x11-sato-apps).. Don't install x11-sato but swap it for just x11-sato-base and you'll get all the Sato environment but no games or apps. Ross On 19 October 2017 at 15:19, Stéphane Ancelot mailto:sance...@numalliance.com>> wrote: Hi, I tried removing puzzles package using IMAGE_INSTALL_remove but it has not had any effect. Is there a way to remove unwanted packages ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto> -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] customising custom-image-sato
hi, I managed to customise it , using toaster interface. However, now I am on cmdline. What is the way to do the same thing from cmdline, which file to copy and rewrite ? Regards, S.Ancelot Le 20/10/2017 à 10:46, Stéphane Ancelot a écrit : This works as expected, Thanks Le 19/10/2017 à 16:26, Burton, Ross a écrit : If you want a custom core-image-sato then the easiest (and right) thing to do is to write a new image recipe. Then you get to pick what you want in it and don't want in it. puzzles comes in via packagegroup-x11-sato-games, via -x11-sato (which also depends on -x11-sato-base and -x11-sato-apps).. Don't install x11-sato but swap it for just x11-sato-base and you'll get all the Sato environment but no games or apps. Ross On 19 October 2017 at 15:19, Stéphane Ancelot mailto:sance...@numalliance.com>> wrote: Hi, I tried removing puzzles package using IMAGE_INSTALL_remove but it has not had any effect. Is there a way to remove unwanted packages ? Regards, S.Ancelot -- ___ yocto mailing list yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto> -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto