Bug 12731

Summary: Build environment for Raspberrypi AGL image failed (bitbake agl-demo-platfom )
Product: [Build System, Metadata & Runtime] BitBake Reporter: Hemalatha Vasudevan <hemalatha.vasudevan>
Component: bitbakeAssignee: Hemalatha Vasudevan <hemalatha.vasudevan>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: akuster, dl9pf, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 2.3.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Error - Build image for AGL Rpi3 none

Description Hemalatha Vasudevan 2018-05-04 02:25:06 UTC
Created attachment 4296 [details]
Error - Build image for AGL Rpi3

I am a Master thesis student in Microchip Technology. I am trying the build the AGL image for Raspberrypi3 in the new version of Ubuntu Linux. The request is as follows:

Preconditions/Environment:
OS: Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic

Installed the necessary graphical and build packages for ubuntu.

Tried to build Rpi -eel release (repo init -b eel -m eel_5.0.2.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo)
While building the image, the following errors occurs.

ERROR: e2fsprogs-native-1.43.4-r0 do_compile: oe_runmake failed
ERROR: e2fsprogs-native-1.43.4-r0 do_compile: Function failed: do_compile (log file is located at /home/Hema/workspace_agl/build/tmp/work/x86_64-linux/e2fsprogs-native/1.43.4-r0/temp/log.do_compile.13590)
ERROR: Logfile of failure stored in: /home/Hema/workspace_agl/build/tmp/work/x86_64-linux/e2fsprogs-native/1.43.4-r0/temp/log.do_compile.13590

Expectation:

Build should run successfully and the AGL image should be created.

Actual Result:
Build fails with the above mentioned error and please see the attached screenshot. 


Please view this request and do the needful. Thank you.
Comment 1 Richard Purdie 2018-05-10 07:36:45 UTC
Could you please attach the file /home/Hema/workspace_agl/build/tmp/work/x86_64-linux/e2fsprogs-native/1.43.4-r0/temp/log.do_compile.13590 as the attachment doesn't show the full failure and the actual error isn't here or in the attached log.

Note that typically we don't support the Rpi3 layer in this bugzilla.
Comment 2 Jan-Simon Moeller 2018-05-31 19:36:56 UTC
Hi  Hemalatha Vasudevan,

please attach the requested file. It will help to fix the issue in the latest releases. But note that 18.04 is quite new and not in the list of tested distributions of Yocto. 

Especially in the Yocto release that AGL is based on. For AGL 5.0.x I'd recommend to use e.g. Ubuntu 16.04.4 .
Comment 3 Hemalatha Vasudevan 2018-06-04 09:48:59 UTC
I have used Ubuntu 16.04 and the build is successfully completed. The Rpi works fine. Thanks.
Comment 4 Hemalatha Vasudevan 2018-06-04 09:53:06 UTC
I have used Ubuntu 16.04 version and the AGL on Rpi3 works fine.