Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619440 - dev-ros/*_msgs build fails with: Multiple packages found with the same name
Summary: dev-ros/*_msgs build fails with: Multiple packages found with the same name
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 11:12 UTC by Alessandro Barbieri
Modified: 2020-08-07 16:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diagnostic_msgs buildlog (diagnostic_msgs-build.log,45.05 KB, text/plain)
2017-05-23 11:14 UTC, Alessandro Barbieri
Details
geometry_msgs buildlog (geometry_msgs-build.log,140.98 KB, text/plain)
2017-05-23 11:14 UTC, Alessandro Barbieri
Details
info (info,4.57 KB, text/plain)
2017-05-23 11:15 UTC, Alessandro Barbieri
Details
diagnostic_msgs environment (diagnostic_msgs-environment,170.65 KB, text/plain)
2017-05-23 11:17 UTC, Alessandro Barbieri
Details
geometry_msgs environment (geometry_msgs-environment,170.62 KB, text/plain)
2017-05-23 11:21 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-05-23 11:12:20 UTC
I reproduced in this way

extracted a stage 4
created a chroot
emerged ros-meta/desktop inside the chroot

see attachments for details
build fails with:

[ 21%] Generating EusLisp manifest code for diagnostic_msgs
catkin_generated/env_cached.sh /usr/bin/python2.7 /usr/share/geneus/cmake/../../../libexec/geneus/gen_eus.py -m -o /var/tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/
common_msgs-1.12.5/diagnostic_msgs-python2_7/devel/share/roseus/ros/diagnostic_msgs diagnostic_msgs std_msgs
Traceback (most recent call last):
  File "//usr/lib64/python2.7/site-packages/geneus/geneus_main.py", line 137, in genmain
    pkg_map = get_pkg_map()
  File "//usr/lib64/python2.7/site-packages/geneus/geneus_main.py", line 56, in get_pkg_map
    pkgs = packages.find_packages(ws)
  File "//usr/lib64/python2.7/site-packages/catkin_pkg/packages.py", line 94, in find_packages
    raise RuntimeError('\n'.join(duplicates))
RuntimeError: Multiple packages found with the same name "actionlib_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/actionlib_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/actionlib_msgs
Multiple packages found with the same name "common_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/common_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/common_msgs
Multiple packages found with the same name "diagnostic_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/diagnostic_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/diagnostic_msgs
Multiple packages found with the same name "geometry_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/geometry_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/geometry_msgs
Multiple packages found with the same name "nav_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/nav_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/nav_msgs
Multiple packages found with the same name "sensor_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/sensor_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/sensor_msgs
Multiple packages found with the same name "shape_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/shape_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/shape_msgs
Multiple packages found with the same name "stereo_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/stereo_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/stereo_msgs
Multiple packages found with the same name "trajectory_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/trajectory_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/trajectory_msgs
Multiple packages found with the same name "visualization_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/visualization_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/visualization_msgs
ERROR:  Multiple packages found with the same name "actionlib_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/actionlib_msgs
- tmp/portage/dev-ros/geometry_msgs-1.12.5/work/common_msgs-1.12.5/actionlib_msgs
Multiple packages found with the same name "common_msgs":
- tmp/portage/dev-ros/diagnostic_msgs-1.12.5/work/common_msgs-1.12.5/common_msgs
Comment 1 Alessandro Barbieri 2017-05-23 11:14:00 UTC
Created attachment 473846 [details]
diagnostic_msgs buildlog

common_msgs buildlog
Comment 2 Alessandro Barbieri 2017-05-23 11:14:48 UTC
Created attachment 473848 [details]
geometry_msgs buildlog

geometry_msgs buildlog
Comment 3 Alessandro Barbieri 2017-05-23 11:15:42 UTC
Created attachment 473850 [details]
info

emerge info
Comment 4 Alessandro Barbieri 2017-05-23 11:17:06 UTC
Created attachment 473852 [details]
diagnostic_msgs environment

diagnostic_msgs environment
Comment 5 Alessandro Barbieri 2017-05-23 11:21:33 UTC
Created attachment 473854 [details]
geometry_msgs environment

geometry_msgs environment
Comment 6 Alessandro Barbieri 2017-06-02 17:31:59 UTC
If this is an upstream issue, I'll file a bug ASAP but I need to be sure it's not related with gentoo.
Comment 7 Alessandro Barbieri 2017-06-03 19:17:49 UTC
@aballier found that upstream knows the issue
https://github.com/ros-infrastructure/catkin_pkg/issues/97
and told the users to abide to the layout.
There is something in the ros-catkin.eclass that is not compliant?
Comment 8 Alexis Ballier gentoo-dev 2020-08-07 16:01:47 UTC
please reopen if this still fails with latest tools/ebuilds

might have been an issue with our patches