![]() |
ytp-dlp.SlackBuild fails to upgrade package
Hello,
i am still using Slackware 14.2. I have an older version of software yt-dlp I wanted to update because it is not working for me. I have adapted everything in the package folder (yt-dlp.info and yt-dlp.SlackBuild) When i try to execute the install script i get Code:
yt-dlp/test/test_downloader_external.py |
Have you a version of python3 in 14.2?
Try updating it with Code:
sudo yt-dlp -U |
Quote:
Code:
Latest version: 2023.10.07, Current version: 2023.02.17 |
Hello glupa4e,
if you use python3 3.7.2 http://slackbuilds.org/repository/14.2/python/python3/ you need upgrade with python-3.9.18 https://mirror.slackbuilds.org/slack...ource/python3/ yt-dlp 2023.09.24 important changes The minimum recommended Python version has been raised to 3.8 Since Python 3.7 has reached end-of-life https://github.com/yt-dlp/yt-dlp/issues/7803 |
Quote:
i did whatever you advised me to, unfortunately i am still getting the same error. I downloaded python-3.9.28 from Slackware15 repo (although i am still using Slackware14.2) then package compiled and i installed it. perhaps i should declare somewhere that default verrsion for python should be 3.9.18 as i have also older ones, but what will happen with other applicataions requiring those libraries, will they stop working? or i just somehow can pass to ytp-dl script which python version to use? |
I believe you have to give full path.
Otherwise you could use virtualenv to get something working. It would isolate the software with the specific python version. |
Maybe this Appimage is working on 14.2?
https://github.com/jely2002/youtube-dl-gui/releases |
I don't think the error is python related. Something is trying to apply a patch and it's failing, are there any lines in the slackbuild with the patch command in? If there are then they are probably not needed for the version you are trying to install, try removing or commenting them out.
|
Quote:
There is a line in the SlackBuild Code:
# if anyone's wondering, there's no python2 support. |
Quote:
the only line i saw in .SlackBuild related to patch was Code:
patch -p1 < $CWD/plugin_loading.diff Code:
copying yt_dlp/compat/_deprecated.py -> build/lib/yt_dlp/compat |
Quote:
hello, i tried SlackBuild from https://slackbuilds.org/repository/1...outube-dl-gui/ where i replaced the .tar.gz file with the one provided by you and then got error Code:
youtube-dl-gui-2.4.0/ytdlgui_demo.gif Code:
python setup.py install --root=$PKG |
Hello glupa4e,
just to be sure, are you using this slackbuild from B.Watson http://slackbuilds.org/repository/15...?search=yt-dlp with this source https://github.com/yt-dlp/yt-dlp/arc...3.10.13.tar.gz today I updated yt-dlp-2023.07.06 to yt-dlp-2023.10.07, norhing to report. |
Quote:
please forgive my stupidity. I copied SlackBuild file unzipped it and inside i put the source you've pointed out. When i run ./yt-dlp.Slackbuild i get error Code:
yt-dlp-2023.10.13/.github/banner.svg Code:
#57 cd $PRGNAM Code:
/tmp/SBo Code:
yt-dlp-2023.10.13/yt-dlp Code:
package-yt-dlp - > it is empty can you please let me know how to get out of this crazy situation? |
yt-dlp.SlackBuild
line 25: VERSION=${VERSION:-2023.10.13} line 55 56 57: rm -rf $PRGNAM-$VERSION tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION line 98: # gzip -9 $PKG/usr/man/man1/* yt-dlp.info line 2 3 4 5: VERSION="2023.10.13" HOMEPAGE="https://github.com/yt-dlp/yt-dlp" DOWNLOAD="https://github.com/yt-dlp/yt-dlp/archive/refs/tags/2023.10.13.tar.gz" MD5SUM="4138a090a8fb0ad71c8b4a2af3a1b5fd" have fun |
[QUOTE=glupa4e;6458719]hello, i tried SlackBuild from https://slackbuilds.org/repository/1...outube-dl-gui/
/QUOTE] That the gui (graphic user interface), not the core software just a frontend. I suggest you try to change what bigbadaboum advised. A simple tool that makes things easier is sbopkg : https://sbopkg.org |
All times are GMT -5. The time now is 03:06 PM. |