[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271128] net/freerdp: FTBFS after f7accb23b (ffmpeg update to 6.0)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Apr 2023 09:02:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271128 Bug ID: 271128 Summary: net/freerdp: FTBFS after f7accb23b (ffmpeg update) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ice@extreme.hu CC: vvd@unislabs.com Flags: maintainer-feedback?(vvd@unislabs.com) CC: vvd@unislabs.com FAILED: libfreerdp/CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o /usr/bin/cc -DCMAKE_BUILD_TYPE=Release -DEXT_PATH=\"/usr/local/lib/freerdp2/extensions\" -DFREERDP_EXPORTS -DHAVE_CONFIG_H -DSWSCALE_FOUND=1 -DWINPR_EXPORTS -DWITH_OPENSSL -DWITH_WAYLAND -DWITH_X11 -DWITH_XKBFILE -D_FILE_OFFSET_BITS=64 -Dfreerdp_EXPORTS -I/usr/ports/net/freerdp/work/.build -I/usr/ports/net/freerdp/work/.build/include -I/usr/ports/net/freerdp/work/freerdp-2.10.0/include -I/usr/ports/net/freerdp/work/freerdp-2.10.0/winpr/include -I/usr/ports/net/freerdp/work/.build/winpr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-macros -Wno-padded -Wno-c11-extensions -Wno-gnu -Wno-unused-command-line-argument -Wno-deprecated-declarations -fno-omit-frame-pointer -DWINPR_DLL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT libfreerdp/CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o -MF libfreerdp/CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o.d -o libfreerdp/CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o -c /usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c /usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:140:20: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] sys->codecEncoder = avcodec_find_encoder(AV_CODEC_ID_H264); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:516:21: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] sys->codecDecoder = avcodec_find_decoder(AV_CODEC_ID_H264); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:532:41: error: use of undeclared identifier 'AV_CODEC_CAP_TRUNCATED'; did you mean 'AV_CODEC_ID_TRUEHD'? if (sys->codecDecoder->capabilities & AV_CODEC_CAP_TRUNCATED) ^~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_ID_TRUEHD /usr/local/include/libavcodec/codec_id.h:482:5: note: 'AV_CODEC_ID_TRUEHD' declared here AV_CODEC_ID_TRUEHD, ^ /usr/ports/net/freerdp/work/freerdp-2.10.0/libfreerdp/codec/h264_ffmpeg.c:534:39: error: use of undeclared identifier 'AV_CODEC_FLAG_TRUNCATED' sys->codecDecoderContext->flags |= AV_CODEC_FLAG_TRUNCATED; ^ 2 warnings and 2 errors generated. From the looks of it, this may be related: https://github.com/FreeRDP/FreeRDP/pull/8690 -- You are receiving this mail because: You are the assignee for the bug.