Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726414 - dev-util/catkin-0.8.3: strange /usr/bin/* installed, scripts not moved to python-exec
Summary: dev-util/catkin-0.8.3: strange /usr/bin/* installed, scripts not moved to pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-31 09:53 UTC by Arusekk
Modified: 2020-06-04 13:08 UTC (History)
1 user (show)

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 Arusekk 2020-05-31 09:53:11 UTC
Intalling currently latest catkin creates a broken symlink in /usr/bin/* instead of moving python scripts from /usr/bin to /usr/lib/python-exec and symlinking them (and installs no other files there).

This is clearly something like an ebuild bug.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-utils/catkin
Actual Results:  
Strange /usr/bin/* is present, scripts not moved.

$ equery f catkin
 * Searching for catkin ...
 * Contents of dev-util/catkin-0.8.3:
/etc
/etc/env.d
/etc/env.d/40catkin
/usr
/usr/.catkin
/usr/bin
/usr/bin/* -> ../lib/python-exec/python-exec2
/usr/bin/catkin_find
/usr/bin/catkin_init_workspace
/usr/bin/catkin_make
/usr/bin/catkin_make_isolated
/usr/bin/catkin_test_results
/usr/bin/catkin_topological_order
/usr/lib
/usr/lib/python3.7
# ... more paths to follow

Expected Results:  
No /usr/bin/* present, scripts correctly moved.

$ equery f catkin
 * Searching for catkin ...
 * Contents of dev-util/catkin-0.8.3:
/etc
/etc/env.d
/etc/env.d/40catkin
/usr
/usr/.catkin
/usr/bin
/usr/bin/catkin_find -> ../lib/python-exec/python-exec2
/usr/bin/catkin_init_workspace -> ../lib/python-exec/python-exec2
/usr/bin/catkin_make -> ../lib/python-exec/python-exec2
/usr/bin/catkin_make_isolated -> ../lib/python-exec/python-exec2
/usr/bin/catkin_test_results -> ../lib/python-exec/python-exec2
/usr/bin/catkin_topological_order -> ../lib/python-exec/python-exec2
/usr/lib
/usr/lib/python-exec
/usr/lib/python-exec/python3.7/catkin_find
# ... more paths to follow
Comment 1 Larry the Git Cow gentoo-dev 2020-06-04 13:08:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022f150b8d86abac12c77f73ac86e88b3d813f36

commit 022f150b8d86abac12c77f73ac86e88b3d813f36
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2020-06-04 13:07:10 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2020-06-04 13:08:02 +0000

    dev-util/catkin: fix python script install.
    
    Closes: https://bugs.gentoo.org/726414
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 .../catkin/{catkin-0.8.3.ebuild => catkin-0.8.3-r1.ebuild}  |  1 +
 dev-util/catkin/catkin-9999.ebuild                          |  1 +
 dev-util/catkin/files/distutils-v2.patch                    | 13 +++++++++++++
 3 files changed, 15 insertions(+)