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
Created attachment 473846 [details] diagnostic_msgs buildlog common_msgs buildlog
Created attachment 473848 [details] geometry_msgs buildlog geometry_msgs buildlog
Created attachment 473850 [details] info emerge info
Created attachment 473852 [details] diagnostic_msgs environment diagnostic_msgs environment
Created attachment 473854 [details] geometry_msgs environment geometry_msgs environment
If this is an upstream issue, I'll file a bug ASAP but I need to be sure it's not related with gentoo.
@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?
please reopen if this still fails with latest tools/ebuilds might have been an issue with our patches