[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1072415: marked as done (gmerlin-encoders: FTBFS with ffmpeg 7.0: codec.c:340:8: error: ‘AVCodecContext’ has no member named ‘channels’)



Your message dated Tue, 25 Jun 2024 09:48:55 +0000
with message-id <E1sM2nH-002qoC-UA@fasolo.debian.org>
and subject line Bug#1072415: fixed in gmerlin-encoders 2.0.0~svn6278-5
has caused the Debian Bug report #1072415,
regarding gmerlin-encoders: FTBFS with ffmpeg 7.0: codec.c:340:8: error: ‘AVCodecContext’ has no member named ‘channels’
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.)


-- 
1072415: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072415
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gmerlin-encoders
Version: 2.0.0~svn6278-4
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):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/aarch64-linux-gnu  -I/usr/include/aarch64-linux-gnu  -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_REENTRANT -D_FILE_OFFSET_BITS=64  -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2  -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o codec.lo codec.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c codec.c  -fPIC -DPIC -o .libs/codec.o
> codec.c: In function ‘find_encoder’:
> codec.c:54:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>    54 |   if(!(ctx->codec = avcodec_find_encoder(ctx->id)))
>       |                   ^
> codec.c: In function ‘flush_audio’:
> codec.c:212:3: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
>   212 |   av_init_packet(&pkt);
>       |   ^~~~~~~~~~~~~~
> In file included from /usr/include/aarch64-linux-gnu/libavcodec/codec_par.h:33,
>                  from /usr/include/aarch64-linux-gnu/libavformat/avformat.h:312,
>                  from ffmpeg_common.h:24,
>                  from codec.c:22:
> /usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
>   653 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> codec.c:255:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
>   255 |     av_init_packet(&pkt);
>       |     ^~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
>   653 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> codec.c: In function ‘bg_ffmpeg_set_audio_format_avctx’:
> codec.c:340:8: error: ‘AVCodecContext’ has no member named ‘channels’
>   340 |   avctx->channels    = fmt->num_channels;
>       |        ^~
> codec.c: In function ‘bg_ffmpeg_set_audio_format_params’:
> codec.c:350:8: error: ‘AVCodecParameters’ has no member named ‘channels’
>   350 |   avctx->channels    = fmt->num_channels;
>       |        ^~
> codec.c: In function ‘bg_ffmpeg_codec_open_audio’:
> codec.c:370:15: error: ‘AVCodecContext’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   370 |   ctx->avctx->channel_layout =
>       |               ^~~~~~~~~~~~~~
>       |               ch_layout
> codec.c:405:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   405 |      ((ofmt = guess_format(ctx->format->short_name, NULL, NULL)) &&
>       |             ^
> codec.c: In function ‘flush_video’:
> codec.c:509:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
>   509 |     av_init_packet(&pkt);
>       |     ^~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
>   653 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
> codec.c: In function ‘bg_ffmpeg_codec_open_video’:
> codec.c:744:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   744 |      ((ofmt = guess_format(ctx->format->short_name, NULL, NULL)) &&
>       |             ^
> make[3]: *** [Makefile:670: codec.lo] Error 1


The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/gmerlin-encoders_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: gmerlin-encoders
Source-Version: 2.0.0~svn6278-5
Done: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>

We believe that the bug you reported is fixed in the latest version of
gmerlin-encoders, 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 1072415@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated gmerlin-encoders 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: SHA256

Format: 1.8
Date: Tue, 25 Jun 2024 11:21:43 +0200
Source: gmerlin-encoders
Architecture: source
Version: 2.0.0~svn6278-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Closes: 1044283 1072415
Changes:
 gmerlin-encoders (2.0.0~svn6278-5) unstable; urgency=medium
 .
   * Add d/clean for package cleanup (Closes: #1044283)
   * Add patch to fix compilation on FFMPEG-7 (Closes: #1072415)
   * Update copyright info
     * Update 'licensecheck' target
     * Bump copyright dates
   * Update upstream metadata
   * Bump standards version to 4.7.0
Checksums-Sha1:
 c660287792d7c919a63ecaaa59dfa54554b945f6 2667 gmerlin-encoders_2.0.0~svn6278-5.dsc
 a84bc04fa49bf8e43778fb79edb55a82ba8f9004 11764 gmerlin-encoders_2.0.0~svn6278-5.debian.tar.xz
Checksums-Sha256:
 0989a157cc572472c44c4c3c8a93d8c1ec5022293f531fa5b3faae73a16afd39 2667 gmerlin-encoders_2.0.0~svn6278-5.dsc
 7f6092909a17a5dfb7a87dddc66744c5c6e6635f5150a2c593cbfc8d1c1074bf 11764 gmerlin-encoders_2.0.0~svn6278-5.debian.tar.xz
Files:
 c1406e0907669b7baed10d79425fa347 2667 libs optional gmerlin-encoders_2.0.0~svn6278-5.dsc
 b3b876f1e7743656b80a99c6891531d0 11764 libs optional gmerlin-encoders_2.0.0~svn6278-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmZ6kEcACgkQtlAZxH96
NvgQPQ/9GI8kT7MArWOMNo1Ppv6ElCdY/VLjnG+ytQUDUGLXi1Xytl99wMkJxvwy
YTi47+Y9WRjDtXRiEpt7igzc38L+5mChQEj9Da4V/MLatiksrivtKTJuUtsIEeyI
++RJeOLrXwBYwCBqHjUO2pwi3dovmk4gvtlm5jTMDeulemgWAYefVW/H4aXnXQHP
CVJy6pXR4FUgSsSwYy77l/fqF1ShiYWgUyY1XL4zxVizArmNJxsMvRnISPcKSD4U
SS/DYXI+QM9Yi9Ts/6QUugc0L09gzIvPpxhNPKBDMzvi9HubhSXLGYLHWTKJqMow
9BnLxOJ7wmhdQ8qlEbBOzRbdwH2l0hb6B1bhldnDPNfqlmJEysn/0EvJEcrNsIJM
gJ7OQUeYdqN7oEHDtOGOw8kvVKLa7a+QIs0tNVmuaBBcrMAsyCT25ipsvSEEmc9G
UVy1am8Is7wzRNUc/aFzzacoAgcr3BguCrmYkfsy5MCa6MHpLi7ZhySi5pSDRCcS
lwyjcSkCBde7R7JHV0PTONLQyjj9pnIbUH3jhgTFeuM6+6Wtbdnu6uMuzKVpyze9
RC1IYWRfp4rHJZxUa/qJRVOjTSr4fVzLqAnJPxRh+lXlSrc8OktCvg6+1dKyis6b
bIX0zY0l3iW3M7NaEXscudS2kmnGuTDwW3iZavgvmBfYf4noknM=
=IO7l
-----END PGP SIGNATURE-----

Attachment: pgp2cu888jiiV.pgp
Description: PGP signature


--- End Message ---

Reply to: