Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926719 - [guru] net-irc/thelounge-4.4.2_rc1 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: [guru] net-irc/thelounge-4.4.2_rc1 fails to compile with dev-lang/python-exec...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rahil Bhimjiani
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2024-03-11 07:47 UTC by Agostino Sarubbo
Modified: 2024-03-12 00:18 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,688.57 KB, application/x-xz)
2024-03-11 07:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-11 07:47:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-irc/thelounge-4.4.2_rc1 fails to compile with dev-lang/python-exec[-native-symlinks].
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0035
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-11 07:47:26 UTC
Created attachment 887279 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-11 07:47:27 UTC
Error(s) that match a know pattern:


gyp ERR! stack Error: Could not find any Python installation to use
npm verb stack Error: command failed
Comment 3 Larry the Git Cow gentoo-dev 2024-03-12 00:18:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fd3dfb68a9bc5b378c722874b572185e26c916e

commit 8fd3dfb68a9bc5b378c722874b572185e26c916e
Author:     Rahil Bhimjiani <me@rahil.rocks>
AuthorDate: 2024-03-11 19:36:23 +0000
Commit:     Rahil Bhimjiani <me@rahil.rocks>
CommitDate: 2024-03-11 19:58:27 +0000

    net-irc/thelounge: use specific python version
    
    Instead of just executing `python` or `python3` which are just symlinks
    and considered bad practice, execute specific python
    executable (i.e. /usr/bin/python3.11)
    
    This also fixes failing build with python-exec[-native-symlinks]
    
    Closes: https://bugs.gentoo.org/926719
    Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>

 net-irc/thelounge/thelounge-4.4.1.ebuild     | 12 ++++++++++--
 net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)