[Bug 274439] multimedia/wl-screenrec: fails to build with ffmpeg 6.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Oct 2023 19:48:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274439 Bug ID: 274439 Summary: multimedia/wl-screenrec: fails to build with ffmpeg 6.1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: throwaway_vthgwq4@protonmail.com Assignee: jbeich@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) [...] error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_P212BE`, `sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE` and 3 more not covered --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/wl-screenrec-0.1.0/cargo-crates/ffmpeg-next-6.0.0/src/util/format/pixel.rs:467:15 | 467 | match value { | ^^^^^ patterns `sys::AVPixelFormat::AV_PIX_FMT_P212BE`, `sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE` and 3 more not covered | note: `sys::AVPixelFormat` defined here --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:4822:1 | 4822 | pub enum AVPixelFormat { | ^^^^^^^^^^^^^^^^^^^^^^ = note: the matched value is of type `sys::AVPixelFormat` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms | 797 ~ AV_PIX_FMT_RGBAF32LE => Pixel::RGBAF32LE, 798 ~ _ => todo!(), | error[E0004]: non-exhaustive patterns: `sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT` not covered --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/wl-screenrec-0.1.0/cargo-crates/ffmpeg-next-6.0.0/src/util/frame/side_data.rs:78:15 | 78 | match value { | ^^^^^ pattern `sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT` not covered | note: `sys::AVFrameSideDataType` defined here --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:6206:5 | 6150 | pub enum AVFrameSideDataType { | ---------------------------- ... 6206 | AV_FRAME_DATA_VIDEO_HINT = 27, | ^^^^^^^^^^^^^^^^^^^^^^^^ not covered = note: the matched value is of type `sys::AVFrameSideDataType` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 128 ~ AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT => Type::AMBIENT_VIEWING_ENVIRONMENT, 129 ~ sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT => todo!(), | error[E0004]: non-exhaustive patterns: `sys::AVCodecID::AV_CODEC_ID_PDV`, `sys::AVCodecID::AV_CODEC_ID_EVC`, `sys::AVCodecID::AV_CODEC_ID_RTV1` and 4 more not covered --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/wl-screenrec-0.1.0/cargo-crates/ffmpeg-next-6.0.0/src/codec/id.rs:664:15 | 664 | match value { | ^^^^^ patterns `sys::AVCodecID::AV_CODEC_ID_PDV`, `sys::AVCodecID::AV_CODEC_ID_EVC`, `sys::AVCodecID::AV_CODEC_ID_RTV1` and 4 more not covered | note: `sys::AVCodecID` defined here --> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:7640:1 | 7640 | pub enum AVCodecID { | ^^^^^^^^^^^^^^^^^^ = note: the matched value is of type `sys::AVCodecID` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms | 1297 ~ AV_CODEC_ID_ANULL => Id::ANULL, 1298 ~ _ => todo!(), [...] I can't file upstream bug at the moment. -- You are receiving this mail because: You are the assignee for the bug.