On Mon, Sep 30, 2024 at 05:55:05PM +0000, Anon Loli wrote: > On Sun, Sep 29, 2024 at 07:31:54PM +0200, Kirill A. Korinsky wrote: > > On Sun, 29 Sep 2024 18:25:15 +0200, > > Anon Loli <anonl...@autistici.org> wrote: > > > > > > The yt-dlp port simply stops working for it's primary use, which is > > > YouTube > > > stuff. > > > It stops working after a few months, so it needs to be updated to the last > > > release as soon as possible. > > > I don't know exactly why things with YouTube stop working, but they just > > > do... > > > as said yt-dlp runs fine on -current, but not on -stable, and this has > > > happened > > > to me a few times already, so it's safe to assume that this will keep up. > > > > > > This is the very reason as to why it is tricky to use yt-dlp on > > > non-current > > > OpenBSD installs... I have to ssh into a -current machine, use yt-dlp and > > > then > > > scp files over to where I want them... all because yt-dlp breaks easily, > > > most > > > notably for YouTube usage. > > > > > > I beg for you to find or share a solution. > > > > > > I believe that I have tried "pkg_add -Dsnap -u yt-dlp" and it has not > > > worked... > > > perhaps it might work now but it won't work always, there was a error > > > code, > > > something to do with C version? This might be because last time I tried > > > this, I > > > was on 7.4 -stable machine, but latest yt-dlp was for 7.5 -current.. > > > > > > yt-dlp has 85 total dependencies (make all-dir-depends), so I'm guessing > > > that > > > this might not be an easy task.... > > > > > > > > > Can there be anything done about this? > > > > You may checkout ports for stable, and follow only -current inside > > www/yt-dlp, after that just use make. > > > > It can be a bit messy if libraries need to be upadted. > > > > Something like this: > > > > $ cvs -qd anoncvs@anon...@ftp.hostserver.de:/cvs checkout -rOPENBSD_7_5 -P > > ports > > ... > > $ cd ports/www/yt-dlp/ > > > > yt-dlp $ cvs -q up -Pd -A > > P Makefile > > U distinfo > > U patches/patch-pyproject_toml > > cvs server: patches/patch-setup_py is no longer in the repository > > P pkg/PLIST > > yt-dlp $ env PORTSDIR_PATH=$(pwd)/../.. make show=VERSION > > 2024.08.06 > > yt-dlp $ > > > > -- > > wbr, Kirill > > > Hi! > Hmmm that is extremely weird... I did not get e-mail from the mailing list to > myself like AT ALL, but you seem to have gotten it? > Unless you are a moderator, one of the following things is probably happening: > OpenBSD's @ports mailing list for some reason did not send me my own e-mail > (if > this the case, it's most likely the case of censorship and you as the > moderator > > approved it manually, OR something related to me being banned or whatever?) > 2nd thing could be that autistici.org, the e-mail service provider that I use, > is buggy and/or throttling me. > > Now to get to your answer: I already said that I tried this, except it was a > manual file change 1 by one (downloading from cvsweb because me lazy). > Perhaps by not working is what you meant by "a little bit messy"... > THIS is one of reasons as to why use as few dependencies as possible, if any. > > I, myself, NEVER depended on ANY dependency so far, except SOMETIMES standard > libraries such as stdint.h . > Of course libraries such as those related to cryptography might be best left > to thoes who do such things every day. > "Developers" these days unfortunately depend too much on other people's > projects. > Updating all dependencies recursively to -current is also a idea that I don't > even want to dream of. > > Original e-mail can be found in attachments.
But I will try what you proposed (which I already MORE-LESS tried), once more time. Like I said, I think that the compiler complained about C version or something like that