# Raspberry Pi3 image build error

**URL:** <https://forum.webosose.org/t/raspberry-pi3-image-build-error/547>\
**Category:** Uncategorized\
**Created:** [September 17, 2018, 7:37pm UTC](https://forum.webosose.org/t/raspberry-pi3-image-build-error/547 "2018-09-17T19:37:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ji12345](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/ji12345/32/175_2.png) [@Ji12345](https://forum.webosose.org/u/Ji12345)\
**Post date:** [September 17, 2018, 7:37pm UTC](https://forum.webosose.org/t/raspberry-pi3-image-build-error/547/1 "2018-09-17T19:37:07Z")

</div>

Hi,  
I complete to build qemux86 image successfully (Hooooooray!!) and then trying to build raspberry pi3 image.

I just typed in console "mcf -p 0 -b 0 raspberrypi3" and "bitbake webos-image" in build-webos folder and received below error message .

ERROR: webos-image-1.0-r3 do\_bootdirectdisk: Function failed: build\_boot\_dd (log file is located at /home/ji/build-webos/BUILD/work/qemux86-webos-linux/webos-image/1.0-r3/temp/log.do\_bootdirectdisk.1572)  
ERROR: Logfile of failure stored in: /home/ji/build-webos/BUILD/work/qemux86-webos-linux/webos-image/1.0-r3/temp/log.do\_bootdirectdisk.1572  
Log data follows:  
| DEBUG: Executing python function do\_bootdirectdisk  
| DEBUG: Executing python function build\_syslinux\_cfg  
| DEBUG: Python function build\_syslinux\_cfg finished  
| DEBUG: Executing shell function build\_boot\_dd  
| NOTE: Trying to install /home/ji/build-webos/BUILD/deploy/images/qemux86/bzImage-linux-yocto-qemux86.bin as /home/ji/build-webos/BUILD/work/qemux86-webos-linux/webos-image/1.0-r3/webos-image-1.0/hdd/boot/vmlinuz  
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows  
| mkfs.fat 4.0 (2016-05-06)  
| Total number of sectors (47450) not a multiple of sectors per track (63)!  
| Add mtools\_skip\_check=1 to your .mtoolsrc file to skip this test  
| du: cannot access '/home/ji/build-webos/BUILD/work/qemux86-webos-linux/webos-image/1.0-r3/deploy-webos-image-image-complete/webos-image-qemux86-master-20180917193111.ext4': No such file or directory  
| expr: syntax error  
| WARNING: exit code 2 from a shell command.  
| DEBUG: Python function do\_bootdirectdisk finished  
| ERROR: Function failed: build\_boot\_dd (log file is located at /home/ji/build-webos/BUILD/work/qemux86-webos-linux/webos-image/1.0-r3/temp/log.do\_bootdirectdisk.1572)  
ERROR: Task (/home/ji/build-webos/meta-webosose/meta-webos/recipes-core/images/webos-image.bb:do\_bootdirectdisk) failed with exit code '1'

Do I have to make the build-webos clone in another folder and compile again?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jama](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/jama/32/117_2.png) [@jama](https://forum.webosose.org/u/jama)\
**Post date:** [September 17, 2018, 7:40pm UTC](https://forum.webosose.org/t/raspberry-pi3-image-build-error/547/2 "2018-09-17T19:40:05Z")

</div>

You aren't building for raspberrypi3, you need to set MACHINE variable in your shell environment to do that. The log shows that you were building for qemux86 MACHINE.
