Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,524 Views

bitbake intel-aero-image

Jump to solution

first thing to do when developing on aero is to bitbake the image. it is unfortunate that the standard image (with no modifications) fails bitbake! really this is basic stuff and it should not be this way! i had many fetch errors along the way, which i managed to solve by downloading the packages manually and pointing the bb configurations to the local files. had the same issue as , my workaround was to fetch the zip file from https://pypi.python.org/pypi/pymavlink pymavlink 2.0.6 : Python Package Index manually and fed that to the bb. now more issues, this time with mavlink-router patch. i get this error:

ERROR: mavlink-router-0.1-r0 do_patch: Command Error: 'quilt --quiltrc /home/xx/intel_aero/poky/build/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 1 Output:

Applying patch 0001-Fix-Yocto-build.patch

patching file Makefile.am

Hunk # 1 FAILED at 20.

1 out of 1 hunk FAILED -- rejects in file Makefile.am

patching file configure.ac

Patch 0001-Fix-Yocto-build.patch does not apply (enforce with -f)

ERROR: mavlink-router-0.1-r0 do_patch: Function failed: patch_do_patch

ERROR: Logfile of failure stored in: /home/xx/intel_aero/poky/build/tmp/work/core2-64-poky-linux/mavlink-router/0.1-r0/temp/log.do_patch.28883

ERROR: Task 515 (/home/xx/intel_aero/poky/meta-intel-aero/recipes-support/mavlink-router/mavlink-router_0.1.bb, do_patch) failed with exit code '1'

some help please!

0 Kudos

Accepted Solutions
Ville_I_Intel
Employee
70 Views

Beej,

The issue with the default manifest in pymavlink was fixed https://github.com/intel-aero/intel-aero-manifest/commit/69c1837f18a3b46dbfeca1bfa46a9f801d33fdc7 Fix the build break with pymavlink · intel-aero/intel-aero-manifest@69c1837 · GitHub

I've tested both manifests (default and dev) at http://ec2-52-59-242-235.eu-central-1.compute.amazonaws.com:8080/ Dashboard [Jenkins] and they succeed.

-Ville

View solution in original post

4 Replies
idata
Community Manager
70 Views

Hi Beej,

 

 

Thank you for contacting us.

 

 

We are aware of this issue, and I just want to let you know that we are working on this to fix it. We will contact you when we have updates.

 

 

We appreciate your patience.

 

 

Regards,

 

Leonardo R.
Ville_I_Intel
Employee
71 Views

Beej,

The issue with the default manifest in pymavlink was fixed https://github.com/intel-aero/intel-aero-manifest/commit/69c1837f18a3b46dbfeca1bfa46a9f801d33fdc7 Fix the build break with pymavlink · intel-aero/intel-aero-manifest@69c1837 · GitHub

I've tested both manifests (default and dev) at http://ec2-52-59-242-235.eu-central-1.compute.amazonaws.com:8080/ Dashboard [Jenkins] and they succeed.

-Ville

View solution in original post

idata
Community Manager
70 Views

Hi Ville,

Thank you for fixing that.

We did a fresh compiling with the latest version in github. pymavlink and mavlink rounter passed compiling.

For pymavlink, the changes are the same with what we did.

For mavlink router, in the previous version if manifests, there was a patch file. The error was that the patch was for an old version of the Makefile.am and configure.ac. What we get from git are latest version of those two files, so patch file didn't match. We manually changed the patch file (mostly line numbers). It passed compiling with the previous version of manifests. In the latest version manifests, we can see now that the patch file got removed and changes were done in the .bb file, and the changes are different with the previous patch file. Not sure if it will get the same result as the patch. Hope it will. Anyway, doing a patch is a less preferred way. Thank you for removing that.

We still couldn't fetch the package "mesa-2_11.1.1", so had to manually download it and add the path of the local file in the .bb file.

Ville_I_Intel
Employee
70 Views

Thanks @beej,

I appreciate your input. pymavlink failed to download from upstream URL and that was fixed. The patch you refer is not needed anymore.

I checked the 'mesa-2_11.1.1" from http://ec2-52-59-242-235.eu-central-1.compute.amazonaws.com:8080/job/aero-build-release/2/consoleFul... aero-build-release # 2 Console [Jenkins] and it shows no errors.

 

If you find problems with the recipe itself, please file an issue to https://github.com/intel-aero/meta-intel-aero/issues Issues · intel-aero/meta-intel-aero · GitHub

 

Provide as much bitbake logging information as required to see the problem - please refer to http://elinux.org/Bitbake_Cheat_Sheet Bitbake Cheat Sheet - eLinux.org for logging levels.

-Ville