-
Notifications
You must be signed in to change notification settings - Fork 30
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
Patching of ros-melodic/cartographer fails #696
Comments
|
@flabrosse my bad! Accidentally closed it on you.
This is almost for sure what happened. Would you mind fixing the patch for me? If not, I can fix it in the near future. |
This patch seems to work (patching does not fail): 0002-Explicitly-link-gmock-and-gtest.patch.txt I say "seems" because the build fails with Ceres missing SuiteSparse. So I added sparse (and lapack) as USE flags for ceres-solver, but emerging that fails on spqr with apparently a bug in automake. Still looking into that. |
spqr-1.3.1 emerges fine. ceres-solver needs to be emegred with sparse (and lapack) USE flags. The patch works. cartographer_ros now emerged. |
Hm... Ok, would you mind adding that
Great! Let me know if you get it working. I was having trouble with it when I last tried (kept getting a |
I have never used git and so have no idea how to add the USE flags in the repo (and at the moment life is too short to learn git). I'm also not sure where the USE flags need to be added. I ran the first of the two demos given at the bottom of https://google-cartographer-ros.readthedocs.io/en/latest/ and that worked fine, after emerging cartographer_rviz. |
Alright, I don't mind doing it then. ;) I'll tag you in the PR so you can see the process.
Great! |
Once ros/rosdistro#19354 is merged, I'll swap your patch in and regenerate the packages. Thanks! |
Trying to install cartographer and the patching fails. This is patch /var/t
mp/portage/ros-melodic/cartographer-1.0.0/files/0002-Explicitly-link-gmock-and-g
test.patch, which is there.
It tries with -p0 ("can't find file to patch at input line 14"), -p1 ("checking file CMakeLists.txt \n Hunk #1 FAILED at 183."), -p2, -p3 and -p4 ( all with "can't find file to patch at input line 14").
I guess the CMakeFile.txt file has changed and the patch does not work any more?
The text was updated successfully, but these errors were encountered: