rootfs fails
Hello All,
My rootfs is failing when adding liba52, libmad, libav. x264, and libav.
This is for a raspberrypi2.
I updated the meta data on 09/10/15.
meta-yocto-bsp = "fido:d4585fa23d56a58c583ee33db067a23177a936b1" meta-raspberrypi = "fido:17dad9328b100beda1cf870c9075e509b5cbfa90" meta-oe
meta-multimedia
meta-python
meta-gnome = "fido:d4585fa23d56a58c583ee33db067a23177a936b1" meta-browser = "fido:ca96f4326345dcd779fc539877a04f069f431749"
This is the IMAGE_INSTALL_append in my local.conf
IMAGE_INSTALL_append = " intelhex python-bitstring pyusb PyPubSub git \
chkconfig tar v4l-utils tree python-imaging python-pip \
jasper gsl hexedit man openjpeg tcl tk liba52 libmad libav x264 libav"
This errors below occurred when I added the following liba52 libmad libav x264 libav to my IMAGE_INSTALL_append
WARNING: QA Issue: ELF binary '/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/x264/r2491+gitAUTOINC+c8a773ebfc-r0/packages-split/x264/usr/lib/libx264.so.144' has relocations in .text [textrel]
WARNING: QA Issue: ELF binary '/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/libav/9.18-r0/packages-split/libavcodec/usr/lib/libavcodec.so.54.35.0' has relocations in .text [textrel]
ERROR: Error: The image creation script '/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/create_image.rpi-sdimg' returned 2:
expr: non-integer argument
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.1142
In the ~/wkg/yocto/RaspberryPi2/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi I can see that the deploy-rpms were generated in each folder liba52 libmad libav x264 libav.
The file core-image-sato-raspberrypi2-20150911214448.rootfs.tar.bz2 gets generated which can see in the /home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.1142These and other packages were added with the meta-data I had download on 07/20/15. I am using the fido branch.
Thanks in advance for your help in solving this problems. Edward Vidal Jr. e-mail [email protected] 915-595-1613
Ah good, someone else is seeing the problems I've been seeing :-)
In my case it has nothing to do with anything that I'm adding to my image, it just happens (apparently) randomly. Try building again, it might succeed this time. In my case I'm just building plain old "core-image-minimal" with nothing else added. When it fails for me I just restart the build and it succeeds. Sometimes it fails a couple time, but eventually you'll hit the right phase of the moon and it'll work ;-) haha
Quoted 7 lines · Edward Vidal
meta-yocto-bsp = "fido:d4585fa23d56a58c583ee33db067a23177a936b1"
meta-raspberrypi = "fido:17dad9328b100beda1cf870c9075e509b5cbfa90" meta-oe
meta-multimedia
meta-python
meta-gnome = "fido:d4585fa23d56a58c583ee33db067a23177a936b1"
meta-browser = "fido:ca96f4326345dcd779fc539877a04f069f431749"
fido, eh? Strange. I'm seeing this on master. I'm also seeing it with meta-sunxi. In other words I'm seeing it with any layer/machine that tries to build an sdimg.
Quoted 5 lines
ERROR: Error: The image creation script '
/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/create_image.rpi-sdimg' returned 2:
expr: non-integer argument
WARNING: exit code 2 from a shell command.
I guess fido isn't smart enough to print the exact expr problem that is causing the error. Maybe the log file has it?