Upstream recently replaced python-recommonmark with python-myst-parser, affecting make dependencies for this package. Unrelated to that I am getting a check failure that I can't fully figure out. As the error is about missing package metadata, I guess this is yet another issue with how the tests are invoked. It does not appear to occur when a previous version of streamlink is installed, but since I prefer to build in a container, that is usually not the case. Any ideas on how to fix this one?
Search Criteria
Package Details: streamlink-git 4.1.0.r32.g752179a7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/streamlink-git.git (read-only, click to copy) |
---|---|
Package Base: | streamlink-git |
Description: | CLI program that launches streams from various streaming services in a custom video player (livestreamer fork) |
Upstream URL: | https://streamlink.github.io/ |
Keywords: | fork livestreamer streamlink |
Licenses: | BSD |
Conflicts: | streamlink |
Provides: | streamlink |
Submitter: | metak |
Maintainer: | metak |
Last Packager: | metak |
Votes: | 15 |
Popularity: | 0.99 |
First Submitted: | 2016-10-01 08:18 (UTC) |
Last Updated: | 2022-06-21 11:54 (UTC) |
Dependencies (16)
- python-isodate
- python-pycountry
- python-pycryptodome
- python-pysocks
- python-requests
- python-websocket-client (python-websocket-client-git)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- python-myst-parser (make)
- python-setuptools (make)
- python-shtab (make)
- python-sphinx (python-sphinx-git, python-sphinx-2) (make)
- python-versioningit (make)
- python-freezegun (check)
- python-pytest (check)
- python-requests-mock (check)
- ffmpeg (ffmpeg-v4l2-request-git, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-libfdk_aac, ffmpeg-obs, ffmpeg-cuda, ffmpeg-mmal, ffmpeg-amd-full-git, ffmpeg-vulkan, ffmpeg-nocuda, ffmpeg-headless, ffmpeg-amd-full, ffmpeg-full, ffmpeg-decklink, ffmpeg-full-git) (optional) – Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+
Required by (27)
- chatterino2-7tv-git (requires streamlink) (optional)
- chatterino2-appimage (requires streamlink) (optional)
- chatterino2-dankerino-bin (requires streamlink) (optional)
- chatterino2-dankerino-git (requires streamlink) (optional)
- chatterino2-git (requires streamlink) (optional)
- chatterino2-homies-git (requires streamlink) (optional)
- chatterino2-nightly-appimage (requires streamlink) (optional)
- chatty (requires streamlink) (optional)
- chatty-beta (requires streamlink) (optional)
- chatty-git (requires streamlink) (optional)
- kappa-launcher-git (requires streamlink)
- lazyman (requires streamlink)
- lazyman-git (requires streamlink)
- lazystream-git (requires streamlink)
- livestreamer-gtkmm3-git (requires streamlink)
- mlbstreamer (requires streamlink)
- mlbstreamer-git (requires streamlink)
- mlbv (requires streamlink)
- qtwilist-git (requires streamlink)
- rofi-twitch (requires streamlink)
Sources (1)
Latest Comments
Eidokan commented on 2022-06-20 21:29 (UTC)
tam1m commented on 2022-04-12 05:22 (UTC)
streamlink-git does not build at the moment since they switched to versioningit.
mjevans commented on 2021-10-19 19:56 (UTC)
Build issue https://github.com/streamlink/streamlink/issues/4102
According to the devs, this is caused by the build-script incorrectly invoking the test cases.
--- https://github.com/streamlink/streamlink/issues/4102#issuecomment-947029323
The PKGBUILD of the streamlink-git AUR package is not using pytest for running the tests and it is using a deprecated method instead (python setup.py test), which uses a different test runner:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=streamlink-git#n33
Running python setup.py test runs tests via setuptools' test runner, which is unsupported by Streamlink, as it doesn't collect pytest-style tests (or "non-unittest.TestCase" tests). For example, it doesn't run parametrized pytest tests, which Streamlink has a lot of. There is a method for overriding setuptools' test command via pytest-runner, but this is deprecated as well, so it won't be implemented here. The PKGBUILD will need to be updated by its maintainer.
Streamlink requires tests to be run via pytest or python -m pytest, and it should not collect the tests annotated with the @windows_only decorator on non-Windows machines.
metak commented on 2021-10-14 19:19 (UTC)
@unknown78 Please report failing tests upstream if you can.
unknown78 commented on 2021-10-12 12:34 (UTC)
just reporting an error in the testsuite -> https://termbin.com/mhrk ... i guess mscvcrt is not available on linux is a suitable assumption ;)
jrudess commented on 2021-08-08 18:24 (UTC)
@OxHaK @metak I have the same build problem. Haven't been able to track down the issue yet. Using --nocheck, of course, bypasses the issue.
metak commented on 2021-07-29 12:25 (UTC)
@OxHaK Builds fine for me, try skipping the tests. makepkg --nocheck
OxHaK commented on 2021-07-26 19:41 (UTC) (edited on 2021-07-26 20:05 (UTC) by OxHaK)
Can't compile, any idea ?
====================================================================== FAIL: test_cookie_clear_unbound (tests.test_plugin.TestPlugin)
Traceback (most recent call last): File "/hdd/Cache/yay/streamlink-git/src/streamlink/tests/test_plugin.py", line 143, in test_cookie_clear_unbound self.assertRaises(RuntimeError, plugin.clear_cookies) AssertionError: RuntimeError not raised by clear_cookies
Ran 636 tests in 10.416s
FAILED (failures=1, skipped=39) Test failed: <unittest.runner.TextTestResult run=636 errors=0 failures=1> error: Test failed: <unittest.runner.TextTestResult run=636 errors=0 failures=1>
metak commented on 2021-05-10 10:09 (UTC)
@SpotlightKid The latest python-sphinx-4.0.0-1
package update in arch also brings this change from upstream where generated man doc pages are placed in according path.
Generate man page section directories #7996
#7996: manpage: Make a section directory on build manpage by default (see man_make_section_directory)
SpotlightKid commented on 2021-05-10 09:34 (UTC)
Error in packaging step:
running install_scripts
Installing streamlink script to /home/chris/.local/share/pikaur/aur_repos/streamlink-git/pkg/streamlink-git/usr/bin
install: cannot stat 'build/sphinx/man/1/streamlink.1': No such file or directory
The man page path should be build/sphinx/man/streamlink.1
.
eschwartz commented on 2021-01-06 02:14 (UTC)
Enjoy your indefinite suspension.
techandy1 commented on 2021-01-06 02:08 (UTC)
@metak, please do your research. There is proof that this package is out of date, and I can prove in detail that what I know is correct and honest. Don't pay attention to people on here that can't back up their facts. Just check out the streamlink website and you will see that I am indeed correct.
techandy1 commented on 2021-01-06 02:03 (UTC)
@eschwartz Do what you want with my account, you know I am right if you were smart enough and had the proof that this package wasn't out of date, I have everything to prove this package is out of date. If you delete, suspend or ban me from this site you only prove my point and that will not stop me from coming back. I am and will forever be smarter than you so as long as I am the one backing up my statements and comments.
techandy1 commented on 2021-01-06 02:01 (UTC)
@eschwartz Threating to suspend my account only proves my point. Ignorant twit. Do your research.
techandy1 commented on 2021-01-06 01:55 (UTC)
@eschwartz wow congrats on your lack of research. I bet you don't even use streamlink-twitch-gui do you. This version of streamlink 1.7 does not work with streamlink-twitch-gui twit. And if you looked at the streamlink website you would know for a fact that there is a newer version of streamlink. Do your research before commenting on other people's comments when that person has all the facts and knowledge. Stop being stupid.
eschwartz commented on 2021-01-06 01:40 (UTC)
@techandy1,
Speaking with my Trusted User hat on, I can authoritatively state that this -git package is NOT out of date, per the rules of the AUR as well as the big fat note at https://wiki.archlinux.org/index.php/Arch_User_Repository#Flagging_packages_out-of-date
For precisely the reason you've been told, but refuse to accept. I have nothing new to add to this conversation EXCEPT my authority as a moderator on this site telling you you are wrong.
Now, one more insult and I suspend your account.
As you've previously DELETED your account, then recreated one with the same name in order to keep arguing, I can go a lot further than suspending your account if you try to play the sockpuppet game.
techandy1 commented on 2021-01-06 00:49 (UTC)
@SpotlightKid, really the PKGBUILD doesn't need to be updated. Please tell me you aren't this stupid in real life. If the PKGBUILD file didn't need to be updated then why is the current version here 1.7 when streamlink's website states the latest version is 2.0. WAKE UP... If the PKGBUILD didn't need to be updated then the version would be 2.0. Airhead.
SpotlightKid commented on 2021-01-04 19:58 (UTC)
@techandy1: We already explained to you why the PKGBUILD does not need to be updated. If you haven't read these comments, please do so. And if you still don't understand, please read up on the Arch wiki what VCS packages are and why their version number listed here is irrelevant. Please stop posting comments here about the package being outdated, because it is not. If you insist it is, you are only making a fool of yourself.
techandy1 commented on 2021-01-04 19:31 (UTC)
Why is this package still out of date, all you have to do is change the version number to 2.0.0 which is the current version if you look at the streamlink website.
commented on 2020-12-26 01:34 (UTC)
@metak please update this package the current version is 2.0.0, if you actually take the time to look at streamlink's website. Also this current package doesn't work with streamlink-twitch-gui. Fix it, please. You are the maintainer of this package, so you should fix it and keep it up to date at all times.
commented on 2020-12-26 01:28 (UTC)
@Spotlightkid, I have this package installed but because Streamlink-twitch-gui updated this package needs to be updated as well. I bet you don't use streamlink-twitch-gui. It states that the current version from streamlink that is installed is outdated. Again learn to pay attention.
metak commented on 2020-12-24 14:39 (UTC) (edited on 2020-12-24 16:18 (UTC) by metak)
@SpotlightKid
Thank you for chiming in.
@techandy1
The -git
packages are only outdated when the build process changes, new dependency is added/removed, etc. The pkgbuild file will always fetch the latest master commit when you build the package.
SpotlightKid commented on 2020-12-24 14:35 (UTC)
@techandy1: This is a VCS package, thatswhy it has a -git
suffix. VCS are not outdated just because there is a newer upstream version. Their version updates via their pkgver()
function when you build them. Do not flag VCS packages as outdated, unless they (i.e. their PKGBUILD
) need to be changed because of upstream changes.
commented on 2020-12-24 14:22 (UTC)
@spotlightkid, what in the world does your comment have to do with mine. My comment is about this package being outdated. If you are going to post some links, please clarify why. The link I posted is to state and show that this package is outdated. I am also not the maintainer for this package.
SpotlightKid commented on 2020-12-24 11:01 (UTC)
commented on 2020-12-24 01:12 (UTC)
New version is 2.0.0. You can check it here. https://streamlink.github.io/
torstenchr commented on 2020-04-29 19:05 (UTC)
@metak Thank, i did not know that - or wether it was needed for the package to install correctly. Now i know :)
metak commented on 2020-04-29 17:17 (UTC)
@torstenchr Hi. That is normal for -git packages, since they need to be updated only when the build process changes, otherwise it's your responsibility to rebuild them and they'll automatically fetch the latest commit.
torstenchr commented on 2020-04-29 16:57 (UTC)
The package version seem to out of sync with the upstream version, which as of today is 1.4.1
SpotlightKid commented on 2020-04-08 19:21 (UTC)
There's a PR with a fix for the YouTube issue. Until it is merged, you use this patch for the PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index 6798c2e..3353ac7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _use_pycrypto="no"
_use_pycountry="no"
pkgname=streamlink-git
-pkgver=1.3.0.r0.g9253fc51
+pkgver=1.3.1.r95.gfdf739d6
pkgrel=1
pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)'
arch=('any')
@@ -30,14 +30,21 @@ makedepends=('git' 'python-recommonmark')
optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+')
provides=("${pkgname%-*}")
conflicts+=("${pkgname%-*}")
-source=("${pkgname%-*}::git+https://github.com/streamlink/streamlink.git")
-sha512sums=('SKIP')
+source=("${pkgname%-*}::git+https://github.com/streamlink/streamlink.git"
+ 'https://github.com/streamlink/streamlink/pull/2858.diff')
+sha512sums=('SKIP'
+ '694ea14c6c5a8c06e60f1216856af7be1cfe2cc3573fda1d98a8e3967edc812f0945d3dd914a93723bbe6ac6d8a3ead4905bc38f28728086b4b4809e3dd7b2c8')
pkgver() {
cd "${pkgname%-*}"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
+prepare() {
+ cd "${pkgname%-*}"
+ patch -p1 -N -i "$srcdir/"2858.diff
+}
+
build() {
cd "${pkgname%-*}"
if [ "$_use_pycrypto" = "yes" ]; then
metak commented on 2020-02-22 16:02 (UTC)
troyBORG commented on 2020-02-21 14:06 (UTC)
Can't get YouTube to download.
It says "error: No playable streams found on this URL: "
bastimeyer commented on 2018-05-29 12:33 (UTC) (edited on 2018-05-29 12:33 (UTC) by bastimeyer)
python-recommonmark has to be added as make dependency: https://github.com/streamlink/streamlink/pull/1667
cirrus commented on 2018-04-21 13:02 (UTC)
@ metak I could'nt get it to build, i just used pip/virtualenv for now. thanks.
metak commented on 2018-04-19 23:24 (UTC)
@cirrus Builds fine on my end and in clean chroot. Have you tried building it in clean chroot?
cirrus commented on 2018-04-18 21:06 (UTC)
I'm Getting build failures with latest pkg bro https://pastebin.mozilla.org/9083368 any pointers appreciated.
Pinned Comments
metak commented on 2017-03-18 23:41 (UTC)