[kinetic][melodic] Backport set egg base #1073 #1077
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a cherry-pick of #1073 onto the
kinetic-devel
branch. I confirmed #1069 affects those branches in both ROS Kinetic and Melodic docker images, and that this cherry-pick fixes the issue.Test setup
src
set to be read onlyangles
at commitfe974f2d84b719d3aa0593a4bf633183d75ba213
which uses setuptoolsdist_angles
made by copying enough ofangles
to build a package, changing the name, and usingdistutils.core
instead ofsetuptools
catkin
checked out this PRI confirmed using the latest release of catkin that #1069 is an issue using both
catkin_make install
andcatkin_make_isolated --install
in ROS Kinetic and Melodic. I did not trycatkin-tools
in either distro.Kinetic `catkin_make install` permission denied error
Kinetic `catkin_make_isolated --install` permission denied error
Melodic `catkin_make install` permission denied error
Melodic `catkin_make_isolated --install` permission denied error
I deleted the
build
,build_isolated
,devel
,devel_isolated
,install
,install_isolated
folders between each invocation. After this, I built the workspace with catkin from this PR, made surewhich catkin_make
showed this workspace, and repeated the same process in both containers. This time the builds all succeeded.Kinetic `catkin_make install` build success
Kinetic `catkin_make_isolated --install` build success
Melodic `catkin_make install` build success
Melodic `catkin_make_isolated --install` build success