-
Notifications
You must be signed in to change notification settings - Fork 130
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
Multiple packages found with the same name #876
Comments
dave992
added a commit
to sam-xl/industrial_ci
that referenced
this issue
Aug 20, 2024
Executing the rosdep command from the root of repository (!= workspace), results in multiple packages found with the same name when run from the CI on GitLab. Unable to reproduce this from inside the same container as the CI runs, but this fix seems to circumvent the issue by restricting the folders rosdep can search in. Functionally this should behave the same.
dave992
added a commit
to sam-xl/industrial_ci
that referenced
this issue
Aug 20, 2024
Executing the rosdep command from the root of repository (!= workspace), results in multiple packages found with the same name when run from the CI on GitLab. Unable to reproduce this from inside the same container as the CI runs, but this fix seems to circumvent the issue by restricting the folders rosdep can search in. Functionally this should behave the same.
Thanks for reporting! Unfortunately, I have not found any proper solution for this issue yet. Line 81 in 53cd3f1
This is not be documented properly, though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run in the following error during the
install_target_dependencies
step when running the CI:CI Configuration
The GitLab CI settings I use:
I took this config from #627
Observations
I only run into this error when I set
$BASEDIR
inside of$CI_PROJECT_DIR
. Using$BASEDIR: /workspaces
does not result in this error.Interestingly enough, if I manually log into the container created by the CI job (by keeping it alive after the failure) and run the same command and from the same directory, I do not get any errors.
The command:
The only way to replicate the same error is to run:
or
I do not understand why this behaves like this. Even printing the
$ROS_PACKAGE_PATH
shows no unexpected folders.Folder structure
The folder structure looks like this:
Commands get executed from the
ros_meta_pkg
folder.Possible solution
If I run the rosdep command from the
target_ws
I no longer run into any issues.Looking at the source code this can be achieved by removing the
/src
from the following line. This step can probably be skipped.industrial_ci/industrial_ci/src/workspace.sh
Line 396 in d23b9ad
And replacing
ici_exec_in_workspace "$extend" "."
withici_exec_in_workspace "$extend" "$@"
so the command switches to thetarget_ws
folder before executing therosdep
commandindustrial_ci/industrial_ci/src/workspace.sh
Line 376 in d23b9ad
The text was updated successfully, but these errors were encountered: