[MacPorts] #66853: yt-dlp @2023.01.06_1+ffmpeg+python310: applying yt-dlp-config-location.patch fails

MacPorts noreply at macports.org
Mon Feb 6 02:49:55 UTC 2023


#66853: yt-dlp @2023.01.06_1+ffmpeg+python310: applying yt-dlp-config-
location.patch fails
--------------------+------------------------
 Reporter:  larryv  |      Owner:  ryandesign
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  yt-dlp
--------------------+------------------------
 I tried running `sudo port clean --all yt-dlp` to no effect.  I'm running
 the latest base ([changeset:df4683d3352db46af8dcb071ee0b24d21eb12c35
 /macports-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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66853>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list