And why would you do that? When pkg pulls in a dependency, it's because the software needs it to run properly.I did try delete deno
mpv can play from YouTube using yt-dlp. So mpv depends on yt-dlp, which depends on py-yt-dlp-ejs, which in turn depends on Deno.Okay. MPV needs yt-dlp and yt-dlp...and I have two new packages
Personally I would've preferred lang/quickjs or lang/quickjs-ng as default because they're lighter and are currently still maintained in FreeBSD, but they have their own issues and Deno is yt-dlp's default anyway, so ...BTW "deno" doesn't have maintainer and supposed to be soon removed...
Did you configure yt-dlp to use it?For yt-dlp I did also try to use the deno package to no avail.
--js-runtimes deno:/usr/local/bin/deno
--remote-components ejs:github
--js-runtimes deno:/usr/local/bin/deno
--remote-components ejs:github
$ cd /tmp$ fetch https://github.com/yt-dlp/yt-dlp/archive/refs/heads/master.zip$ unzip master.zip$ /usr/local/bin/python3 /tmp/yt-dlp-master/yt_dlp/__main__.py -f18 https://www.youtube.com/shorts/sI24hdszcXYWhat does yt-dlp say?
$ /usr/local/bin/python3 /tmp/yt-dlp-master/yt_dlp/__main__.py -f18 https://www.youtube.com/shorts/sI24hdszcXY
[youtube] Extracting URL: https://www.youtube.com/shorts/sI24hdszcXY
[youtube] sI24hdszcXY: Downloading webpage
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one
[youtube] sI24hdszcXY: Downloading android vr player API JSON
[info] sI24hdszcXY: Downloading 1 format(s): 18
[info] There are no subtitles for the requested languages
[download] Destination: Day 1 at Scale 23X - One Word to Describe FreeBSD [sI24hdszcXY].mp4
[download] 100% of 2.09MiB in 00:00:01 at 2.08MiB/s
[EmbedSubtitle] There aren't any subtitles to embed
htpc:/tmp $ deno
ld-elf.so.1: /usr/local/bin/deno: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"
Yes, you're probably right. However, I'm not enthusiastic about fixing that at the moment. Fernandel has the thread marked solved so it's all good. Thanks!roper, it's obvious now that the problem is not with yt-dlp or its configuration, but with deno not being able to run.
You may be running programs built for a different version of FreeBSD, causing an ABI mismatch. What FreeBSD version are you using (freebsd-version -kru)?