catkin build warning: cannot symlink from devel/.private/pkg/local_setup.sh to existing /devel/local_setup.sh
The warning seems pretty harmless but nonetheless it bothers me each time it shows up.
I have zero idea what is happening but basically there seems to be be duplicates of the same file. However their contents are different and one was placed under a .private folder.
Where they are located:
- home/username/workspace/devel/local_setup.sh
- home/username/workspace/devel/.private/aPkgInWS/local_setup.sh
What their differences are:
- ${_CATKIN_SETUP_DIR:=/home/username/workspace/devel/.private/catkin_tools_prebuild}
- ${_CATKIN_SETUP_DIR:=/home/username/workspace/devel/.private/aPkgInWS}
(Note: aPkgInWS = name of a package in the workspace)
Warning: Cannot symlink from /home/username/workspace/devel/.private/aPkgInWS/local_setup.sh to existing file /home/username/workspace/devel/local_setup.sh
I get a warning for every single package in the workspace. Please explain what is happening.
Doing a little search it seems it was a catkin_tools, that is discussed here and here. Maybe you can check those issues and find more information.
I'm seeing the same warning but for cpython pyc files
I'll look more into it later, the relevant code is in
catkin_tools
:https://github.com/catkin/catkin_tool...