[
https://issues.apache.org/jira/browse/GUACAMOLE-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Geiger closed GUACAMOLE-1331.
-----------------------------------
Resolution: Duplicate
> release 1.3.0 Fails to build with ffmpeg 4.4
> --------------------------------------------
>
> Key: GUACAMOLE-1331
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1331
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-server
> Affects Versions: 1.3.0
> Reporter: David Geiger
> Priority: Major
> Attachments: build.x86_64.0.20210420152608.log
>
>
> Hi,
>
> On Mageia Cauldron I tried to build guacamole-server 1.3.0 against new ffmpeg
> 4.4 but it fails to build due to
> {{[av_init_packet|https://github.com/swaywm/wlroots/pull/2799/commits/2aa5e7e763d04ecb2313200bc992bf387e96d473]}}
> now deprecated in ffmpeg 4.4:
>
> {code:java}
> ffmpeg-compat.c:140:5: error: 'av_init_packet' is deprecated
> [-Werror=deprecated-declarations]
> 140 | av_init_packet(&packet);
> | ^~~~~~~~~~~~~~
> In file included from /usr/include/libavcodec/bsf.h:30,
> from /usr/include/libavcodec/avcodec.h:44,
> from video.h:27,
> from ffmpeg-compat.h:24,
> from ffmpeg-compat.c:21:
> /usr/include/libavcodec/packet.h:488:6: note: declared here
> 488 | void av_init_packet(AVPacket *pkt);
> | ^~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:804: guacenc-ffmpeg-compat.o] Error 1
> make[2]: Leaving directory
> '/home/iurt/rpmbuild/BUILD/guacamole-server-1.3.0/src/guacenc'
> make[2]: *** Waiting for unfinished jobs....
> {code}
> Regards,
> David
--
This message was sent by Atlassian Jira
(v8.3.4#803005)