Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrpt1 builds failing on ARM platforms #767

Closed
mikaelarguedas opened this issue May 15, 2018 · 12 comments
Closed

mrpt1 builds failing on ARM platforms #767

mikaelarguedas opened this issue May 15, 2018 · 12 comments

Comments

@mikaelarguedas
Copy link

The version currently released in ROS fails to build on ARM for both kinetic and melodic (link to the failing jobs below).
Is mrpt1 expected to work on ARM ? if so we'll look forward the next release. Otherwise please let us know so that we can disable the arm jobs for this package.
Thanks!

http://build.ros.org/job/Mbin_dsv8_dSv8__mrpt1__debian_stretch_arm64__binary/
http://build.ros.org/view/Mbin_ubhf_uBhf/job/Mbin_ubhf_uBhf__mrpt1__ubuntu_bionic_armhf__binary/
http://build.ros.org/view/Mbin_ubv8_uBv8/job/Mbin_ubv8_uBv8__mrpt1__ubuntu_bionic_arm64__binary/

http://build.ros.org/view/Kbin_uxhf_uXhf/job/Kbin_uxhf_uXhf__mrpt1__ubuntu_xenial_armhf__binary/
http://build.ros.org/view/Kbin_uxv8_uXv8/job/Kbin_uxv8_uXv8__mrpt1__ubuntu_xenial_arm64__binary/
http://build.ros.org/view/Kbin_djv8_dJv8/job/Kbin_djv8_dJv8__mrpt1__debian_jessie_arm64__binary/

/cc @clalancette

@jolting
Copy link
Member

jolting commented May 15, 2018

I believe this was recently addressed: 2190203

@jlblancoc
Copy link
Member

@mikaelarguedas Exactly, as @jolting says, this was fixed just yesteday in that commit. However, we have a more serious issue (ros-infrastructure/ros_buildfarm#543) trying to release for kinetic. I could make a new release with the patch for melodic, though. Just me know how "urgent" do you think it is, just in case we first attempt to solve the Kinetic build farm problem.

@mikaelarguedas
Copy link
Author

Thanks for the quick response.
Anytime before the melodic release (May 23rd) is fine

@jlblancoc
Copy link
Member

Should be done after ros/rosdistro#17869

We'll keep an eye on the build farm anyway...
Cheers!

@jolting
Copy link
Member

jolting commented May 16, 2018

Should use the packaged octomap version instead of downloading it.

@jlblancoc
Copy link
Member

Right!
Also, it still fails. Will check the CMake logic, probably I made some stupid mistake.
After fixing those two points, will try it again.

@jlblancoc jlblancoc reopened this May 16, 2018
@jolting
Copy link
Member

jolting commented May 18, 2018

That certainly takes a long time to build. Almost 8 hours and still no where near complete.

@mikaelarguedas
Copy link
Author

mikaelarguedas commented May 18, 2018

This is a very heavy package. It does timeout sometimes on amd64 machines so it will likely be close to the 10hour limit we set for the ARM jobs.
On the bright side that shows that the compilation goes much further than the previous version when it was failing after 20 minutes :).

As a general policy, we recommend making ROS packages as small and modular as possible. This package is at the opposite side of the spectrum.
I encourage you to consider splitting the features into several ROS packages like other frameworks and libraries do. This allows more liberty for users wanting to use only a subset of features without pulling many dependencies or spending a significant amount of time building from source.

@jlblancoc
Copy link
Member

Building the apps takes 50 minutes, so a solution would be just build (and install) the libraries. I think it can be done via a patch to the CMake script, probably as a bloom patch.

Will give it a try...

@jlblancoc jlblancoc reopened this May 18, 2018
@jlblancoc
Copy link
Member

Finally found this which seems a better idea.
Just made this change. Let's repeat the release and wait for the build farm...

@mikaelarguedas
Copy link
Author

Looks like it did the job 👍
Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants