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

Bug#1017181: marked as done (gmerlin-avdecoder: FTBFS: demux_ffmpeg.c:535:45: error: ‘AVCodecParameters’ has no member named ‘bits_per_sample’; did you mean ‘bits_per_raw_sample’?)



Your message dated Wed, 31 Aug 2022 11:48:57 +0000
with message-id <E1oTMDJ-00Eq0r-7C@fasolo.debian.org>
and subject line Bug#1017181: fixed in gmerlin-avdecoder 2.0.0~svn6298~dfsg0-3
has caused the Debian Bug report #1017181,
regarding gmerlin-avdecoder: FTBFS: demux_ffmpeg.c:535:45: error: ‘AVCodecParameters’ has no member named ‘bits_per_sample’; did you mean ‘bits_per_raw_sample’?
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.)


-- 
1017181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017181
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gmerlin-avdecoder
Version: 2.0.0~svn6298~dfsg0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


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  -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__  -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include         -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu          -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o audio_flac.lo audio_flac.c
> demux_ffmpeg.c: In function ‘get_format’:
> demux_ffmpeg.c:187:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   187 |   return av_probe_input_format(&avpd, 1);
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> demux_ffmpeg.c: In function ‘init_audio_stream’:
> demux_ffmpeg.c:535:45: error: ‘AVCodecParameters’ has no member named ‘bits_per_sample’; did you mean ‘bits_per_raw_sample’?
>   535 |     s->data.audio.bits_per_sample = params->bits_per_sample;
>       |                                             ^~~~~~~~~~~~~~~
>       |                                             bits_per_raw_sample
> demux_ffmpeg.c:544:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations]
>   544 |     s->data.audio.block_align = ((map->bits + 7) / 8) * params->channels;
>       |     ^
> In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:314,
>                  from demux_ffmpeg.c:26:
> /usr/include/x86_64-linux-gnu/libavcodec/codec_par.h:172:14: note: declared here
>   172 |     int      channels;
>       |              ^~~~~~~~
> demux_ffmpeg.c:549:3: warning: ‘channels’ is deprecated [-Wdeprecated-declarations]
>   549 |   s->data.audio.format->num_channels = params->channels;
>       |   ^
> /usr/include/x86_64-linux-gnu/libavcodec/codec_par.h:172:14: note: declared here
>   172 |     int      channels;
>       |              ^~~~~~~~
> demux_ffmpeg.c: In function ‘init_video_stream’:
> demux_ffmpeg.c:618:33: error: ‘AVCodecParameters’ has no member named ‘bits_per_sample’; did you mean ‘bits_per_raw_sample’?
>   618 |   s->data.video.depth = params->bits_per_sample;
>       |                                 ^~~~~~~~~~~~~~~
>       |                                 bits_per_raw_sample
> demux_ffmpeg.c: In function ‘next_packet_ffmpeg’:
> demux_ffmpeg.c:872:50: warning: passing argument 3 of ‘av_packet_get_side_data’ from incompatible pointer type [-Wincompatible-pointer-types]
>   872 |                                                  &pal_i_len))
>       |                                                  ^~~~~~~~~~
>       |                                                  |
>       |                                                  int *
> In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316:
> /usr/include/x86_64-linux-gnu/libavcodec/packet.h:604:42: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’
>   604 |                                  size_t *size);
>       |                                  ~~~~~~~~^~~~
> make[3]: *** [Makefile:1594: demux_ffmpeg.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/gmerlin-avdecoder_2.0.0~svn6298~dfsg0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: gmerlin-avdecoder
Source-Version: 2.0.0~svn6298~dfsg0-3
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-avdecoder, 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 1017181@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-avdecoder 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: Wed, 31 Aug 2022 13:08:25 +0200
Source: gmerlin-avdecoder
Architecture: source
Version: 2.0.0~svn6298~dfsg0-3
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: 1009289 1017181
Changes:
 gmerlin-avdecoder (2.0.0~svn6298~dfsg0-3) unstable; urgency=medium
 .
   * Patch to fix FTBFS with FFmpeg-5.1 (Closes: #1017181)
   * Update patch to fix cross-compilation.
     Thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #1009289)
   * Refresh remaining patches
   * Use github for d/watch
Checksums-Sha1:
 fc90a81b9fb7539308a8f1cb5755da9147882812 3008 gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.dsc
 c581ce914774a50b5e866cac5659b234e6e79f18 16056 gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.debian.tar.xz
Checksums-Sha256:
 fb4e4e26bc51122c15835a8e2be5828eb0ee2748de047112932fa07dbdbb9ccb 3008 gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.dsc
 df64a31d1aa737ec67ba2fda6a9d1ffdb7a0daff7143059ec26439f8c6c98f84 16056 gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.debian.tar.xz
Files:
 9b4421b9a7db430c1764676fb115eefa 3008 libs optional gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.dsc
 dfe5763461577cc1100cb321e30fe38d 16056 libs optional gmerlin-avdecoder_2.0.0~svn6298~dfsg0-3.debian.tar.xz

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

iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmMPRJ0ACgkQtlAZxH96
NvjVEw//Rp+7F+MlHpQ0k4Iha35Pbzg9RjtIcgqsrJTZpuZvEqbgbx7BDXzCVPNZ
XKVSUnB64f+MUmRB7LmDP2+IVoHxQF6+JB2gNiQLrO0TyU7Azg8S22r1IR9DsSpZ
m4FCW+ovPdR9hnfXwr3XEFNhV9NI5pX+pEJRI5ZvnEHHY/5PRmsoh/vyZUU+38hD
5CIe4Ex787Au07IifcDU4TpqOWGmjzVm4NyR9J0J8xv7vEyT3JK95VCC8L6n5lhK
dIUF3QIc07SzXawDLrM1ZWhb3TFeb/sYA6+g/4verZEdrSTXEKZ+xN2fBolPdCgk
EEUXnRhTC7n/qITa7xT5Zd6K4RjfmAuqUVaN1TW8cI0NQ6Ai5MwSnrTYe+S9CkIj
QthRgbgwGapGrWifQpBiXXZB6IU+lIsZbw0x101xb+TjghUL+/gKtoi9krFl+gBB
ikTHZkcCCCxp+19dKdLdWsKgxfHHt0AeO02Z/pzXdXoeHccQHkcDGJyQsk7ZNN8y
ac5VNsIj13YD713FbnJ73NIxez1rB5Z9ZpjmATtfWo76fZjqDkyzh3iaeIRooysi
IYZmD0+bfstQoO33zRtKf5XIcra7v0IQ8CQ61VASvBC7QKwc/YpD0AvJQAGnH/AQ
N+BWuxzYYAgcPmVbcF1RM7xwDEFvd0GRv+QGX6dPtgfQfhxUJHY=
=l0m1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: