izmit escort escort ankara adana escort

 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Wed Aug 09, 2017 5:41 pm 
Offline

Joined: Wed Aug 09, 2017 3:11 pm
Posts: 4
I recently ran through the setup and compile direction on the http://www.at91.com/linux4sam/bin/view/ ... o_archives and made it to step 11 (Build Atmel demo Images)

bitbake atmel-qt5-demo-image

But the build fails:

ERROR: qtwayland-5.8.0+gitAUTOINC+0e2a950895-r0 do_compile: oe_runmake failed
ERROR: qtwayland-5.8.0+gitAUTOINC+0e2a950895-r0 do_compile: Function failed: do_compile (log file is located at /developer/Yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/qtwayland/5.8.0+gitAUTOINC+0e2a950895-r0/temp/log.do_compile.2633)
ERROR: Logfile of failure stored in: /developer/Yocto/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/qtwayland/5.8.0+gitAUTOINC+0e2a950895-r0/temp/log.do_compile.2633

See build report attached...

Any help would be great!
Thanks


Attachments:
File comment: Build Report
CompilerReport.zip [1.4 KiB]
Downloaded 15 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Thu Aug 10, 2017 1:03 am 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 1470
Location: USA
You neglect to mention what Linux4SAM version that you're trying to build (besides a lot of other details).

AFAIK the Atmel demo (the application source code has been stable since Linux4SAM 5.1 or Feb. 2016) does not use "qtwayland", so the need to build it is questionable.

Regards


Top
 Profile  
Reply with quote  
 Post subject: Re: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Thu Aug 10, 2017 2:36 pm 
Offline

Joined: Wed Aug 09, 2017 3:11 pm
Posts: 4
I'm new to this but I think the Yocto version is 2.2.2.
I did not change anything and just two days ago downloaded the sources following the instructions based on the link I posted before. There are 11 steps to the compile. I also followed the prebuild setup steps.

Since I just downloaded everything and ran the build based on the instructions everything should be the latest from the Linux4SAM site with no modifications other than what the build instructions listed. I followed the instructions for the SAMA5D2 device.

I think maybe the instructions may need the newer 5.9 version of QT5? The attached directions list getting 5.8 which seems to have a bug.

I found this issue: https://bugreports.qt.io/browse/QTBUG-58839

I attached a text file with the build instructions I followed, please view the QT section.

Here are another two links about the QT issue:
https://bugreports.qt.io/browse/QTBUG-58630
https://codereview.qt-project.org/#/c/187132/

If this is the issue then I'm not sure how to fix it. I don't want to just change the build steps and end up messing it up further.

Thanks for your help. This is my first time using ARM and my first time using Yocto Linux so I am on a huge learning curve. :D


Attachments:
DirectionsTextFile.zip [1.58 KiB]
Downloaded 11 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Fri Aug 11, 2017 2:29 am 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 1470
Location: USA
george^ wrote:
Since I just downloaded everything and ran the build based on the instructions everything should be the latest from the Linux4SAM site with no modifications other than what the build instructions listed.
Actually you want to replicate the build that was released as Linux4SAM 5.6 (which means using the same source code).
Downloading the "latest" (from a git repository) is what gets you in the kind of trouble that you're now in.
If you want to develop with bleeding-edge code, then be prepared to deal with such issues, e.g. there are mailing lists for such discussions.

george^ wrote:
I think maybe the instructions may need the newer 5.9 version of QT5? The attached directions list getting 5.8 which seems to have a bug.
The Linux4SAM 5.6 binaries use QT5.8.
And as I previously mentioned, there's no trace of any "wayland" in the installed QT libraries of Linux4SAM 5.6.
Perhaps you can try to figure out a way to exclude this problematic QT library (that is not even needed) from the build?

george^ wrote:
This is my first time using ARM and my first time using Yocto Linux so I am on a huge learning curve. :D
Perhaps you need to re-evaluate why you're using Yocto (i.e. instead of using a different tool such as Buildroot).
I've only used Yocto to replicate the demo releases, that last one being 5.5. Since I don't have a SAMA5D2 board, the 5.6 release is not that interesting to me.

Regards


Top
 Profile  
Reply with quote  
 Post subject: Re: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Fri Aug 11, 2017 2:35 pm 
Offline

Joined: Wed Aug 09, 2017 3:11 pm
Posts: 4
Well I followed the directions from the Linux4SAM site which included which versions to get and the bug still exists.


Top
 Profile  
Reply with quote  
 Post subject: SOLUTION: Yocto build for 'build-atmel' ATSAMA5D27 fails
PostPosted: Mon Aug 14, 2017 3:24 pm 
Offline

Joined: Wed Aug 09, 2017 3:11 pm
Posts: 4
In the event anyone else runs into this issue and needs the fix; the following simple change will correct the issue:

Change:
3/ Clone meta-qt5 git repository with the proper branch ready
git clone git://code.qt.io/yocto/meta-qt5.git
cd meta-qt5
git checkout v5.8.0
cd ..


to:
git checkout v5.9.1

There will be a few warnings but the image will compile. I am still working on fixing the warnings...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron