Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915044 - net-misc/streamlink-9999: DISTUTILS_USE_PEP517 value incorrect
Summary: net-misc/streamlink-9999: DISTUTILS_USE_PEP517 value incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 17:05 UTC by 2bc4
Modified: 2023-10-03 23:38 UTC (History)
0 users

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


Attachments
Update to the ebuild to use the provided build backend (streamlink-9999-custom-backend.diff,377 bytes, patch)
2023-10-03 13:38 UTC, sgrunt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 2bc4 2023-10-01 17:05:17 UTC
Seems it broke with upstream commit: 194d9bc193f5285bc1ba33af5fd89209a96ad3a7 

 * ERROR: net-misc/streamlink-9999::gentoo failed (compile phase):
 *   Unknown backend: __init__
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4310:  Called distutils-r1_src_compile
 *   environment, line 1993:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  733:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1975:  Called distutils-r1_python_compile
 *   environment, line 1794:  Called distutils_pep517_install '/var/tmp/portage/net-misc/streamlink-9999/work/streamlink-9999_python3.11/install'
 *   environment, line 2316:  Called _distutils-r1_get_backend
 *   environment, line  521:  Called _distutils-r1_backend_to_key '__init__'
 *   environment, line  392:  Called die
 * The specific snippet of code:
 *               die "Unknown backend: ${backend}"

Reproducible: Always
Comment 1 sgrunt 2023-10-03 13:38:36 UTC
Created attachment 872099 [details, diff]
Update to the ebuild to use the provided build backend

Upstream commit 194d9bc193f5285bc1ba33af5fd89209a96ad3a7 added a custom provided build backend - I believe all that needs to be done here is to update the ebuild to *use* that backend.
Comment 2 Larry the Git Cow gentoo-dev 2023-10-03 23:38:28 UTC
The bug has been closed via the following commit(s):

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

commit 27b9005edb79926a6893fb389afe1020b60611c9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-03 23:21:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-03 23:23:29 +0000

    net-misc/streamlink: add 6.2.1
    
    Closes: https://bugs.gentoo.org/915044
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/streamlink/Manifest                |  1 +
 net-misc/streamlink/streamlink-6.2.1.ebuild | 64 +++++++++++++++++++++++++++++
 net-misc/streamlink/streamlink-9999.ebuild  |  7 +++-
 3 files changed, 70 insertions(+), 2 deletions(-)