* [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) @ 2022-07-02 19:07 Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 1/6] gnu: srt: Remove input labels Simon South ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:07 UTC (permalink / raw) To: 56361 Here's a patch series that - Updates SRT, the "Secure Reliable Transport" for audio/video streams, to 1.4.4, fixing a test failure on AArch64 and likely other non-Intel/AMD platforms[0]; - Updates the srt package itself to remove input labels; - Updates the vlc package to use the now-current version of SRT instead of an older version[1]; - Removes that older (and now unnecessary) version of srt from the package repository; and - Updates the vlc package to remove input labels and to add "bash-minimal" to its inputs, silencing a warning from "guix lint". I'm aware SRT 1.5.0 is also available, but - Version 1.4.4 is the latest version supported by VLC; - Version 1.5.0 introduces API/ABI changes that are likely to cause problems elsewhere; and - I just need to get my systems updating again. (I can look at submitting another patchset later.) I've tested these patches on x86-64 and AArch64 and in general, everything looks fine. With regards to SRT's immediate dependents, ffmpeg@4.4.2, ffmpeg@5.0.1, gst-plugins-bad and and vlc: - All four dependents build without issue on x86-64. - On AArch64, VLC and the two FFmpeg packages build just fine. Building gst-plugins-bad means building the entire Rust toolchain and potentially other packages that are infeasible to build on garden-variety AArch64 hardware, so I haven't been able to test this. - Nonetheless I've verified that on both architectures, VLC built with these patches connects to and plays a SRT video stream just fine.[2] On x86-64 I've tested building all of SRT's 299 dependent packages and this completes without any _new_ build failures: ams-lv2, dvdstyler, lv2-mda-piano and lv2-mda-epiano are all currently broken on x86-64, and it appears my system is unable to build curl 7.84.0 for i686-linux either with or without these patches applied. [0] The failure involves an unnecessarily-short timeout period in the "SyncEvent.WaitForTwoNotifyOne" unit test, which was adjusted in upstream commit e2a00aa: https://github.com/Haivision/srt/commit/e2a00aa03a36e153ab8cfe2c0790f7bf43747d8d It's unlikely this affects only AArch64. A Debian developer notes in this GitHub issue that SRT test failures are common on other, older and mostly non-Intel/AMD architectures as well: https://github.com/Haivision/srt/issues/2267 [1] VLC was updated to build with SRT version 1.4.4 by default in upstream commit 9a28929 this past February, making the comment above the srt-1.4.1 package (in gnu/packages/networking.scm) obsolete. Since neither of the other packages mentioned still use this older version of SRT, nor does any other, the package is no longer needed. https://code.videolan.org/videolan/vlc/-/commit/9a289291d01a393294c62ee7406487f59e25f4ed [2] I'd also like to verify that VLC can _output_ a video stream using SRT but despite an "SRT" output-access module appearing in the configuration settings I can't see how this is meant to work, using either the original or the patched build of VLC. If anyone relies on this functionality and can give me straightforward instructions for testing it I'll be happy to do so before this patch series is committed. --- Simon South (6): gnu: srt: Remove input labels. gnu: srt: Update to 1.4.4. gnu: vlc: Use regular srt. gnu: Remove srt-1.4.1. gnu: vlc: Remove input labels. gnu: vlc: Add bash-minimal as an input. gnu/packages/networking.scm | 26 +----- gnu/packages/video.scm | 155 ++++++++++++++++++------------------ 2 files changed, 79 insertions(+), 102 deletions(-) base-commit: 48ff4bfcd7491c12248b34a82e0b8e8a50a86308 -- 2.36.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 1/6] gnu: srt: Remove input labels. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 2/6] gnu: srt: Update to 1.4.4 Simon South ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/networking.scm (srt)[native-inputs]: Remove input labels. --- gnu/packages/networking.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index ef8c09a777..82e209b149 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -490,9 +490,7 @@ (define-public srt "-DENABLE_STATIC=OFF" "-DENABLE_UNITTESTS=ON"))) (native-inputs - `(("gtest" ,googletest) - ("pkg-config" ,pkg-config) - ("tclsh" ,tcl))) + (list googletest pkg-config tcl)) (propagated-inputs (list openssl)) (synopsis "Secure Reliable Transport") -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 2/6] gnu: srt: Update to 1.4.4. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 1/6] gnu: srt: Remove input labels Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 3/6] gnu: vlc: Use regular srt Simon South ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/networking.scm (srt): Update to 1.4.4. --- gnu/packages/networking.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 82e209b149..a312e461d5 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -469,7 +469,7 @@ (define-public slurm-monitor (define-public srt (package (name "srt") - (version "1.4.3") + (version "1.4.4") (source (origin (method git-fetch) @@ -479,7 +479,7 @@ (define-public srt (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1f60vlfxhh9bhafws82c3301whjlz5gy92jz9a9ymwfg5h53bv1j")))) + (base32 "1zr1l9zkai7rpw9cn5j9h4zrv08hgpfmwscwyscf2j4cgwf0rxrr")))) (build-system cmake-build-system) (arguments `(#:configure-flags -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 3/6] gnu: vlc: Use regular srt. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 1/6] gnu: srt: Remove input labels Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 2/6] gnu: srt: Update to 1.4.4 Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 4/6] gnu: Remove srt-1.4.1 Simon South ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/video.scm (vlc)[inputs]: Use regular srt package, supported since upstream commit 9a28929. --- gnu/packages/video.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 40c31cdaec..91ccbc14ae 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1974,8 +1974,7 @@ (define-public vlc ("sdl-image" ,sdl-image) ("speex" ,speex) ("speexdsp" ,speexdsp) - ;; VLC is not yet compatible with SRT > 1.4.1. - ("srt" ,srt-1.4.1) + ("srt" ,srt) ("taglib" ,taglib) ("twolame" ,twolame) ("unzip" ,unzip) -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 4/6] gnu: Remove srt-1.4.1. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South ` (2 preceding siblings ...) 2022-07-02 19:10 ` [bug#56361] [PATCH 3/6] gnu: vlc: Use regular srt Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 5/6] gnu: vlc: Remove input labels Simon South ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/networking.scm (srt-1.4.1): Delete variable. --- gnu/packages/networking.scm | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a312e461d5..b26ef100f6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -499,24 +499,6 @@ (define-public srt (home-page "https://www.srtalliance.org/") (license license:mpl2.0))) -;; FFmpeg, GStreamer, and VLC don't support SRT 1.4.2 yet. -(define-public srt-1.4.1 - (package - (inherit srt) - (name "srt") - (version "1.4.1") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/Haivision/srt") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "01xaq44j95kbgqfl41pnybvqy0yq6wd4wdw88ckylzf0nzp977xz")))))) - (define-public lksctp-tools (package (name "lksctp-tools") -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 5/6] gnu: vlc: Remove input labels. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South ` (3 preceding siblings ...) 2022-07-02 19:10 ` [bug#56361] [PATCH 4/6] gnu: Remove srt-1.4.1 Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 6/6] gnu: vlc: Add bash-minimal as an input Simon South 2022-07-07 23:20 ` bug#56361: gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Christopher Baines 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/video.scm (vlc)[native-inputs]: Remove input labels. [inputs]: Remove input labels and re-sort. --- gnu/packages/video.scm | 153 ++++++++++++++++++++--------------------- 1 file changed, 75 insertions(+), 78 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 91ccbc14ae..ac2c0d986b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1902,86 +1902,83 @@ (define-public vlc "0cs1vnv91mg7p6253v6wms3zlz91xzphpwaw14dmrd2gibc64nlc")))) (build-system gnu-build-system) (native-inputs - `(("flex" ,flex) - ("bison" ,bison) - ("gettext" ,gettext-minimal) - ("pkg-config" ,pkg-config))) + (list flex bison gettext-minimal pkg-config)) ;; FIXME: Add optional inputs once available. (inputs - `(("alsa-lib" ,alsa-lib) - ("avahi" ,avahi) - ("dav1d" ,dav1d) - ("dbus" ,dbus) - ("eudev" ,eudev) - ("flac" ,flac) - ("ffmpeg" ,ffmpeg) - ("fontconfig" ,fontconfig) - ("freetype" ,freetype) - ("fribidi" ,fribidi) - ("gnutls" ,gnutls) - ("liba52" ,liba52) - ("libarchive" ,libarchive) - ("libass" ,libass) - ("libavc1394" ,libavc1394) - ("libbluray" ,libbluray) - ("libcaca" ,libcaca) - ("libcddb" ,libcddb) - ("libdca" ,libdca) - ("libdvbpsi" ,libdvbpsi) - ("libdvdnav" ,libdvdnav) - ("libdvdread" ,libdvdread) - ("libebml" ,libebml) - ("libgcrypt" ,libgcrypt) - ("libidn" ,libidn) - ("libkate" ,libkate) - ("libmad" ,libmad) - ("libmatroska" ,libmatroska) - ("libmicrodns" ,libmicrodns) - ("libmodplug" ,libmodplug) - ("libmpeg2" ,libmpeg2) - ("libogg" ,libogg) - ("libpng" ,libpng) - ("libraw1394" ,libraw1394) - ("librsvg" ,(librsvg-for-system)) - ("libsamplerate" ,libsamplerate) - ("libsecret" ,libsecret) - ("libssh2" ,libssh2) - ("libupnp" ,libupnp) - ("libva" ,libva) - ("libvdpau" ,libvdpau) - ("libvorbis" ,libvorbis) - ("libvpx" ,libvpx) - ("libtheora" ,libtheora) - ("libx264" ,libx264) - ("libxext" ,libxext) - ("libxi" ,libxi) - ("libxinerama" ,libxinerama) - ("libxml2" ,libxml2) - ("libxpm" ,libxpm) - ("livemedia-utils" ,livemedia-utils) - ("lua" ,lua-5.2) - ("mesa" ,mesa) - ("opus" ,opus) - ("perl" ,perl) - ("pulseaudio" ,pulseaudio) - ("protobuf" ,protobuf) - ("python" ,python-wrapper) - ("qtbase" ,qtbase-5) - ("qtsvg" ,qtsvg) - ("qtx11extras" ,qtx11extras) - ("samba" ,samba) - ("sdl" ,sdl) - ("sdl-image" ,sdl-image) - ("speex" ,speex) - ("speexdsp" ,speexdsp) - ("srt" ,srt) - ("taglib" ,taglib) - ("twolame" ,twolame) - ("unzip" ,unzip) - ("wayland" ,wayland) - ("wayland-protocols" ,wayland-protocols) - ("x265" ,x265) - ("xcb-util-keysyms" ,xcb-util-keysyms))) + (list alsa-lib + avahi + dav1d + dbus + eudev + ffmpeg + flac + fontconfig + freetype + fribidi + gnutls + liba52 + libarchive + libass + libavc1394 + libbluray + libcaca + libcddb + libdca + libdvbpsi + libdvdnav + libdvdread + libebml + libgcrypt + libidn + libkate + libmad + libmatroska + libmicrodns + libmodplug + libmpeg2 + libogg + libpng + libraw1394 + (librsvg-for-system) + libsamplerate + libsecret + libssh2 + libtheora + libupnp + libva + libvdpau + libvorbis + libvpx + libx264 + libxext + libxi + libxinerama + libxml2 + libxpm + livemedia-utils + lua-5.2 + mesa + opus + perl + protobuf + pulseaudio + python-wrapper + qtbase-5 + qtsvg + qtx11extras + samba + sdl + sdl-image + speex + speexdsp + srt + taglib + twolame + unzip + wayland + wayland-protocols + x265 + xcb-util-keysyms)) (arguments `(#:configure-flags `("BUILDCC=gcc" -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#56361] [PATCH 6/6] gnu: vlc: Add bash-minimal as an input. 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South ` (4 preceding siblings ...) 2022-07-02 19:10 ` [bug#56361] [PATCH 5/6] gnu: vlc: Remove input labels Simon South @ 2022-07-02 19:10 ` Simon South 2022-07-07 23:20 ` bug#56361: gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Christopher Baines 6 siblings, 0 replies; 8+ messages in thread From: Simon South @ 2022-07-02 19:10 UTC (permalink / raw) To: 56361 * gnu/packages/video.scm (vlc)[inputs]: Add bash-minimal, silencing a warning from "guix lint vlc" as "wrap-program" is used in the package definition. --- gnu/packages/video.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index ac2c0d986b..69886581d8 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1907,6 +1907,7 @@ (define-public vlc (inputs (list alsa-lib avahi + bash-minimal dav1d dbus eudev -- 2.36.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* bug#56361: gnu: srt: Update to 1.4.4 (fix test failure on AArch64) 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South ` (5 preceding siblings ...) 2022-07-02 19:10 ` [bug#56361] [PATCH 6/6] gnu: vlc: Add bash-minimal as an input Simon South @ 2022-07-07 23:20 ` Christopher Baines 6 siblings, 0 replies; 8+ messages in thread From: Christopher Baines @ 2022-07-07 23:20 UTC (permalink / raw) To: Simon South; +Cc: 56361-done [-- Attachment #1: Type: text/plain, Size: 4324 bytes --] Simon South <simon@simonsouth.net> writes: > Here's a patch series that > > - Updates SRT, the "Secure Reliable Transport" for audio/video streams, to > 1.4.4, fixing a test failure on AArch64 and likely other non-Intel/AMD > platforms[0]; > > - Updates the srt package itself to remove input labels; > > - Updates the vlc package to use the now-current version of SRT instead of an > older version[1]; > > - Removes that older (and now unnecessary) version of srt from the package > repository; and > > - Updates the vlc package to remove input labels and to add "bash-minimal" to > its inputs, silencing a warning from "guix lint". > > I'm aware SRT 1.5.0 is also available, but > > - Version 1.4.4 is the latest version supported by VLC; > > - Version 1.5.0 introduces API/ABI changes that are likely to cause problems > elsewhere; and > > - I just need to get my systems updating again. (I can look at submitting > another patchset later.) > > I've tested these patches on x86-64 and AArch64 and in general, everything > looks fine. > > With regards to SRT's immediate dependents, ffmpeg@4.4.2, ffmpeg@5.0.1, > gst-plugins-bad and and vlc: > > - All four dependents build without issue on x86-64. > > - On AArch64, VLC and the two FFmpeg packages build just fine. Building > gst-plugins-bad means building the entire Rust toolchain and potentially > other packages that are infeasible to build on garden-variety AArch64 > hardware, so I haven't been able to test this. > > - Nonetheless I've verified that on both architectures, VLC built with these > patches connects to and plays a SRT video stream just fine.[2] > > On x86-64 I've tested building all of SRT's 299 dependent packages and this > completes without any _new_ build failures: ams-lv2, dvdstyler, lv2-mda-piano > and lv2-mda-epiano are all currently broken on x86-64, and it appears my > system is unable to build curl 7.84.0 for i686-linux either with or without > these patches applied. > > [0] The failure involves an unnecessarily-short timeout period in the > "SyncEvent.WaitForTwoNotifyOne" unit test, which was adjusted in upstream > commit e2a00aa: > > https://github.com/Haivision/srt/commit/e2a00aa03a36e153ab8cfe2c0790f7bf43747d8d > > It's unlikely this affects only AArch64. A Debian developer notes in this > GitHub issue that SRT test failures are common on other, older and mostly > non-Intel/AMD architectures as well: > > https://github.com/Haivision/srt/issues/2267 > > [1] VLC was updated to build with SRT version 1.4.4 by default in upstream > commit 9a28929 this past February, making the comment above the srt-1.4.1 > package (in gnu/packages/networking.scm) obsolete. Since neither of the > other packages mentioned still use this older version of SRT, nor does any > other, the package is no longer needed. > > https://code.videolan.org/videolan/vlc/-/commit/9a289291d01a393294c62ee7406487f59e25f4ed > > [2] I'd also like to verify that VLC can _output_ a video stream using SRT but > despite an "SRT" output-access module appearing in the configuration > settings I can't see how this is meant to work, using either the original > or the patched build of VLC. If anyone relies on this functionality and > can give me straightforward instructions for testing it I'll be happy to > do so before this patch series is committed. > > --- > > Simon South (6): > gnu: srt: Remove input labels. > gnu: srt: Update to 1.4.4. > gnu: vlc: Use regular srt. > gnu: Remove srt-1.4.1. > gnu: vlc: Remove input labels. > gnu: vlc: Add bash-minimal as an input. > > gnu/packages/networking.scm | 26 +----- > gnu/packages/video.scm | 155 ++++++++++++++++++------------------ > 2 files changed, 79 insertions(+), 102 deletions(-) > > > base-commit: 48ff4bfcd7491c12248b34a82e0b8e8a50a86308 Thanks for the really comprehensive testing and notes Simon, the patches look good too. I've gone ahead and pushed these in the following commits: 7dfb8dc4c1 * gnu: vlc: Add bash-minimal as an input. f53e14be33 * gnu: vlc: Remove input labels. 07986d0fad * gnu: Remove srt-1.4.1. 6b9d373083 * gnu: vlc: Use regular srt. 5feeb51f1b * gnu: srt: Update to 1.4.4. 70f3914c24 * gnu: srt: Remove input labels. Thanks again, Chris [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-07-07 23:29 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-07-02 19:07 [bug#56361] gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 1/6] gnu: srt: Remove input labels Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 2/6] gnu: srt: Update to 1.4.4 Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 3/6] gnu: vlc: Use regular srt Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 4/6] gnu: Remove srt-1.4.1 Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 5/6] gnu: vlc: Remove input labels Simon South 2022-07-02 19:10 ` [bug#56361] [PATCH 6/6] gnu: vlc: Add bash-minimal as an input Simon South 2022-07-07 23:20 ` bug#56361: gnu: srt: Update to 1.4.4 (fix test failure on AArch64) Christopher Baines
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).