Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707046 - dev-ros/genmsg-0.5.12 not picking up changed PYTHON_TARGETS
Summary: dev-ros/genmsg-0.5.12 not picking up changed PYTHON_TARGETS
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-28 22:40 UTC by Victor Mataré
Modified: 2020-01-29 14:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2020-01-28 22:40:31 UTC
I recently reported that many ROS packages lack python 3 support. This is one example of how I came to that impression. I can see that the ebuild has:

PYTHON_COMPAT=( python{2_7,3_6} pypy3 )

And I have:
# grep PYTHON_TARGETS /etc/portage/make.conf
PYTHON_TARGETS="python2_7 python3_6"

But:

# emerge genmsg -av
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-ros/genmsg-0.5.12::gentoo  USE="-test" PYTHON_TARGETS="python2_7" 0 KiB

Other packages (i.e. those that don't use the ros-catkin eclass) work as expected. I also have some ROS packages which DO use both PYTHON_TARGETS. Really not sure what is going wrong here...
Comment 1 Alexis Ballier gentoo-dev 2020-01-29 11:10:35 UTC
I get this:

[ebuild   R    ] dev-ros/genmsg-0.5.12::gentoo  USE="-test" PYTHON_TARGETS="python3_6" 0 KiB



You probably modified ros-catkin.eclass. Please provide emerge --info and reopen.
Comment 2 Victor Mataré 2020-01-29 14:53:13 UTC
Wow. Indeed I had some old ros-catkin.eclass lying around I had been tinkering with a while ago. Many thanks, and apologies for the time wasted.