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

Bug#1072419: marked as done (gpac: FTBFS with ffmpeg 7.0: filters/ff_common.c:777:14: error: ‘AV_OPT_TYPE_CHANNEL_LAYOUT’ undeclared (first use in this function); did you mean ‘AV_OPT_TYPE_CHLAYOUT’?)



Your message dated Sat, 27 Jul 2024 18:34:22 +0000
with message-id <[🔎] E1sXmFK-00AlG4-Dj@fasolo.debian.org>
and subject line Bug#1076113: Removed package(s) from unstable
has caused the Debian Bug report #1072419,
regarding gpac: FTBFS with ffmpeg 7.0: filters/ff_common.c:777:14: error: ‘AV_OPT_TYPE_CHANNEL_LAYOUT’ undeclared (first use in this function); did you mean ‘AV_OPT_TYPE_CHLAYOUT’?
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.)


-- 
1072419: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072419
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gpac
Version: 2.2.1+dfsg1-3.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):
> gcc -I"/<<PKGBUILDDIR>>/include"  -O2  -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/<<PKGBUILDDIR>>" -fvisibility="hidden" -g   -I/usr/include/aarch64-linux-gnu -c -o filters/ff_avf.o filters/ff_avf.c
> filters/ff_common.c: In function ‘ffmpeg_arg_translate’:
> filters/ff_common.c:777:14: error: ‘AV_OPT_TYPE_CHANNEL_LAYOUT’ undeclared (first use in this function); did you mean ‘AV_OPT_TYPE_CHLAYOUT’?
>   777 |         case AV_OPT_TYPE_CHANNEL_LAYOUT:
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |              AV_OPT_TYPE_CHLAYOUT
> filters/ff_common.c:777:14: note: each undeclared identifier is reported only once for each function it appears in
> filters/ff_common.c: In function ‘ffmpeg_codec_par_from_gpac’:
> filters/ff_common.c:2051:32: error: ‘AVCodecParameters’ has no member named ‘channels’
>  2051 |                 if (p) codecpar->channels = p->value.uint;
>       |                                ^~
> filters/ff_common.c:2065:34: error: ‘AVCodecParameters’ has no member named ‘channels’
>  2065 |                 else if (codecpar->channels==2)
>       |                                  ^~
> filters/ff_avf.c: In function ‘ffavf_process’:
> filters/ff_avf.c:575:45: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   575 |                                 ctx->frame->channel_layout = ipid->ch_layout;
>       |                                             ^~~~~~~~~~~~~~
>       |                                             ch_layout
> filters/ff_avf.c:576:43: error: ‘AVFrame’ has no member named ‘channels’
>   576 |                                 ctx->frame->channels = ipid->nb_ch;
>       |                                           ^~
> filters/ff_common.c:2067:27: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>  2067 |                 codecpar->channel_layout = ffmpeg_channel_layout_from_gpac(ch_layout);
>       |                           ^~~~~~~~~~~~~~
>       |                           ch_layout
> filters/ff_avf.c:720:41: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   720 |                         else if (frame->channel_layout!=opid->ch_layout) {}
>       |                                         ^~~~~~~~~~~~~~
>       |                                         ch_layout
> filters/ff_avf.c:721:39: error: ‘AVFrame’ has no member named ‘channels’
>   721 |                         else if (frame->channels != opid->nb_ch) {}
>       |                                       ^~
> filters/ff_avf.c:727:91: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   727 |                                 u64 gpac_ch_layout = ffmpeg_channel_layout_to_gpac(frame->channel_layout);
>       |                                                                                           ^~~~~~~~~~~~~~
>       |                                                                                           ch_layout
> In file included from filters/ff_common.h:27,
>                  from filters/ff_avf.c:30:
> filters/ff_avf.c:730:116: error: ‘AVFrame’ has no member named ‘channels’
>   730 |                                 gf_filter_pid_set_property(opid->io_pid, GF_PROP_PID_NUM_CHANNELS, &PROP_UINT(frame->channels));
>       |                                                                                                                    ^~
> /<<PKGBUILDDIR>>/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
>  1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
>       |                                                                              ^~~~
> filters/ff_avf.c:736:58: error: ‘AVFrame’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   736 |                                 opid->ch_layout = frame->channel_layout;
>       |                                                          ^~~~~~~~~~~~~~
>       |                                                          ch_layout
> filters/ff_avf.c:737:52: error: ‘AVFrame’ has no member named ‘channels’
>   737 |                                 opid->nb_ch = frame->channels;
>       |                                                    ^~
> filters/ff_common.c: In function ‘ffmpeg_codec_par_to_gpac’:
> filters/ff_common.c:2125:21: error: ‘AVCodecParameters’ has no member named ‘channels’
>  2125 |         if (codecpar->channels) {
>       |                     ^~
> In file included from filters/ff_common.h:27,
>                  from filters/ff_common.c:30:
> filters/ff_common.c:2126:95: error: ‘AVCodecParameters’ has no member named ‘channels’
>  2126 |                 gf_filter_pid_set_property(opid, GF_PROP_PID_NUM_CHANNELS, &PROP_UINT(codecpar->channels));
>       |                                                                                               ^~
> /<<PKGBUILDDIR>>/include/gpac/filters.h:1473:78: note: in definition of macro ‘PROP_UINT’
>  1473 | #define PROP_UINT(_val) (GF_PropertyValue){.type=GF_PROP_UINT, .value.uint = _val}
>       |                                                                              ^~~~
> filters/ff_common.c:2127:31: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>  2127 |                 if (codecpar->channel_layout) {
>       |                               ^~~~~~~~~~~~~~
>       |                               ch_layout
> filters/ff_avf.c: In function ‘ffavf_configure_pid’:
> filters/ff_avf.c:882:45: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
>   882 |                 if (!ch_layout) ch_layout = av_get_default_channel_layout(p->value.uint);
>       |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> filters/ff_common.c:2128:142: error: ‘AVCodecParameters’ has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>  2128 |                         gf_filter_pid_set_property(opid, GF_PROP_PID_CHANNEL_LAYOUT, &PROP_LONGUINT( ffmpeg_channel_layout_to_gpac(codecpar->channel_layout) ));
>       |                                                                                                                                              ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/include/gpac/filters.h:1481:87: note: in definition of macro ‘PROP_LONGUINT’
>  1481 | #define PROP_LONGUINT(_val) (GF_PropertyValue){.type=GF_PROP_LUINT, .value.longuint = _val}
>       |                                                                                       ^~~~
> cc1: some warnings being treated as errors
> make[2]: *** [../config.mak:180: filters/ff_avf.o] Error 1


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

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Version: 2.2.1+dfsg1-3.1+rm

Dear submitter,

as the package gpac has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1076113

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: