Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 19:48:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274439] multimedia/wl-screenrec: fails to build with ffmpeg 6.1
Message-ID:  <bug-274439-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274439

            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_P212=
BE`,
`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-cr=
ates/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-freeb=
sd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:4822:1
     |
4822 | pub enum AVPixelFormat {
     | ^^^^^^^^^^^^^^^^^^^^^^
     =3D 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 =3D> Pixel::RGBAF32LE,
798  ~             _ =3D> 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-cr=
ates/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-freeb=
sd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:6206:5
     |
6150 | pub enum AVFrameSideDataType {
     | ----------------------------
...
6206 |     AV_FRAME_DATA_VIDEO_HINT =3D 27,
     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not covered
     =3D 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 =3D>
Type::AMBIENT_VIEWING_ENVIRONMENT,
129  ~             sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT =3D>
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-cr=
ates/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-freeb=
sd/release/build/ffmpeg-sys-next-d36744266741fa4c/out/bindings.rs:7640:1
     |
7640 | pub enum AVCodecID {
     | ^^^^^^^^^^^^^^^^^^
     =3D 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 =3D> Id::ANULL,
1298 ~             _ =3D> todo!(),
[...]

I can't file upstream bug at the moment.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274439-7788>