-
Notifications
You must be signed in to change notification settings - Fork 280
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
Fix problem with Googletest's LIBRARY_OUTPUT_DIRECTORY #1135
Conversation
The horribly maintained CMake files which are shipped with Googletest override the library output directory to ${CMAKE_BINARY_DIR}/lib, which points to the top-level build directory (it should have been CMAKE_CURRENT_BINARY_DIR). Unfortunately, that directory is used by setuptools as staging area for Python modules, and setup.py install will happily install everything it finds in the lib/ folder, including the libgtest.so binary. Among others, this has bitten PR2/pr2_mechanism#343 and ros/geometry#223 This PR fixes the output location to something sane(ish).
Thanks for looking into this Timo! You're proving the point that talking to colleagues about an issue at times resolves the issue 😄 💐 |
Thanks! Please rebuild ros-noetic-controller-manager-tests, ros-noetic-pr2-controller-manager, ros-noetic-tf after releasing this. |
was this rebuild done? it seems the most recent noetic sync did not fix this problem. Installing both ros-noetic-pr2-mechanism is still showing a conflict |
@davefeilseifer I doubt it, the PR is still unmerged. |
this is holding up prerelease testing for several other pr2 packages, is there anything that can be done to hurry this along? |
ping @mjcarroll @dirk-thomas |
@v4hn I am not a maintainer of this repository anymore. |
@tfoote @mjcarroll This has been holding the whole Moveit and dependent packages from Noetic release for more than a month... |
Any chance this would get applied to melodic, as well? We've also stumbled upon this in our ros-melodic package builds on Archlinux (see ros-melodic-arch/ros-melodic-tf#6) |
The horribly maintained CMake files which are shipped with Googletest
override the library output directory to ${CMAKE_BINARY_DIR}/lib, which
points to the top-level build directory (it should have been
CMAKE_CURRENT_BINARY_DIR).
Unfortunately, that directory is used by setuptools as staging area for
Python modules, and
setup.py install
will happily install everything itfinds in the lib/ folder, including the libgtest.so binary. Among
others, this has bitten PR2/pr2_mechanism#343 and ros/geometry#223
This PR fixes the output location to something sane(ish).