Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924615 - net-misc/yt-dlp-9999 sed: can't read requirements.txt: No such file or directory
Summary: net-misc/yt-dlp-9999 sed: can't read requirements.txt: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-15 02:21 UTC by email200202
Modified: 2024-02-15 09:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.36 KB, text/x-log)
2024-02-15 02:22 UTC, email200202
Details
emerge --info '=net-misc/yt-dlp-9999::gentoo' (file_924615.txt,7.79 KB, text/plain)
2024-02-15 02:23 UTC, email200202
Details
emerge -pqv '=net-misc/yt-dlp-9999::gentoo' (file_924615.txt,156 bytes, text/plain)
2024-02-15 02:25 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2024-02-15 02:21:50 UTC
>>> Verifying ebuild manifests
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.96, 0.49, 0.31
>>> Emerging (1 of 1) net-misc/yt-dlp-9999::gentoo
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.96, 0.49, 0.31
>>> Failed to emerge net-misc/yt-dlp-9999, Log file:
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.13, 0.54, 0.33
>>>  '/var/tmp/portage/net-misc/yt-dlp-9999/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.13, 0.54, 0.33
>>> Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 1.13, 0.54, 0.33
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.13, 0.54, 0.33

 * Package:    net-misc/yt-dlp-9999:0
 * Repository: gentoo
 * Maintainer: ionen@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Repository id: yt-dlp_yt-dlp.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_YT_DLP_YT_DLP
 *   EGIT_OVERRIDE_BRANCH_YT_DLP_YT_DLP
 *   EGIT_OVERRIDE_COMMIT_YT_DLP_YT_DLP
 *   EGIT_OVERRIDE_COMMIT_DATE_YT_DLP_YT_DLP
 * 
 * Fetching https://github.com/yt-dlp/yt-dlp.git ...
git fetch https://github.com/yt-dlp/yt-dlp.git +HEAD:refs/git-r3/HEAD
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 1 (delta 1), pack-reused 0
Unpacking objects: 100% (3/3), 3.13 KiB | 641.00 KiB/s, done.
From https://github.com/yt-dlp/yt-dlp
   3dc9232e1..fb44020fa  HEAD       -> refs/git-r3/HEAD
git symbolic-ref refs/git-r3/net-misc/yt-dlp/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/yt-dlp/yt-dlp.git to /var/tmp/portage/net-misc/yt-dlp-9999/work/yt-dlp-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/yt-dlp/yt-dlp.git
   updating from commit:     3dc9232e1aa58fe3c2d8cafb50e8162d6f0e891e
   to commit:                fb44020fa98e47620b3aa1dab94b4c5b7bfb40bd
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 * Build system packages:
 *   dev-python/gpep517            : 15
 *   dev-python/installer          : 0.7.0
 *   dev-python/setuptools         : 69.1.0
 *   dev-python/setuptools-rust    : 1.8.1
 *   dev-python/setuptools-scm     : 8.0.4
 *   dev-python/wheel              : 0.42.0
sed: can't read requirements.txt: No such file or directory
 * ERROR: net-misc/yt-dlp-9999::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_prepare
 *   environment, line 4685:  Called die
 * The specific snippet of code:
 *       sed -ri requirements.txt -e "s/^(pycryptodome)x/\1/" -e "/^(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d" || die
 * 
 * If you need support, post the output of `emerge --info '=net-misc/yt-dlp-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/yt-dlp-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/yt-dlp-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/yt-dlp-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/yt-dlp-9999/work/yt-dlp-9999'
 * S: '/var/tmp/portage/net-misc/yt-dlp-9999/work/yt-dlp-9999'
 * Messages for package net-misc/yt-dlp-9999:
 * ERROR: net-misc/yt-dlp-9999::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_prepare
 *   environment, line 4685:  Called die
 * The specific snippet of code:
 *       sed -ri requirements.txt -e "s/^(pycryptodome)x/\1/" -e "/^(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d" || die


Reproducible: Always

Steps to Reproduce:
1. update net-misc/yt-dlp-9999

Actual Results:  
failed

Expected Results:  
not to fail
Comment 1 email200202 2024-02-15 02:22:38 UTC
Created attachment 885003 [details]
build.log
Comment 2 email200202 2024-02-15 02:23:53 UTC
Created attachment 885004 [details]
emerge --info '=net-misc/yt-dlp-9999::gentoo'
Comment 3 email200202 2024-02-15 02:25:04 UTC
Created attachment 885005 [details]
emerge -pqv '=net-misc/yt-dlp-9999::gentoo'
Comment 4 Ionen Wolkens gentoo-dev 2024-02-15 08:50:47 UTC
Looks like it changed its pep517 backend from setuptools to hatchling, will take a look soon.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-15 09:30:56 UTC
The bug has been closed via the following commit(s):

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

commit 23b95ba64f7ef8da1ec8028c2db38d94475aab3d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-02-15 09:09:33 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-02-15 09:30:01 +0000

    net-misc/yt-dlp: update live (now using hatchling)
    
    Closes: https://bugs.gentoo.org/924615
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-misc/yt-dlp/yt-dlp-9999.ebuild | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)