Your message dated Thu, 03 Oct 2024 15:34:13 +0000 with message-id <E1swNqH-00BpGD-9k@fasolo.debian.org> and subject line Bug#1072413: fixed in freerdp2 2.11.7+dfsg1-3 has caused the Debian Bug report #1072413, regarding freerdp2: FTBFS with ffmpeg 7.0: dsp_ffmpeg.c:239:18: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration] to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1072413: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072413 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: freerdp2: FTBFS with ffmpeg 7.0: dsp_ffmpeg.c:239:18: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
- From: Sebastian Ramacher <sramacher@debian.org>
- Date: Sun, 2 Jun 2024 15:18:38 +0200
- Message-id: <ZlxxLjNm-82feGMC@ramacher.at>
Source: freerdp2 Version: 2.11.5+dfsg1-1 Severity: important Tags: trixie sid ftbfs Usertags: ffmpeg-7.0 Hi, during a rebuild of the reverse dependencies for the transition to ffmpeg 7.0, your package failed to build Relevant part (hopefully): > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libfreerdp && /usr/bin/cc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEXT_PATH=\"/usr/lib/aarch64-linux-gnu/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/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/winpr/include -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/winpr/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer -DWINPR_DLL -O2 -g -DNDEBUG -Wno-builtin-macro-redefined -D__FILE__='"obj-aarch64-linux-gnu/libfreerdp/CMakeFiles/freerdp.dir/compiler_depend.ts"' -fPIC -MD -MT libfreerdp/CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o -MF CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o.d -o CMakeFiles/freerdp.dir/codec/h264_ffmpeg.c.o -c /<<PKGBUILDDIR>>/libfreerdp/codec/h264_ffmpeg.c > /<<PKGBUILDDIR>>/libfreerdp/codec/h264_ffmpeg.c: In function ‘libavcodec_create_encoder’: > /<<PKGBUILDDIR>>/libfreerdp/codec/h264_ffmpeg.c:140:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > 140 | sys->codecEncoder = avcodec_find_encoder(AV_CODEC_ID_H264); > | ^ > /<<PKGBUILDDIR>>/libfreerdp/codec/h264_ffmpeg.c: In function ‘libavcodec_init’: > /<<PKGBUILDDIR>>/libfreerdp/codec/h264_ffmpeg.c:516:35: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > 516 | sys->codecDecoder = avcodec_find_decoder(AV_CODEC_ID_H264); > | ^ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c: In function ‘ffmpeg_open_context’: > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:239:18: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration] > 239 | layout = av_get_default_channel_layout(format->nChannels); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:246:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > 246 | context->codec = avcodec_find_encoder(context->id); > | ^ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:248:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > 248 | context->codec = avcodec_find_decoder(context->id); > | ^ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:273:25: error: ‘AVCodecContext’ has no member named ‘channels’ > 273 | context->context->channels = format->nChannels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:274:27: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 274 | context->context->channel_layout = layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:317:25: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 317 | context->frame->channel_layout = layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:318:23: error: ‘AVFrame’ has no member named ‘channels’ > 318 | context->frame->channels = format->nChannels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:333:29: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 333 | context->resampled->channel_layout = layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:334:27: error: ‘AVFrame’ has no member named ‘channels’ > 334 | context->resampled->channels = format->nChannels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:338:36: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 338 | context->buffered->channel_layout = context->resampled->channel_layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:338:73: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 338 | context->buffered->channel_layout = context->resampled->channel_layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:339:34: error: ‘AVFrame’ has no member named ‘channels’ > 339 | context->buffered->channels = context->resampled->channels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:339:65: error: ‘AVFrame’ has no member named ‘channels’ > 339 | context->buffered->channels = context->resampled->channels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c: In function ‘ffmpeg_encode_frame’: > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:424:39: error: ‘AVFrame’ has no member named ‘channels’ > 424 | for (int y = 0; y < in->channels; y++) > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:426:39: warning: initialization of ‘float *’ from incompatible pointer type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wincompatible-pointer-types] > 426 | float* data = pp[y]; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c: In function ‘ffmpeg_fill_frame’: > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:480:14: error: ‘AVFrame’ has no member named ‘channels’ > 480 | frame->channels = inputFormat->nChannels; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:483:16: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 483 | frame->channel_layout = av_get_default_channel_layout(frame->channels); > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:483:68: error: ‘AVFrame’ has no member named ‘channels’ > 483 | frame->channel_layout = av_get_default_channel_layout(frame->channels); > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:487:57: error: ‘AVFrame’ has no member named ‘channels’ > 487 | if ((ret = avcodec_fill_audio_frame(frame, frame->channels, frame->format, data, size, 1)) < 0) > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c: In function ‘ffmpeg_decode’: > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:569:59: error: ‘AVFrame’ has no member named ‘channels’ > 569 | const size_t data_size = resampled->channels * resampled->nb_samples * 2; > | ^~ > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c: In function ‘freerdp_dsp_ffmpeg_encode’: > /<<PKGBUILDDIR>>/libfreerdp/codec/dsp_ffmpeg.c:667:61: error: ‘AVCodecContext’ has no member named ‘channels’ > 667 | context->context->channels, context->context->sample_fmt); > | ^~ > cc1: some warnings being treated as errors > make[3]: *** [libfreerdp/CMakeFiles/freerdp.dir/build.make:1885: libfreerdp/CMakeFiles/freerdp.dir/codec/dsp_ffmpeg.c.o] Error 1 The full build log is available from: https://people.debian.org/~sramacher/ffmpeg-7.0/freerdp2_arm64.build ffmpeg 7.0 is available in experimental. Cheers -- Sebastian Ramacher
--- End Message ---
--- Begin Message ---
- To: 1072413-close@bugs.debian.org
- Subject: Bug#1072413: fixed in freerdp2 2.11.7+dfsg1-3
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Thu, 03 Oct 2024 15:34:13 +0000
- Message-id: <E1swNqH-00BpGD-9k@fasolo.debian.org>
- Reply-to: Jeremy Bícha <jbicha@ubuntu.com>
Source: freerdp2 Source-Version: 2.11.7+dfsg1-3 Done: Jeremy Bícha <jbicha@ubuntu.com> We believe that the bug you reported is fixed in the latest version of freerdp2, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1072413@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated freerdp2 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 03 Oct 2024 11:10:42 -0400 Source: freerdp2 Built-For-Profiles: noudeb Architecture: source Version: 2.11.7+dfsg1-3 Distribution: unstable Urgency: high Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org> Changed-By: Jeremy Bícha <jbicha@ubuntu.com> Closes: 1072112 1072413 1074969 1079025 Launchpad-Bugs-Fixed: 2075965 Changes: freerdp2 (2.11.7+dfsg1-3) unstable; urgency=high . * Team upload . [ Jeremy Bícha ] * SECURITY UPDATE: NULL access and crash (Closes: #1072112 - debian/patches/CVE-2024-32661.patch: fix missing check in rdp_write_logon_info_v1 in libfreerdp/core/info.c. - CVE-2024-32661 * Cherry-pick several patches to fix build with gcc-14 (Closes: #1074969) (LP: #2075965) * Remove obsolete 32-bit time transition lintian overrides . [ Sébastien Noel ] * Add patch to fix build with ffmpeg 7 (Closes: #1072413) . [ Bernhard Übelacker ] * Apply multiple fixes to autopkgtests (Closes: #1079025) Checksums-Sha1: ad0a8b0bc225c96fdb56666199d4fea361a2950b 3608 freerdp2_2.11.7+dfsg1-3.dsc 94447a34923e39d7a27f276d9ba97d00e6339b51 50828 freerdp2_2.11.7+dfsg1-3.debian.tar.xz a8ad5830a1c22c8a0483b5e2125657563d8effe5 11157 freerdp2_2.11.7+dfsg1-3_source.buildinfo Checksums-Sha256: 7164c3b482aa5dae57a7aa4f1015486107839598298f33c09b6d6335bbc076f7 3608 freerdp2_2.11.7+dfsg1-3.dsc b32424e971deea601a4da3d173c6e4f4f20abfc602429b6f67a7863c129e5d9b 50828 freerdp2_2.11.7+dfsg1-3.debian.tar.xz 39d132d4e4838fc7a10dced4902133a021ee1c5b6d957ccef6d9bdc52ed28d09 11157 freerdp2_2.11.7+dfsg1-3_source.buildinfo Files: 8d759d7bf8a468ba08542f356b952953 3608 x11 optional freerdp2_2.11.7+dfsg1-3.dsc c35f252004d7492c1019309ed1d99953 50828 x11 optional freerdp2_2.11.7+dfsg1-3.debian.tar.xz 759188b90f12d993905eecf842e5bc2f 11157 x11 optional freerdp2_2.11.7+dfsg1-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmb+ti4ACgkQ5mx3Wuv+ bH2TDg//Zr6yiP0fOqWM1MJUzktSqBXH+yGY1faEZoxO3/S4GKA0gnpJ+16zVHRJ 81OjKwcNeCBPNzkodoucfvFUvgIk6sB38qWHMs/htwLkShMGC9CCiTggkYLTi576 oUWP3+a3UE9sU8swlb0KOCR/y97KdS7czVsYB281sfIrtuYb+Zge3UPyvTfgzHIA DIdqI5CWKQJY4CS8ERHmn3mJqdkr7kgFN7+fj/zM9E332PZ3gqLMojq9u3WWI3QB p+OSyYQg5iUiGjGHc+Q6pu/fSxQJq/3NQMkkH7Z73bkf9cCctsA5Athm3lHjyo+c MjR6KgMXZZUMqjF5eD/j8GavUA4IdGvvEe/E7bXfdJ/BB0yQnMzTZpnz4AvBYHgd zFN/XPuV5f22DLDRXF/Pp/L83xGdP3BNUHJldt2b3k2RtmZ4XtqKgOmKmCrFezog dRoyDE308zXHn9kIN28/rn9fDVTGNrLFH9YUkAaNhKVwi6cOqMl2RPNmwT6BB4h2 q9Ie/4KUdWIgz3aqOG30B7bqBM4xQwFfc8PK6BSEUFMB0B8lqzANjQ0qDg+qOjow AuFZtK9RzJvzNodco7DcdZDq3IX7xhA6ltjLiqebtjHBdd9E2yuosOC4nQBaDVDK La2LrP+XXXeYALq25YauQ5gLu0ivG9Bs/qdvvnpCvqmiP/ioE8E= =NE+5 -----END PGP SIGNATURE-----Attachment: pgpXG1rKVfV6Z.pgp
Description: PGP signature
--- End Message ---