<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Feb 2022, at 11:06 pm, Nathan Stratton via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Trying to build gstreamer from git tags/1.20.0 and am running into the following error, is there a way to just disable gsttextwap? <div class=""><br class=""></div><div class=""> Compiling gstreamer-base v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" class="">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br class=""> Compiling gstreamer-rtp v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" class="">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br class=""> Compiling gstreamer-video v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" class="">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br class=""> Compiling gstreamer-audio v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" class="">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br class=""> Compiling gstreamer-net v0.19.0 (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692" class="">https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#b451f692</a>)<br class="">error[E0308]: mismatched types<br class=""> --> text/wrap/src/gsttextwrap/<a href="http://imp.rs:414" class="">imp.rs:414</a>:13<br class=""> |<br class="">413 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">414 | QueryView::Latency(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">For more information about this error, try `rustc --explain E0308`.<br class="">error: could not compile `gst-plugin-textwrap` due to previous error<br class="">warning: build failed, waiting for other jobs to finish...<br class="">error[E0599]: no method named `get` found for reference `&gstreamer::event::Seek<&EventRef>` in the current scope<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:694" class="">imp.rs:694</a>:71<br class=""> |<br class="">694 | let (rate, flags, start_type, start, stop_type, stop) = event.get();<br class=""> | ^^^ method not found in `&gstreamer::event::Seek<&EventRef>`<br class=""><br class="">error[E0599]: no method named `seqnum` found for reference `&gstreamer::event::Seek<&EventRef>` in the current scope<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:722" class="">imp.rs:722</a>:33<br class=""> |<br class="">722 | let seek_seqnum = event.seqnum();<br class=""> | ^^^^^^ method not found in `&gstreamer::event::Seek<&EventRef>`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> video/flavors/src/flvdemux/<a href="http://imp.rs:412" class="">imp.rs:412</a>:13<br class=""> |<br class="">411 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">412 | QueryView::Position(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> video/flavors/src/flvdemux/<a href="http://imp.rs:431" class="">imp.rs:431</a>:13<br class=""> |<br class="">411 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">...<br class="">431 | QueryView::Duration(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:786" class="">imp.rs:786</a>:53<br class=""> |<br class="">786 | EventView::Seek(e) => self.perform_seek(&e, element),<br class=""> | ^^ expected struct `gstreamer::event::Seek`, found reference<br class=""> |<br class=""> = note: expected reference `&gstreamer::event::Seek<&EventRef>`<br class=""> found reference `&&gstreamer::event::Seek`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:802" class="">imp.rs:802</a>:13<br class=""> |<br class="">801 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">802 | QueryView::Seeking(mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:822" class="">imp.rs:822</a>:13<br class=""> |<br class="">801 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">...<br class="">822 | QueryView::Position(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> text/json/src/jsongstparse/<a href="http://imp.rs:832" class="">imp.rs:832</a>:13<br class=""> |<br class="">801 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">...<br class="">832 | QueryView::Duration(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> net/reqwest/src/reqwesthttpsrc/<a href="http://imp.rs:1083" class="">imp.rs:1083</a>:13<br class=""> |<br class="">1082 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">1083 | QueryView::Scheduling(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">Some errors have detailed explanations: E0308, E0599.<br class="">For more information about an error, try `rustc --explain E0308`.<br class="">error[E0308]: mismatched types<br class=""> --> utils/uriplaylistbin/src/uriplaylistbin/<a href="http://imp.rs:830" class="">imp.rs:830</a>:72<br class=""> |<br class="">830 | if let Err(e) = self.handle_stream_collection(element, stream_collection_msg) {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^ expected struct `gstreamer::message::StreamCollection`, found reference<br class=""> |<br class=""> = note: expected struct `gstreamer::message::StreamCollection`<br class=""> found reference `&gstreamer::message::StreamCollection`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> utils/uriplaylistbin/src/uriplaylistbin/<a href="http://imp.rs:837" class="">imp.rs:837</a>:58<br class=""> |<br class="">837 | if !self.handle_stream_selected(element, stream_selected) {<br class=""> | ^^^^^^^^^^^^^^^ expected struct `gstreamer::message::StreamsSelected`, found reference<br class=""> |<br class=""> = note: expected struct `gstreamer::message::StreamsSelected`<br class=""> found reference `&gstreamer::message::StreamsSelected`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> audio/audiofx/src/audioloudnorm/<a href="http://imp.rs:1696" class="">imp.rs:1696</a>:13<br class=""> |<br class="">1695 | match query.view_mut() {<br class=""> | ---------------- this expression has type `QueryViewMut<'_>`<br class="">1696 | QueryView::Latency(ref mut q) => {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">error[E0308]: mismatched types<br class=""> --> audio/audiofx/src/audiornnoise/<a href="http://imp.rs:355" class="">imp.rs:355</a>:20<br class=""> |<br class="">355 | if let gst::QueryView::Latency(ref mut q) = query.view_mut() {<br class=""> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------- this expression has type `QueryViewMut<'_>`<br class=""> | |<br class=""> | expected enum `QueryViewMut`, found enum `QueryView`<br class=""><br class="">Error: CliError { error: Some(build failed), exit_code: 101 }<br class=""></div></div></div></blockquote></div><br class=""><div class="">Nathan I aways find feedback helpful. Here's my $0.02</div><div class=""><br class=""></div><div class="">I built 1.20.0 yesterday for intel x86_64 where it completed without error. I built with </div><div class="">meson -Dgpl=enabled build --prefix=/usr/local</div><div class="">as per the docs but it did NOT build x264enc. </div><div class="">Repeating with 1.18.0 and everything worked.</div><div class="">James</div></body></html>