Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860240 - net-misc/openvswitch-2.17: shebangs within installed Python files are wrong
Summary: net-misc/openvswitch-2.17: shebangs within installed Python files are wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 08:51 UTC by Stefan Schmid
Modified: 2022-07-24 00:36 UTC (History)
2 users (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 Stefan Schmid 2022-07-23 08:51:14 UTC
The Python scripts installed by the package net-misc/openvswitch have wrong paths in their shebang's and do not work that way.

Examples:
/usr/bin/ovs-vlan-test
#! /var/tmp/portage/net-misc/openvswitch-2.17.2-r1/temp/python3.10/bin/python3

/usr/bin/ovs-tcpdump
#! /var/tmp/portage/net-misc/openvswitch-2.17.2-r1/temp/python3.10/bin/python3

I haven't checked all installed scripts but the problem seems to be present in all python-scripts. For the shellscript's (an example below) the problem does not seem to exist. 


Example:
/usr/bin/ovs-docker
#!/bin/bash

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-07-24 00:36:58 UTC
The bug has been closed via the following commit(s):

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

commit f20c05d22271e90531a17a04ea279dcb126c7675
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-24 00:36:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-24 00:36:39 +0000

    net-misc/openvswitch: fix installed script Python shebangs
    
    Closes: https://bugs.gentoo.org/860240
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/openvswitch/openvswitch-2.17.2-r1.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)