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

Sync submodule cmake #208

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

jcarpent
Copy link
Member

@jcarpent jcarpent commented Apr 3, 2023

No description provided.

@jcarpent
Copy link
Member Author

jcarpent commented Apr 3, 2023

@nim65s do you know what happens in ROS TSID CI?

@jcarpent
Copy link
Member Author

jcarpent commented Apr 3, 2023

I will merge this PR as the issue on ROS is not related to this PR.

@jcarpent jcarpent merged commit ea95c06 into Simple-Robotics:devel Apr 3, 2023
@jcarpent
Copy link
Member Author

jcarpent commented Apr 3, 2023

@wxmerkt Do you know what happens on the CI for ROS with TSID?

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 4, 2023

For some reason it cannot find hppfcl on the Python path after installing the Rolling binaries. Which is curious since this used to work. Will need to investigate

@nim65s
Copy link
Member

nim65s commented Apr 4, 2023

I tried on ubuntu 22.04 with ROS rolling.

dpkg -L ros-rolling-hpp-fcl shows /opt/ros/rolling/lib/python3/dist-packages/hppfcl/__init__.py
but source /opt/ros/rolling/setup.bash && python3 -c "import sys;print(sys.path)" shows /opt/ros/rolling/lib/python3.10/site-packages.

So I think the rolling package for hpp-fcl is missing a -DPYTHON_STANDARD_LAYOUT=ON and/or a -DPYTHON_DEB_LAYOUT=OFF

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 4, 2023

Thank you for verifying @nim65s. My hunch is that this is due to the difference between ROS1 packaging (where we use debian layout) and ROS2 packaging (where we use standard layout).
I am surprised to see the issue though since we explicitly take care of the pythonpath by
https://github.com/humanoid-path-planner/hpp-fcl/blob/3bc5c8d371c742815efe414a99ad0251a60e8e60/CMakeLists.txt#L288

I.e. I wonder if PYTHON_SITELIB is not matching where we install?

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 4, 2023

Ok, I found the issue. There was a new track cut for rolling by @cottsay two weeks ago which somehow dropped our patch that is available in Galactic, Rolling, etc. to activate the PYTHON_STANDARD_LAYOUT

Correct patches on humble: https://github.com/ros2-gbp/hpp_fcl-release/tree/patches/release/humble/hpp-fcl
No patches on rolling: https://github.com/ros2-gbp/hpp_fcl-release/tree/patches/release/rolling/hpp-fcl

Since this will likely also affect our other repositories, @cottsay is there a reason why patches got dropped and do we have to manually re-add them?

@cottsay
Copy link

cottsay commented Apr 4, 2023

Since this will likely also affect our other repositories, is there a reason why patches got dropped and do we have to manually re-add them?

The underlying cause was ros/rosdistro#32128. We hit the same bug when we migrated Rolling to Jammy. Unfortunately, it's difficult to determine what packages were affected, but I tried to clean up all of the issues I encountered during the rebuild. Clearly I missed this one.

I've restored the patches. Here's the release: ros/rosdistro#36698

Sorry for the inconvenience and confusion - we're working on possible solutions for this bug.

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 5, 2023

Thank you for the detail and fix @cottsay. We'll ping if we discover other repositories that dropped their patches :-)

@jcarpent
Copy link
Member Author

jcarpent commented Apr 5, 2023

Thanks @cottsay for the insight. Very helpful.
And thanks a lot for your efforts, that's very precious.

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

Successfully merging this pull request may close these issues.

4 participants