Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#66853 closed defect (fixed)

yt-dlp @2023.01.06_1+ffmpeg+python310: applying yt-dlp-config-location.patch fails

Reported by: larryv (Lawrence Velázquez) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: yt-dlp

Description

I tried running sudo port clean --all yt-dlp to no effect. I'm running the latest base (df4683d).

:notice:patch --->  Applying patches to yt-dlp
:info:patch --->  Applying yt-dlp-config-location.patch
:debug:patch Creating patch directory: /opt/local/var/macports/build/_Users_larryv_Code_MacPorts_ports_net_youtube-dl/yt-dlp/work/youtube-dl
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_larryv_Code_MacPorts_ports_net_youtube-dl/yt-dlp/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.14'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_Users_larryv_Code_MacPorts_ports_net_youtube-dl/yt-dlp/work/youtube-dl" && /usr/bin/patch -p0 < '/Users/larryv/Code/MacPorts/ports/net/youtube-dl/files/yt-dlp-config-location.patch'
:debug:patch system:  cd "/opt/local/var/macports/build/_Users_larryv_Code_MacPorts_ports_net_youtube-dl/yt-dlp/work/youtube-dl" && /usr/bin/patch -p0 < '/Users/larryv/Code/MacPorts/ports/net/youtube-dl/files/yt-dlp-config-location.patch'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- README.md.orig	2023-01-06 15:22:53.000000000 -0600
:info:patch |+++ README.md	2023-01-11 18:00:37.000000000 -0600
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 2 out of 2 hunks ignored
:info:patch can't find file to patch at input line 29
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- yt-dlp.1.orig	2023-01-06 15:22:55.000000000 -0600
:info:patch |+++ yt-dlp.1	2023-01-11 18:00:54.000000000 -0600
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 2 out of 2 hunks ignored
:info:patch can't find file to patch at input line 58
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- yt_dlp/utils.py.orig	2023-01-06 15:21:42.000000000 -0600
:info:patch |+++ yt_dlp/utils.py	2023-01-11 18:02:50.000000000 -0600
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 1 out of 1 hunk ignored
:info:patch Command failed:  cd "/opt/local/var/macports/build/_Users_larryv_Code_MacPorts_ports_net_youtube-dl/yt-dlp/work/youtube-dl" && /usr/bin/patch -p0 < '/Users/larryv/Code/MacPorts/ports/net/youtube-dl/files/yt-dlp-config-location.patch'
:info:patch Exit code: 1

Attachments (1)

main.log (7.8 KB) - added by larryv (Lawrence Velázquez) 21 months ago.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by larryv (Lawrence Velázquez)

Attachment: main.log added

comment:1 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 8227d15d22e58e74339188eacf29aa6d78902dd1/macports-ports (master):

yt-dlp: Fix worksrcdir

Closes: #66853

comment:2 in reply to:  1 Changed 21 months ago by larryv (Lawrence Velázquez)

Thanks, Ryan!

Note: See TracTickets for help on using tickets.