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

pr2_controller_manager package conflicts with tf in noetic #343

Closed
davefeilseifer opened this issue Feb 20, 2021 · 1 comment
Closed

pr2_controller_manager package conflicts with tf in noetic #343

davefeilseifer opened this issue Feb 20, 2021 · 1 comment

Comments

@davefeilseifer
Copy link

pr2_controllers_manager package in noetic tries to overwrite /opt/ros/noetic/lib/python3/dist-packages/libgtest.so which is in ros-noetic-tf

to replicate:

apt install ros-noetic-tf
apt install ros-noetic-pr2-controller-manager

output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ros-noetic-pr2-controller-manager
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/279 kB of archives.
After this operation, 1,200 kB of additional disk space will be used.
(Reading database ... 251560 files and directories currently installed.)
Preparing to unpack .../ros-noetic-pr2-controller-manager_1.8.18-1focal.20210114.174916_amd64.deb ...
Unpacking ros-noetic-pr2-controller-manager (1.8.18-1focal.20210114.174916) ...
dpkg: error processing archive /var/cache/apt/archives/ros-noetic-pr2-controller-manager_1.8.18-1focal.20210114.174916_amd64.deb (--unpack):
trying to overwrite '/opt/ros/noetic/lib/python3/dist-packages/libgtest.so', which is also in package ros-noetic-tf 1.13.2-1focal.20210112.083534
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ros-noetic-pr2-controller-manager_1.8.18-1focal.20210114.174916_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

roehling added a commit to fkie-forks/catkin that referenced this issue Feb 22, 2021
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).
mjcarroll pushed a commit to ros/catkin that referenced this issue Apr 19, 2021
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).
@davefeilseifer
Copy link
Author

resolved with catkin update

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

1 participant