Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870694 - dev-util/meld-3.22.0 has troublesome shebang /usr/bin/python3 in /usr/bin/meld
Summary: dev-util/meld-3.22.0 has troublesome shebang /usr/bin/python3 in /usr/bin/meld
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 13:06 UTC by Sebastian Pipping
Modified: 2022-10-01 19:20 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 Sebastian Pipping gentoo-dev 2022-09-17 13:06:16 UTC
Hi!

File /usr/bin/meld has /usr/bin/python3 for a shebang so if /usr/bin/python3 is different from what PYTHON_SINGLE_TARGET has on meld, meld will not start but crash like this:

>> # meld
>> Traceback (most recent call last):
>>   File "/usr/bin/meld", line 96, in <module>
>>     import meld.conf  # noqa: E402
>> ModuleNotFoundError: No module named 'meld'

Would be cool to have that robust out of the box.  Thank you!
Comment 1 Larry the Git Cow gentoo-dev 2022-10-01 18:56:01 UTC
The bug has been closed via the following commit(s):

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

commit fdf3b6cd0b7528b64a514759110b2ae4e017e853
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-01 18:55:33 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-01 18:55:54 +0000

    dev-util/meld: Fix python shebang
    
    Closes: https://bugs.gentoo.org/870694
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/meld/meld-3.22.0.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-10-01 19:20:19 UTC
The bug has been referenced in the following commit(s):

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

commit 892f2fe6879667312b33108bbf18c4a07f0aa452
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2022-10-01 19:18:44 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2022-10-01 19:19:36 +0000

    dev-util/meld: Add missing revbump
    
    Bug: https://bugs.gentoo.org/870694
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-util/meld/{meld-3.22.0.ebuild => meld-3.22.0-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)