Package Details: gst-plugins-rs-git r3748.3aa1fa81-1

Git Clone URL: https://aur.archlinux.org/gst-plugins-rs-git.git (read-only, click to copy)
Package Base: gst-plugins-rs-git
Description: GStreamer plugins written in Rust
Upstream URL: https://gstreamer.freedesktop.org/
Licenses: MPL, LGPL, MIT, Apache
Conflicts: gst-plugins-rs
Provides: gst-plugins-rs
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 0
Popularity: 0.000000
First Submitted: 2020-11-15 01:31 (UTC)
Last Updated: 2024-12-31 14:26 (UTC)

Latest Comments

chemicus commented on 2024-12-23 22:47 (UTC)

Adding

options=(!lto)

to PKGBUILD solves the linking error with CC

  = note: /usr/bin/ld: /tmp/gst-plugins-rs-git/src/build/target/x86_64-unknown-linux-gnu/release/deps/gstrswebrtc.ring-e1de49f5858ff2a4.ring.8f22705cae0bbe6b-cgu.03.rcgu.o.rcgu.o: in function `ring::cpu::intel::Feature::available':
          /.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring2ec10curve255197ed255197signing14Ed25519KeyPair10from_seed_17h65377623f0c05110E+0x204): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
          /usr/bin/ld: /.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring2ec10curve255197ed255197signing14Ed25519KeyPair4sign17h17e30bacdd408f2bE+0x29a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
          /usr/bin/ld: /tmp/gst-plugins-rs-git/src/build/target/x86_64-unknown-linux-gnu/release/deps/gstrswebrtc.ring-e1de49f5858ff2a4.ring.8f22705cae0bbe6b-cgu.04.rcgu.o.rcgu.o: in function `ring::cpu::intel::Feature::available':
          /.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17h187a5535da928c37E+0x3b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
          /usr/bin/ld: /.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm4init17hc257dbdb298a6537E+0xa2): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
          /usr/bin/ld: /.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hca30390a71dc3b6aE+0x17b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
          /usr/bin/ld: /tmp/gst-plugins-rs-git/src/build/target/x86_64-unknown-linux-gnu/release/deps/gstrswebrtc.ring-e1de49f5858ff2a4.ring.8f22705cae0bbe6b-cgu.04.rcgu.o.rcgu.o:/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow
          /usr/bin/ld: /tmp/rustcQegL2x/libring-e1de49f5858ff2a4.rlib(c322a0bcc369f531-chacha-x86_64-elf.o): relocation R_X86_64_PC32 against undefined hidden symbol `ring_core_0_17_8_OPENSSL_ia32cap_P' can not be used when making a shared object
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

sigurd4 commented on 2024-12-21 04:49 (UTC)

error: could not compile `rustls-platform-verifier` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }
FAILED: libgstrsaudiofx.so libgstclaxon.so libgstlewton.so libgstspotify.so libgstrsfile.so libgstoriginalbuffer.so libgstthreadshare.so libgstrsinter.so libgststreamgrouper.so libgstmp4.so libgstfmp4.so libgstaws.so libgstmpegtslive.so libgsthlssink3.so libgstndi.so libgstrsonvif.so libgstraptorq.so libgstreqwest.so libgstrsrelationmeta.so libgstrsrtsp.so libgstrsrtp.so libgstwebrtchttp.so libgstrswebrtc.so libgsttextahead.so libgstjson.so libgstregex.so libgsttextwrap.so libgstrstracers.so libgsturiplaylistbin.so libgstcdg.so libgstrsclosedcaption.so libgstdav1d.so libgstffv1.so libgstrsflv.so libgstgif.so libgsthsv.so libgstrspng.so libgstrav1e.so libgstrsvideofx.so libgstgopbuffer.so libgstquinn.so libgstspeechmatics.so libgstrswebp.so libgstsodium.so libgstgtk4.so libgstfallbackswitch.so libgstlivesync.so libgsttogglerecord.so 
env SODIUM_USE_PKG_CONFIG=1 NASM=/usr/bin/nasm PKG_CONFIG=/usr/bin/pkg-config 'RUSTC=rustc -C linker=clang' /usr/bin/python /tmp/makepkg/gst-plugins-rs-git/src/gst-plugins-rs/cargo_wrapper.py build /tmp/makepkg/gst-plugins-rs-git/src/build /tmp/makepkg/gst-plugins-rs-git/src/gst-plugins-rs /tmp/makepkg/gst-plugins-rs-git/src/build release /usr lib --packages gst-plugin-audiofx gst-plugin-claxon gst-plugin-lewton gst-plugin-spotify gst-plugin-file gst-plugin-originalbuffer gst-plugin-threadshare gst-plugin-inter gst-plugin-streamgrouper gst-plugin-mp4 gst-plugin-fmp4 gst-plugin-aws gst-plugin-mpegtslive gst-plugin-hlssink3 gst-plugin-ndi gst-plugin-onvif gst-plugin-raptorq gst-plugin-reqwest gst-plugin-relationmeta gst-plugin-rtsp gst-plugin-rtp gst-plugin-webrtchttp gst-plugin-webrtc gst-plugin-textahead gst-plugin-json gst-plugin-regex gst-plugin-textwrap gst-plugin-tracers gst-plugin-uriplaylistbin gst-plugin-cdg gst-plugin-closedcaption gst-plugin-dav1d gst-plugin-ffv1 gst-plugin-flavors gst-plugin-gif gst-plugin-hsv gst-plugin-png gst-plugin-rav1e gst-plugin-videofx gst-plugin-gopbuffer gst-plugin-quinn gst-plugin-speechmatics gst-plugin-webp gst-plugin-sodium gst-plugin-gtk4 gst-plugin-fallbackswitch gst-plugin-livesync gst-plugin-togglerecord --depfile gst-plugins-rs.dep --lib-suffixes so --features glib/v2_74 gio/v2_74 gst-plugin-rav1e/asm gst-app/v1_22 gst/v1_22 v1_22 gst-rtp/v1_22 gst-webrtc/v1_22 gst-video/v1_22 gst-sdp/v1_22 gst/v1_22 v1_22 clap serde serde_json clap wayland x11egl x11glx dmabuf gtk_v4_14 v1_20 gst/v1_20 --disable-doc
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

Sesese9 commented on 2023-05-15 17:36 (UTC)

Had to change the following to get it to build.

-D sodium=system

to

-D sodium-source=system

johnhamelink commented on 2022-11-30 11:52 (UTC) (edited on 2022-11-30 12:28 (UTC) by johnhamelink)

Hi there, thanks for this package.

For the past short while, when I try to build this package, it fails like so:

Found ninja-1.11.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                                                
INFO: calculating backend command to run: /usr/bin/ninja -C /home/john/.cache/paru/clone/gst-plugins-rs-git/src/build
ninja: Entering directory `/home/john/.cache/paru/clone/gst-plugins-rs-git/src/build'
[0/3] Generating gst-plugins-rs with a custom command
    Updating crates.io index
    Updating git repository `https://gitlab.freedesktop.org/gstreamer/gstreamer-rs`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Skipping git submodule `https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git` due to update strategy in .gitmodules
    Updating git repository `https://github.com/gtk-rs/gtk-rs-core`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Updating git repository `https://github.com/rust-av/flavors`
    Updating git repository `https://github.com/gtk-rs/gtk4-rs`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Updating git repository `https://github.com/rust-av/ffv1.git`
FAILED: libgstrsaudiofx.so libgstclaxon.so libgstlewton.so libgstspotify.so libgstrsfile.so libgstthreadshare.so libgstmp4.so libgstfmp4.so libgstaws.so libgsthlssink3.so libgstndi.so libgstraptorq.so libgstreqwest.so libgstrsrtp.so libgstwebrtchttp.so libgstrswebrtc.so libgsttextahead.so libgstjson.so libgstregex.so libgsttextwrap.so libgstfallbackswitch.so libgsttogglerecord.so libgstrstracers.so libgsturiplaylistbin.so libgstcdg.so libgstffv1.so libgstrsflv.so libgstgif.so libgsthsv.so libgstrspng.so libgstrav1e.so libgstrswebp.so libgstrsvideofx.so libgstrsclosedcaption.so libgstrsonvif.so libgstdav1d.so libgstsodium.so libgstgtk4.so 
/usr/bin/python /home/john/.cache/paru/clone/gst-plugins-rs-git/src/gst-plugins-rs/cargo_wrapper.py build /home/john/.cache/paru/clone/gst-plugins-rs-git/src/build /home/john/.cache/paru/clone/gst-plugins-rs-git/src/gst-plugins-rs /home/john/.cache/paru/clone/gst-plugins-rs-git/src/build release gst-plugin-audiofx,gst-plugin-aws,gst-plugin-cdg,gst-plugin-claxon,gst-plugin-closedcaption,gst-plugin-dav1d,gst-plugin-fallbackswitch,gst-plugin-ffv1,gst-plugin-file,gst-plugin-flavors,gst-plugin-fmp4,gst-plugin-gif,gst-plugin-gtk4,gst-plugin-hlssink3,gst-plugin-hsv,gst-plugin-json,gst-plugin-lewton,gst-plugin-mp4,gst-plugin-ndi,gst-plugin-onvif,gst-plugin-png,gst-plugin-raptorq,gst-plugin-rav1e,gst-plugin-regex,gst-plugin-reqwest,gst-plugin-rtp,gst-plugin-sodium,gst-plugin-spotify,gst-plugin-textahead,gst-plugin-textwrap,gst-plugin-threadshare,gst-plugin-togglerecord,gst-plugin-tracers,gst-plugin-uriplaylistbin,gst-plugin-videofx,gst-plugin-webp,gst-plugin-webrtc,gst-plugin-webrtchttp SODIUM_USE_PKG_CONFIG:1 /usr lib --depfile gst-plugins-rs.dep --exts so --disable-doc
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gst-plugins-rs-git-r1700.4e7ce210-1': 
==> Making package: argo 3.4.4-1 (Wed 30 Nov 2022 11:58:39 AM GMT)
==> Retrieving sources...
  -> Found argo-linux-amd64.gz
==> Validating source files with sha256sums...
    argo-linux-amd64.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'argo-3.4.4-1': 
error: packages failed to build: gst-plugins-rs-git-r1700.4e7ce210-1  argo-3.4.4-1
❯ /usr/bin/python /home/john/.cache/paru/clone/gst-plugins-rs-git/src/gst-plugins-rs/cargo_wrapper.py build /home/john/.cache/paru/clone/gst-plugins-rs-git/src/build /home/john/.cache/paru/clone/gst-plugins-rs-git/src/gst-plugins-rs /home/john/.cache/paru/clone/gst-plugins-rs-git/src/build release gst-plugin-audiofx,gst-plugin-aws,gst-plugin-cdg,gst-plugin-claxon,gst-plugin-closedcaption,gst-plugin-dav1d,gst-plugin-fallbackswitch,gst-plugin-ffv1,gst-plugin-file,gst-plugin-flavors,gst-plugin-fmp4,gst-plugin-gif,gst-plugin-gtk4,gst-plugin-hlssink3,gst-plugin-hsv,gst-plugin-json,gst-plugin-lewton,gst-plugin-mp4,gst-plugin-ndi,gst-plugin-onvif,gst-plugin-png,gst-plugin-raptorq,gst-plugin-rav1e,gst-plugin-regex,gst-plugin-reqwest,gst-plugin-rtp,gst-plugin-sodium,gst-plugin-spotify,gst-plugin-textahead,gst-plugin-textwrap,gst-plugin-threadshare,gst-plugin-togglerecord,gst-plugin-tracers,gst-plugin-uriplaylistbin,gst-plugin-videofx,gst-plugin-webp,gst-plugin-webrtc,gst-plugin-webrtchttp SODIUM_USE_PKG_CONFIG:1 /usr lib --depfile gst-plugins-rs.dep --exts so --disable-doc
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Skipping git submodule `https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
Error: CliError { error: Some(failed to download from `https://crates.io/api/v1/crates/aho-corasick/0.7.20/download`

Caused by:
    [77] Problem with the SSL CA cert (path? access rights?) (error setting certificate file: /etc/ssl/certs/ca-certificates.crt)), exit_code: 101 }

I checked, and /etc/ssl/certs/ca-certificates.crt does exist.

dreieck commented on 2022-01-29 17:59 (UTC)

Build fails for me with gst-plugins-rs/meson.build:1:0: ERROR: Unknown options: "package-name, package-origin":

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gst-plugins-rs build -D 'package-name=GStreamer Rust Plugins (Arch Linux)' -D package-origin=https://www.archlinux.org/
The Meson build system
Version: 0.61.1
Source dir: /[...]/gst-plugins-rs-git/src/gst-plugins-rs
Build dir: /[...]/gst-plugins-rs-git/src/build
Build type: native build

gst-plugins-rs/meson.build:1:0: ERROR: Unknown options: "package-name, package-origin"

A full log can be found at /[...]/gst-plugins-rs-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().

Sloonz commented on 2021-03-16 12:18 (UTC)

Please add cargo-c as a build dep